| 1 | FreeBSD 6.2-RELEASE Installation Instructions |
|---|
| 2 | |
|---|
| 3 | Installation Technique: Manual Install |
|---|
| 4 | |
|---|
| 5 | 1. Login as root, run sysinstall, configure dhcp networking |
|---|
| 6 | |
|---|
| 7 | # sysinstall |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | 2. Add the following /etc/fstab |
|---|
| 11 | |
|---|
| 12 | proc /proc procfs rw 0 0 |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | 3. Reboot to get a network and procfs. Add in some needed packages: |
|---|
| 16 | |
|---|
| 17 | pkg_add -r bash |
|---|
| 18 | ln -s /usr/local/bin/bash /bin |
|---|
| 19 | pkg_add -r gmake |
|---|
| 20 | pkg_add -r sudo |
|---|
| 21 | pkg_add -r python |
|---|
| 22 | pkg_add -r mysql50-server mysql50-client |
|---|
| 23 | pkg_add -r net-snmp |
|---|
| 24 | pkg_add -r patch |
|---|
| 25 | pkg_add -r swig |
|---|
| 26 | pkg_add -r autoconf259 |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | 4. Edit /usr/local/etc/sudoers as per typical Zenoss instructions. I |
|---|
| 30 | normally just uncomment the wheel line with NOPASSWD. |
|---|
| 31 | |
|---|
| 32 | # adduser zenoss |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | 5. Add to zenoss to the wheel group. Use /usr/local/bin/bash as |
|---|
| 36 | shell. Configure snmpd: |
|---|
| 37 | |
|---|
| 38 | # cp /usr/local/share/snmp/snmp.conf.example \ |
|---|
| 39 | /usr/local/etc/snmp/snmpd.conf |
|---|
| 40 | |
|---|
| 41 | Change "localhost" to be "default", "COMMUNITY" to be "public". |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | 6. Add in these lines to rc.conf: |
|---|
| 45 | |
|---|
| 46 | snmpd_enable="YES" |
|---|
| 47 | snmpd_flags="-a -p /var/run/snmpd.pid" |
|---|
| 48 | syslog_enable="NO" |
|---|
| 49 | mysql_enable="YES" |
|---|
| 50 | |
|---|
| 51 | # mkdir /usr/local/zenoss |
|---|
| 52 | # chown -R zenoss /usr/local/zenoss |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | 7. Reboot to start/stop all servers. Login as the zenoss user, |
|---|
| 56 | install zenoss either from the tarball or SVN. If you install from |
|---|
| 57 | svn, you need to add subversion: |
|---|
| 58 | |
|---|
| 59 | # pkg_add -r subversion |
|---|
| 60 | |
|---|
| 61 | 8. Follow the instructions for a source-based svn install. |
|---|
| 62 | |
|---|
| 63 | 9. There's a problem building the nagios plugins. See this |
|---|
| 64 | thread on the Zenoss community web site for fixes: |
|---|
| 65 | |
|---|
| 66 | http://community.zenoss.com/forums/viewtopic.php?p=4314&sid=0dbfb5d7ef70df79c2ee41d4c0de4a51 |
|---|
| 67 | |
|---|
| 68 | 10. There's a problem loading libnetsnmp.so in Zope. The workaround |
|---|
| 69 | is to add this line to the top of the $ZENOSS/bin/zenfunctions |
|---|
| 70 | script: |
|---|
| 71 | |
|---|
| 72 | export LD_PRELOAD=/lib/libcrypto.so.4 |
|---|