Chapter 3. Installing Under Windows
3. Under the ISAPI Filters tab, click Add and browse to the
php4isapi.dll
or
php5isapi.dll
file. Name the filter
"php" and click OK.
4. Under the Documents tab, add
index.php
to the list.
5. Completely stop and start the IIS service using the following commands:
net stop iisadmin
net start w3svc
6. Give the IUSR_XXXX user read and execute permissions to the file
c:\winnt\system32\cmd.exe
.
Install RRDTool
1. Extract the RRDTool zip file to
c:\rrdtool
and copy
c:\rrdtool\src\tool_release\rrdtool.exe
to
c:\rrdtool
.
Install MySQL
1. Extract the MySQL zip file to a temp directory and run
setup.exe
.
2. Install MySQL to the
c:\mysql
directory.
3. Start MySQL by running
c:\mysql\bin\winmysqladmin.exe
.
4. Set a password for the root user
shell
>
cd mysql\bin
shell
>
mysqladmin user=root password somepassword
shell
>
mysqladmin user=root password reload
5. Create the MySQL database:
shell
>
mysqladmin user=root password create cacti
6. Import the default Cacti database:
shell
>
mysql user=root password cacti
<
c:\apache2\htdocs\cacti\cacti.sql
7. Optional: Create a MySQL username and password for Cacti.
shell
>
mysql user=root password mysql
mysql
>
GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
mysql
>
flush privileges;
Install Net SNMP
1. If you plan to use any hosts with SNMP v2c support, you must download and install the
Net SNMP
libraries.
Net SNMP
provides installers to install their product. However, caution must be taken not to use long file
names as Cacti does not support them in this version. We suggest you install
Net SNMP
in a directory such as
c:\net snmp
.
Install Cactid
1. Extract the Cactid zip file to
c:\cactid
and modify the
cactid.conf
file to include the following statements.
DB_Host IP_Address or Hostname (not localhost)
DB_Database cacti
DB_User cactiuser
DB_Password cacti
All other pre 0.8.6 settings are obsolete. Cactid may not complain if you leave them in, but they are not longer
required. Cactid now comes with a binary distribution. Therefore, a full installation of
Cygwin
is not longer
required.
2. If you either have
Cygwin
installed, or plan on installing it, remove the 3 DLL files and the SH.EXE file from the
c:\cactid
directory.
Install Cacti
4
<
New Page 1
Php Mysql Web Hosting