Archive

Archive for September, 2008

Install CVSup Server

September 11, 2008 Hans 2 comments

Pertama kita install cvsup-without-gui yang merupakan dependensi dari program cvsup-mirror server yang akan kita install, walaupun pada FreeBSD sudah ada program  csup yang sudah terinstall secara default, kita harus menginstall program ini, karena alasa  diatas , yakni dependensi:

# cd /usr/ports/net/cvsup-without-gui # make install clean

selanjutnya kita akan menginstall cvsup-mirror yang berfungsi sebagai server mirror / CVSup Server

# make install clean

# cd /usr/ports/net/cvsup-mirror

pada saat install anda akan ditanya tentang master site untuk di mirror :

Master site for your updates [cvsup-master.freebsd.org]? cvsup2.jp.freebsd.org How many hours between updates of your files [1]? 1

Pada saat ditanyakan cvsup server, sebaiknya anda memasukkan mirror FreeBSD CVSup server terdekat, untuk mencari cvsup terdekat anda dapat melihat dokumentasi di post saya  berikut. Selanjutnya anda akan ditanyakan lagi :

Do you wish to mirror the main source repository [y]? y Where would you like to put it [/home/ncvs]? [tekan enter]

keterangan : source repository = FreeBSD Source Code yang biasanya ada di /sys/src/

Do you wish to mirror the installed World Wide Web data [y]? n Do you wish to mirror the GNATS bug tracking database [y]? n Do you wish to mirror the mailing list archive [y]? n

sebaiknya ketiga pilihan diatas dipilih no, kecuali jika anda memiliki harddisk space yang besar dan bandwidth yang besar pula.

Unique unprivileged user ID for running the client [cvsupin]?

Unique unprivileged group ID for running the client [cvsupin]?

Unique unprivileged user ID for running the server [cvsup]?

Unique unprivileged group ID for running the server [cvsup]?

Syslog facility for the server log [daemon]?

Maximum simultaneous client connections [8]?

Would you like me to set up your crontab for hourly updates [y]? y

setelah selesai anda harus memasukkan servis cvsupd_enable=”YES” kedalam /etc/rc.conf agar system mengeksekusi nya saat system booting…

# echo ‘cvsupd_enable=”YES”‘ >> /etc/rc.conf

kemudian tambahkan line

src-all      release=cvs     prefix=prefixes/FreeBSD.src/ ports-all    release=cvs     prefix=prefixes/FreeBSD.ports

di /usr/local/etc/cvsup/supfile Untuk menjalankan servis cvsupd server ini anda dapat melakukan command berikut :

# /usr/local/etc/rc.d/cvsupd start

Categories: FreeBSD Tags: , , , ,

Makes Your FreeBSD’s Daemon Loader Colourful

September 1, 2008 Hans 2 comments

You can make the daemon showed in the FreeBSD Loader colourful, try this guide….

log in as root…. then edit file in /boot/loader.conf with your favourite editor…

in this guide i use the echo command, so it doesn’t need to open the file with text editor…

# echo ‘loader_logo=”beastie”‘ > /boot/loader.conf

actually the default value for this syntax is ‘beastiebw’ – beastie black and white. You can also change this to another option like fbsdbw, fbsd…

Another option that i usually insert in loader.conf is the time-delay when freebsd show the loader… i think 10 seconds is slow for me…. so i want decrease it…

# echo ‘autoboot_delay=”3″‘ > /boot/loader.conf

with this option i will get my BSD box come up quicker….

Categories: FreeBSD Tags: , , , , ,