kill -HUP `cat /var/run/sshd.pid`
export PKG_PATH=ftp://repo.ugm.ac.id/openbsd/4.4/packages/
pkg_add -iv nama_paket (interactive, verbose)
route show | grep default
atau
netstat -rnf inet | grep default
Interface
/etc/hostname.vr0 (sample)
Gateway
/etc/mygate
route -n show -inet
atau
netstat -rn
File konfigurasi DNS resolution terdapat pafa file /etc/resolve.conf, contoh isi file resolver
nameserver 172.xx.xx.xx
ps ax | grep process_name | awk '{print$1}' | xargs kill -9
pkg_add -iv ifstat
Untuk melihat report gunakan perintah berikut
ifstat -TAb 5
swapctl -l
Set arp statis on network interface
arp -s 10.xx.xx.xx 00:0b:6a:xx:xx:xx:xx permanent
pkg_add -ui -F update -F updatedepends
openbsd terminal type
vt100
/sbin/pfctl -f /etc/pf.conf && sleep 160 && /sbin/pfctl -d
pkg_add -iv libstatgrab
Untuk menjalankan
/usr/local/bin/saidar
pkg_add -iv ifstat
untuk menjalankan
ifstat -i rl0 -TAb 5
pkg_add -iv mariadb-serber mkdir /var/mysql chown -R _mysql:_mysql /var/mysql mysql_install_db --user=_mysql --ldata=/var/lib/mysql/ mysql_install_db /etc/rc.d/mysqld /usr/local/bin/mysql_secure_installation