S.M.A.R.T. (Self-Monitoring hdd, Analysis, and Reporting Technology). This monitoring system support practically all hdd disks. You have to install smartmontools for working with smart on FreeBSD. I suggest you have alredy installed it. #smartctl -a /dev/ad1 This command show you many various indicatos about your disk (rate of hardware read errors, count of reallocated sectors, [...]
Posted on August 17th, 2010 by admin
Filed under: Software | Comments Off
I suppose you have already installed awstats statistic, GeoIP plagin etc.. change default script which update database file about countries (GeoIP.dat): # vim /usr/local/bin/geoipupdate.sh #!/bin/sh cd /tmp fetch http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz fetch http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz fetch http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz gunzip GeoIP.dat.gz gunzip GeoLiteCity.dat.gz gunzip GeoIPASNum.dat.gz mv -f GeoIP.dat /usr/local/share/GeoIP/ mv -f GeoLiteCity.dat /usr/local/share/GeoIP/ mv -f GeoIPASNum.dat /usr/local/share/GeoIP/ I mark string wich [...]
Posted on June 15th, 2010 by admin
Filed under: Software | Comments Off
Ncftp is good ftp client for freebsd – install ncftp freebsd: #cd /usr/ports/ftp/ncftp3 && make install clean #rehash create ftp config file: #touch /home/config/ftp.conf – add information about ftp-server to /home/config/ftp.conf: host ftp.howtobsd.com user ftpuser pass ftpfassword and finally wonderful command: ncftpput -f /home/anton/ftp.conf /backups /backup/forupload/* /home/anton/ftp.conf- is ftp-connection information /backups – folder on ftp-server [...]
Posted on June 1st, 2010 by admin
Filed under: Software | Comments Off
Fsbackup is a good and simple freebsd backup software for backuping your information. When you finish read this article you will be able to backup on freebsd your data automatically on the local directory or remote ftp server. 1.First of all we are going to install port fsbackup: #cd /usr/ports/sysutils/fsbackup && make install clean this [...]
Posted on June 1st, 2010 by admin
Filed under: Software | Comments Off
The following solution update php5-* without portupgrade “php5-*” For example if you lose db with information about installed ports There is a simple solution to deinstal\reinstall\install extention php5 I suppose you’ve already installed (updated) php5. create script: #touch php5_update.sh #vim php5_update.sh and past this: #!/bin/sh grep -oE ‘=[a-z]+’ /usr/local/etc/php/extensions.ini | \ sed -E ‘s/^./php5-/’ | [...]
Posted on May 28th, 2010 by admin
Filed under: Software | Comments Off
It’s can be useful, when you current hard drive disk too small or going out of order. I’ve moved my FreeBSD system with this simple method twice. At last I’ve moved System from production server. New hdd has added in software RAID-1 and work correct.So, I think you won’t have some kind of problem. Any [...]
Posted on May 4th, 2010 by admin
Filed under: Software | Comments Off
freebsd geom mirror howto I did RAID-1 on the FreeBSD 7.1-RELEASE with two identical HDD – WD15EARS (1,5Tb) I think you can use any hhd on condition that firs device have to be smoller size than second. in my case: – FreeBSD detect it as ad10 and ad16 – System has been installed in ad10 [...]
Posted on April 10th, 2010 by admin
Filed under: Software | Comments Off
I suppose apache, mysql-server alredy installed and working properly. if ruby hasn’t installed yet: # cd /usr/ports/lang/ruby18/ # make install clean install rails x.x.x: # cd /usr/ports/www/rubygem-rails # make install clean install mysql gem: # /usr/local/bin/gem install mysql install passenger: # cd /usr/ports/www/rubygem-passenger # make install clean in apache config(httpd.conf): # For ruby (passenger) LoadModule [...]
Posted on April 1st, 2010 by admin
Filed under: Software | 6 Comments »
It’s also possible for create copyes svn repositoryes or create svn backups. $svnadmin dump /svnroot/repository > name.dmp After that you can compress dump file and get it to your server where you want create copy of you repository. Create a new repository: $svnadmin create /svnroot/repository import dump in new repository $svnadmin load /svnroot/repository < name.dmp [...]
Posted on March 17th, 2010 by admin
Filed under: Software | Comments Off
Article in a nutshell describes installation and configuration Munin on FreeBSD. With munin you can monitor your servers very easy. Munin also presents output information in graphs through a web interface. Install munin-main (Munin Collector): # whereis munin-main munin-main: /usr/ports/sysutils/munin-main # cd /usr/ports/sysutils/munin-main # make install clean Install munin-node: # whereis munin-node munin-node: /usr/ports/sysutils/munin-node # [...]
Posted on January 23rd, 2010 by admin
Filed under: Software | Comments Off