Monitoring port 2222 :

netstat -an | grep 2222
or sockstat -L4p 2222

Restart rc.conf tanpa reboot server

/etc/netstart

Portsnap

Download a compressed snapshot of the Ports Collection into /var/db/portsnap. You can disconnect from the Internet after this step, if you wish.
# portsnap fetch

If you are running Portsnap for the first time, extract the snapshot into /usr/ports:
# portsnap extract

If you already have a populated /usr/ports and you are just updating, run the following command instead:
# portsnap update

 

Restart ssh Service

# ./etc/rc.d/sshd restart

Cek list out date pkg

 # pkg_version -v

You can disable sendmail by adding a line to /etc/rc.conf (FreeBSD 10)

sendmail_enable=”NONE”

Upgrade port menggunakan Portmaster

Cek installed port dan search update

# portmaster -L

Upgrade installed port

# portmaster -a

Ketika upgrade menemukan error gunkakan -f

# portmaster -af

Semoga membantu 😀