Chapter 3. Installing Under Windows
1. Extract the Cacti distribution archive. These instructions will assume that the archive has been extracted to
C:\Apache\htdocs\cacti
, although you can use a different path if you wish. Make sure you extract with "Use
folder names" enabled, so that the necessary sub folders will be used.
2. Edit
include/config.php
and specify the MySQL user, password and database for your Cacti configuration.
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
3. You are going to need to schedule a task so
poller.php
can run every 5 minutes. Make sure the Task Scheduler
service is started and follow the steps below to begin.
Note: The following instructions are based on Windows XP and Windows Server 2003. You should be able to
follow these instructions close enough for Windows 2000 as well.
a. Select Start   > Settings   > Control Panel and double click on Scheduled Tasks.
b. Double click on Add Scheduled Task.
c. Click Next and Browse on the following screen. Find
c:\php
and select
php.exe
. If using PHP 5, use
php win.exe
instead. Choose Daily on and click Next.
d. Click Next again without changing the time or date settings.
e. When entering a username and password make sure the user has read and write access to the following
directories:
c:\apache2\htdocs\cacti\rra
c:\apache2\htdocs\cacti\log
Make sure the user has read, write, and execute access to the following directories:
c:\php
c:\php\sapi
f. Click Next and Finish to close the wizard.
g. Right click on the task you just created, and select Properties.
h. Select the Schedule tab.
i. Make sure Daily is selected and click the Advanced button.
j. Check the Repeat checkbox, set it for 5 minutes and set the duration for 24 hours.
k. Click Ok
l. In the Run textbox enter the following text making sure to use the appropriate paths.
c:\php\php.exe c:\mycacti\website\cacti\poller.php
The start in box should say
c:\mycacti\website\cacti
.
4. Point your web browser to:
http://your server/cacti/
Log in the with a username of admin and password of admin. You will be required to change this password
immediately.
Once logged in, you must go to Settings >Paths and verify/update your paths to point to the correct locations.
Recommended examples are posted below.
PHP Binary Path:
If using PHP 4, you should change this to:
c:\php\php.exe
If using PHP 5, you should change this to:
c:\php\php win.exe
RRDTool Binary Path:
5
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Php Mysql Web Hosting