|
|
| (2 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| ==Stuff done while setting up the multi-purpose server, fourty-two.==
| |
|
| |
|
| * Basic FreeBSD 6.1-Release (Needs to be upgraded to 6.2)
| |
| ** Two users: root (secure password), admin (insecure). Both using Bash.
| |
| ** Enable both NICs: 159.28.230.96 (0), 192.168.0.42 (1).
| |
| ** Setup partitions. Need to look into logical partitions. 2T of space still unused.
| |
| *** /tmp: 500M
| |
| *** /usr: 5G
| |
| *** /var: 3G
| |
| *** /backup: 260G
| |
| ** Bash
| |
| ** SSHD
| |
| ** Sudo
| |
| ** Put admin user in group "wheel" and give wheel full sudo permissions in the sudoers file (using visudo).
| |
| * rsnapshot
| |
| ** Public ssh keys for root users between Quark and Fourty-two.
| |
| ** Edit /usr/local/etc/rsnapshot.conf. (White space is "tab" not "space." Applies to all of rsnapshot.conf.)
| |
| *** <tt>backup root@quark:/clients quark/
| |
| *** snapshot_root /backup/
| |
| *** cmd_ssh /usr/bin/ssh
| |
| *** #backup /home/ localhost/
| |
| *** #backup /etc/ localhost/
| |
| *** #backup /usr/local/ localhost/</tt>
| |
| ** Add cron job for rsnapshot to run peridically.
| |
| * wget
| |
| * Nagios
| |
| ** <tt>sudo portupgrade -N nagios</tt>
| |
| ** Copy cfgs from babbage:/usr/local/etc/nagios into fourty-two:/usr/local/etc/nagios/old-cfgs
| |
| ** Copy cfgs from nagios/old-cfgs to nagios/
| |
| ** Check cfgs: <tt>sudo nagios -v /usr/local/etc/nagios/nagios.cfg
| |
| ** Modify old config files to account for new version of nagios (was 1.x on Babbage, now using 2.0 on 42):
| |
| ***
| |
| * Apache 2.2
| |
| ** <tt>sudo portupgrade -N apache</tt>
| |
| *** No to all except "apache2.2"
| |