上QQ阅读APP看书,第一时间看更新
The database and some other special configuration tasks are done by editing the information in the config.php
file.
You changed the database configuration for Cacti to the username and password that you created earlier. These settings will tell Cacti where to find the database and what credentials it needs to use to connect to it. You also changed the default URL path to fit your installation. As you install Cacti to /var/www/html/cacti
, a sub-directory of the document root, you need to change this setting to /cacti/
, otherwise Cacti will not work correctly.