root/branches/zenoss-2.0.x/inst/docs/INSTALL_FreeBSD62.txt

Revision 5668, 1.8 kB (checked in by ecn, 18 months ago)
* instructions for getting zenoss to install/run on FreeBSD 6.2
Line 
1FreeBSD 6.2-RELEASE Installation Instructions
2
3Installation Technique: Manual Install
4
51.  Login as root, run sysinstall, configure dhcp networking
6
7   # sysinstall
8
9
102.  Add the following /etc/fstab
11
12        proc     /proc     procfs     rw     0     0
13
14
153.  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
294.  Edit /usr/local/etc/sudoers as per typical Zenoss instructions.  I
30normally just uncomment the wheel line with NOPASSWD.
31
32  # adduser zenoss
33 
34
355.  Add to zenoss to the wheel group. Use /usr/local/bin/bash as
36shell.  Configure snmpd:
37
38    # cp /usr/local/share/snmp/snmp.conf.example \
39         /usr/local/etc/snmp/snmpd.conf
40
41Change "localhost" to be "default", "COMMUNITY" to be "public".
42
43
446.  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
557.  Reboot to start/stop all servers. Login as the zenoss user,
56install zenoss either from the tarball or SVN.  If you install from
57svn, you need to add subversion:
58
59    # pkg_add -r subversion
60
618.  Follow the instructions for a source-based svn install.
62
639.  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
6810. 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
Note: See TracBrowser for help on using the browser.