|
Installation du front-office zabbix (en php) |
1. Change these values in frontends/php/include/db.inc.php:
$DB_TYPE =”POSTGRESQL”; /* Or “MYSQL” for MySQL */ $DB_SERVER =”localhost”; $DB_DATABASE =”zabbix”; $DB_USER =””; $DB_PWD =””
2. Copy the PHP source files to a place where your web server can get to it. Perhaps /home/zabbix/html or /home/zabbix/public_html or /var/www/html/zabbix, etc.
For example:
shell> mkdir /home/zabbix/html shell> cp -R frontends/php/* /home/zabbix/html/
Once your ZABBIX installation is complete, you will need to configure ZABBIX. Point your web browser to the location you installed the PHP scripts to. (For example, if you copied the PHP files to /home/zabbix/public_html or /home/zabbix/html, point your browser to http://localhost/~zabbix.
Once there, click on the CONFIG link. You will be prompted for a username and password. ZABBIX comes pre-configured with an administrative account: Enter the username Admin and leave the password field empty.
Add the configuration of your SMTP server of choice.
Next, click on the “USERS” link. Add yourself to list of ZABBIX users. Don’t forget to add “read/write” and “add” default permissions to the user. After you create your account, click the “Media” link beside your account listing, and add your email address.
Next, specify a password for the default Admin user. |