Linux Inspirations

Optimasi Server FreeBSD

Posted by: yonaldi on: 7 Februari, 2010

Edit file /etc/rc.conf, tambahkan baris berikut :

usbd_enable="NO"
background_fsck="NO"
update_motd="NO"
syslogd_flags="-ss"
accounting_enable="YES"
clear_tmp_enable="YES"
nfs_reserved_port_only="YES"

Edit file /boot/loader.conf, tambahkan baris berikut :
autoboot_delay="3"
kern.ipc.maxsockets=16384

Edit file /etc/sysctl.conf, tambahkan baris berikut :
security.bsd.see_other_uids=0
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
kern.ipc.somaxconn=2048
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0
net.inet.ip.redirect=0
kern.maxfiles=112328
kern.maxfilesperproc=31095
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=1
net.inet.icmp.icmplim_output=0
net.inet.tcp.msl=3000
vfs.read_max=64
vfs.lorunningspace=6291456
vfs.hirunningspace=12388608
vfs.ufs.dirhash_maxmem=38554432

Aktifkan seluruh konfigurasi dengan me-reboot mesin :
server# reboot

Source Aslinya : http://www.devilian.net/2009/09/optimasi-server-freebsd/

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

ABout Me!


WordPress ini sengaja saya buat untuk menulis apa yang telah saya lakukan agar saya selalu ingat, tulisan yang saya buat kebanyakan dalam bentuk tutorials configurasi linux dari hasil uji coba saya dan sebahagian di kutip dari beberapa website lain yang saya anggap perlu untuk saya tulis disini. Mudah-mudahan tutorial yang saya buat ini berguna buat pencinta linux yang lain. Salam Sejahtera.

Blog Stats

  • 81,689 hits

Linux Inspiration

Ikuti

Get every new post delivered to your Inbox.