Mount ISO image di FreeBSD
Mau Install salah satu aplikasi lewat port tapi lagi ngak bisa ke internet, yah akhirnya perlu mount CD ISO image Freebsd aja biar cepet. Read the rest of this entry »
Amankan Freebsd dari Serangan Bruteforce
Saat ini sering sekali saya mendapat serangan bruteforce ke service ssh dan ftp hampir di semua server internet. Barusan nemu tools yang lumayan bagus untuk menangkal serangan ini, namanya Bruteblock. Read the rest of this entry »
Installasi FreeBSD, Compile kernel dan SQUID
Install FreeBSD di HDD SATA saya dengan kapasitas 120G, dengan pastisi :
Filesystem Size Used Avail Capacity Mounted on Read the rest of this entry »
WP-Syntax Editor Integration Plugin
Untuk memberikan warna terhadap sintak2 php, bash, dll, pada halaman wordpress kita, cara sangat mudah cukup install-kan 2 plugin dibawah ini : Read the rest of this entry »
Optimasi Server FreeBSD
Edit file /etc/rc.conf, tambahkan baris berikut :
1 2 3 4 5 6 7 | 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 :
2 3 | autoboot_delay="3" kern.ipc.maxsockets=16384 |
Edit file /etc/sysctl.conf, tambahkan baris berikut :
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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




