You need to be Payday Loans UK Why would you

S.M.A.R.T. for FreeBSD (smartmontools)

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, [...]

How to append Cityes statistic in awstats (GeoLiteCity)

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 [...]

Ncftp – ftp client for freebsd(ncftpput).

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 [...]

Backup freebsd howto with fsbackup

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 [...]

Update php5-* without portupgrade “php5-*”

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-/’ | [...]

How to move FreeBSD system from one hdd to another.

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 [...]

Software RAID-1 on FreeBSD gmirror howto

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 [...]

Installing Ruby on Rails on FreeBSD

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 [...]

How to movie a Subversion Repository to Another Server.

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 [...]

Monitoring FreeBSD servers by the use of Munin

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 # [...]