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 '' | ||
+ | |||
+ | < | ||
+ | freebsd-update -r 9.0-RELEASE upgrade | ||
+ | freebsd-update -r 9.0-RELEASE install | ||
+ | reboot | ||
+ | freebsd-update -r 9.0-RELEASE install | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Services ==== | ||
+ | |||
+ | * Add postfix to startup | ||
+ | * Add httpd module to be loaded from kernel | ||
+ | * Start SSH, Apache in rc.conf | ||
+ | |||
+ | == DenyHosts == | ||
+ | |||
+ | < | ||
+ | echo denyhosts_enable=YES >> / | ||
+ | </ | ||
+ | |||
+ | Add to ''/ | ||
+ | |||
+ | < | ||
+ | sshd : / | ||
+ | sshd : ALL : allow | ||
+ | </ | ||
+ | |||
+ | Create file: | ||
+ | |||
+ | < | ||
+ | touch / | ||
+ | </ | ||
+ | |||
+ | Warning: | ||
+ | |||
+ | syslogd should ideally be run with the '' | ||
+ | denyhosts notices multiple repeated login attempts. | ||
+ | |||
+ | To do this, add '' | ||
+ | |||
+ | |||
+ | ==== Research ==== | ||
+ | |||
+ | Add these files to '' | ||
+ | |||
+ | * sysutils/ | ||
+ | * sysutils/ | ||
+ | |||
+ | Need: | ||
+ | |||
+ | * firewall | ||
+ | * backup-manager | ||
+ | * Automated way to install kernel sources, mount linuxproc for htop | ||
+ | * install PEAR |