Skip to content


Optimasi Server FreeBSD

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
Share

Posted in FreeBSD.

Tagged with .

The On Demand Global Workforce - oDesk


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Tri Harnoko says

    info nya mantab bgt bro…!!!
    thx yaaa udah mau sharing ilmu

    regards,



Some HTML is OK

or, reply to this post via trackback.