5 useradd -g zabbix -d /var/lib/zabbix/home zabbix -m
6 chown -R zabbix:zabbix /var/log/zabbix /etc/zabbix /usr/share/zabbix /srv/http/zabbix /var/run/zabbix
8 echo "-------------------------------------------------------------------------------------"
9 echo "Manual post-installation steps:"
10 echo "-------------------------------------------------------------------------------------"
11 echo "1) Create a PostgreSQL user and database"
12 echo "shell> psql -U <username>"
13 echo "psql> create database zabbix;"
15 echo "2) Load the schema into the database you created"
16 echo "shell> cd create/schema"
17 echo "shell> cat postgresql.sql | psql -U <username> zabbix "
18 echo "3) Configure /etc/zabbix/zabbix_proxy.conf"
19 echo "4) Start zabbix-proxy"
20 echo "5) Go to http://localhost/zabbix and follow the setup process"
21 echo "-------------------------------------------------------------------------------------"
22 echo "For more information see http://www.zabbix.com/documentation.php"
23 echo "-------------------------------------------------------------------------------------"
28 rm -rf /var/lib/zabbix
29 rm -rf /var/run/zabbix