Differences

This shows you the differences between two versions of the page.


freebsd_deployment [2015/06/01 22:15] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== FreeBSD Deployment ======
  
 +  * [[FreeBSD]]
 +  * [[FreeBSD Install]]
 + 
 +==== System Upgrade ====
 +
 +  * [[FreeBSD Release Upgrade]]
 +  * [[freebsd-update]]
 +
 +Upgrade to the latest ''RELEASE'' of FreeBSD:
 +
 +<code>
 +freebsd-update -r 9.0-RELEASE upgrade
 +freebsd-update -r 9.0-RELEASE install
 +reboot
 +freebsd-update -r 9.0-RELEASE install
 +</code>
 +
 +
 +==== Services ====
 +
 +  * Add postfix to startup
 +  * Add httpd module to be loaded from kernel
 +  * Start SSH, Apache in rc.conf
 +
 +== DenyHosts ==
 +
 +<code>
 +echo denyhosts_enable=YES >> /etc/rc.conf
 +</code>
 +
 +Add to ''/etc/hosts.allow'':
 +
 +<code>
 +sshd : /etc/hosts.deniedssh : deny
 +sshd : ALL : allow
 +</code>
 +
 +Create file:
 +
 +<code>
 +touch /etc/hosts.deniedssh
 +</code>
 +
 +Warning:
 +
 +syslogd should ideally be run with the ''-c'' option; this will ensure that
 +denyhosts notices multiple repeated login attempts.
 +
 +To do this, add ''syslogd_flags=-c'' to ''/etc/rc.conf''
 +
 +
 +==== Research ====
 +
 +Add these files to ''ports'' lists if needed:
 +
 +  * sysutils/logrotate
 +  * sysutils/syslog-ng
 +
 +Need:
 +
 +  * firewall
 +  * backup-manager
 +  * Automated way to install kernel sources, mount linuxproc for htop
 +  * install PEAR

Navigation
QR Code
QR Code freebsd_deployment (generated for current page)