|
Revision 3603, 1.5 kB
(checked in by chris, 23 months ago)
|
|
syslog_enable was defined twice for some strange reason
|
| Line | |
|---|
| 1 | FreeBSD 6.1-RELEASE Installation Instructions |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | Installation Technique: Manual Install |
|---|
| 5 | |
|---|
| 6 | 1. Login as root, run sysinstall, configure dhcp networking |
|---|
| 7 | |
|---|
| 8 | # sysinstall |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | 2. Add the following /etc/fstab |
|---|
| 12 | |
|---|
| 13 | proc /proc procfs rw 0 0 |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | 3. Reboot to get a network and procfs. Add in some needed packages: |
|---|
| 17 | |
|---|
| 18 | pkg_add -r bash |
|---|
| 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 | |
|---|
| 26 | Or, install portinstall, and install the needed packages via the ports |
|---|
| 27 | system (which will also automatically resolve any dependencies): |
|---|
| 28 | ie: |
|---|
| 29 | portinstall -R <bash> |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | 4. Edit /usr/local/etc/sudoers as per typical Zenoss instructions. I |
|---|
| 33 | normally just uncomment the wheel line with NOPASSWD. |
|---|
| 34 | |
|---|
| 35 | # adduser zenoss |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | 5. Add to zenoss to the wheel group. Use /usr/local/bin/bash as |
|---|
| 39 | shell. Configure snmpd: |
|---|
| 40 | |
|---|
| 41 | # cp /usr/local/share/net-snmp.conf.example \ |
|---|
| 42 | /usr/local/etc/snmp/snmpd.conf |
|---|
| 43 | |
|---|
| 44 | Change "localhost" to be "default", "COMMUNITY" to be "public". |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | 6. Add in these lines to rc.conf: |
|---|
| 48 | |
|---|
| 49 | snmpd_enable="YES" |
|---|
| 50 | snmpd_flags="-a -p /var/run/snmpd.pid" |
|---|
| 51 | syslog_enable="NO" |
|---|
| 52 | mysql_enable="YES" |
|---|
| 53 | |
|---|
| 54 | # mkdir /usr/local/zenoss |
|---|
| 55 | # chown -R zenoss /usr/local/zenoss |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | 7. Reboot to start/stop all servers. Login as the zenoss user, |
|---|
| 59 | install zenoss either from the tarball or SVN. If you install from |
|---|
| 60 | svn, you need to add subversion: |
|---|
| 61 | |
|---|
| 62 | # pkg_add -r subversion |
|---|
| 63 | |
|---|
| 64 | Again, you can use portinstall -R to resolve dependencies (and sub- |
|---|
| 65 | version has a few) |
|---|
| 66 | |
|---|