| 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 ln -s /usr/local/bin/bash /bin pkg_add -r gmake pkg_add -r sudo |
|---|
| 18 | pkg_add -r python pkg_add -r mysql50-server mysql50-client pkg_add -r net-snmp |
|---|
| 19 | pkg_add -r patch pkg_add -r swig pkg_add -r autoconf259 |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | 4. Edit /usr/local/etc/sudoers as per typical Zenoss instructions. I normally |
|---|
| 23 | just uncomment the wheel line with NOPASSWD. |
|---|
| 24 | |
|---|
| 25 | # adduser zenoss |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | 5. Add to zenoss to the wheel group. Use /usr/local/bin/bash as shell. |
|---|
| 29 | Configure snmpd: |
|---|
| 30 | |
|---|
| 31 | # cp /usr/local/share/snmp/snmp.conf.example \ /usr/local/etc/snmp/snmpd.conf |
|---|
| 32 | |
|---|
| 33 | Change "localhost" to be "default", "COMMUNITY" to be "public". |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | 6. Add in these lines to rc.conf: |
|---|
| 37 | |
|---|
| 38 | snmpd_enable="YES" snmpd_flags="-a -p /var/run/snmpd.pid" syslog_enable="NO" |
|---|
| 39 | mysql_enable="YES" |
|---|
| 40 | |
|---|
| 41 | # mkdir /usr/local/zenoss # chown -R zenoss /usr/local/zenoss |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | 7. Reboot to start/stop all servers. Login as the zenoss user, install zenoss |
|---|
| 45 | either from the tarball or SVN. If you install from svn, you need to add |
|---|
| 46 | subversion: |
|---|
| 47 | |
|---|
| 48 | # pkg_add -r subversion |
|---|
| 49 | |
|---|
| 50 | 8. Follow the instructions for a source-based svn install. |
|---|
| 51 | |
|---|
| 52 | 9. There's a problem building the nagios plugins. See this thread on the |
|---|
| 53 | Zenoss community web site for fixes: |
|---|
| 54 | |
|---|
| 55 | http://community.zenoss.com/forums/viewtopic.php?p=4314&sid= |
|---|
| 56 | 0dbfb5d7ef70df79c2ee41d4c0de4a51 |
|---|
| 57 | |
|---|
| 58 | 10. There's a problem loading libnetsnmp.so in Zope. The workaround is to add |
|---|
| 59 | this line to the top of the $ZENOSS/bin/zenfunctions script: |
|---|
| 60 | |
|---|
| 61 | export LD_PRELOAD=/lib/libcrypto.so.4 |
|---|