Installation Instructions:
1, Cacti-can be decompressed to the Wwwroot directory or installed separately in the "Cacti" subdirectory.
2, Spine-Unzip to the C:\CACTI directory. You need to confirm that spine.conf.dist exists in this directory.
3, RRDTool-installed in the C:\CACTI directory.
4,PHP 5.6.11-installed in the c:\php directory.
5,MySQL 5.6.24-i installed in the default directory.
6,
7, ( optional) Net-snmp-installed in directory.
First unzip the cacti-0.8.8e.zip and copy the extracted files to the C:\cacti directory.
configure PHP
1, establish the c:\php directory, and extract the Php-5.6.11-nts-win32-vc11-x64.zip files into this directory
2, the c:\php and the The c:\php\extras\mibs directory is added to the system variable, as shown in:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/CA/wKiom1Woe9biEcP4AAOLoTILkJk467.jpg "title=" 123. PNG "alt=" wkiom1woe9biecp4aaolotilkjk467.jpg "/>
3. Rename the file c:\php\php.ini-development to php.ini, and uncomment the following line.
Extension_dir = C:\php\extextension=php_mysql.dllextension=php_snmp.dllextension=php_sockets.dllcgi.force_ REDIRECT = 0
4. If you want to import a template, uncomment the following line (this is the default and does not need to be changed):
File_uploads = On
Configure IIS
1, with Phpmanager the simplest, so apply this tool, install phpmanagerforiis-1.2.0-x64, after installation is completed as follows
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/CA/wKioL1Woo9fglWLmAAMdqIUStDI008.jpg "title=" 22.png "alt=" wkiol1woo9fglwlmaamdqiustdi008.jpg "/>2, open Phpmanager, click on" Register new PHP Version ", Then select the Php-cgi.exe in the PHP directory. Click "Check phpinfo ()" When finished and the Phpinfo page will appear, as
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/CD/wKiom1WoqO3CPnteAAQnAgH15-s394.jpg "title=" 333. PNG "alt=" wkiom1woqo3cpnteaaqnagh15-s394.jpg "/>
If there is a yellow astringent (haha, sensitive word) warning, allow
If there is an exception, you can enter the PHP directory at the command prompt
CD c:\php
And then enter
Php-v
If this is the prompt:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/CA/wKioL1Woq46Rdq0EAALBBvi5hdk915.jpg "title=" 444. PNG "alt=" wkiol1woq46rdq0eaalbbvi5hdk915.jpg "/>
In general, the main reason for this problem is the configuration of the C:\windows\php.ini file, you can refer to the PHP configuration, verify that the php.ini configuration is correct
If you are prompted to lose MSVCR110.DLL, this is the Microsoft Visual C + + Redistributable 2012 Runtime issue, install this runtime (Vcredist_x64.exe)
3, in the Default Web site, add the application, the C:\cacti directory added in
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/CE/wKiom1WotcDRWfRtAALt2xgaR_U556.jpg "title=" 555. PNG "alt=" wkiom1wotcdrwfrtaalt2xgar_u556.jpg "/>
4. Run IISReset restart Internet service
Installing RRDTool
Unzip the Rrdtool.exe in the Rrdtool-1.2.15-cygwin-1.5.20.zip to the C:\cacti directory
Install MySQL
1. Unzip Rrdtool-1.2.15-cygwin-1.5.20.zip and run the installer, change My-default.ini to My.ini
2, after installation, if the service does not exist, use the following command to register, and then start the MySQL service
C:\mysql\bin>mysqld--install
3. Set the SQL password and make it effective
c:\> mysqladmin--user=root password somepasswordc:\> mysqladmin--user=root--password Reload
4. Configuring the Cacti Database
First, create a database
c:\> mysqladmin--user=root--password Create cacti
Second, import cacti database
c:\> MySQL--user=root--password cacti < C:\Inetpub\wwwroot\cacti\cacti.sql
Third, create a MySQL username and password for the cacti database
c:\> MySQL--user=root--password mysqlmysql> GRANT all on cacti.* to [e-mail protected] identified by ' CACTIPW '; mysq l> flush Privileges;
These steps wood have to do that some of the comrades own reference AH
Launch the MySQL Instance Configuration Wizard
Select detailed Configuration
Select Server Machine
Select non-transactional Database only
Select Online Transaction processing (OLTP)
Enable Firewall exception for the port
Disable SQL Strict Mode
Select the correct character set for the region.
Select Install as Windows Service
Set a root password
Edit My.ini file. Typically resides in \program Files\mysql\mysql Server x.y\
Verify Sql-mode is not defined. If So, the comment it out.
Verify The MySQL service is started.
Http://docs.cacti.net/manual:088:1_installation.2_install_windows.5_install_mysql
Installing NET-SNMP
Unzip the Net-snmp.x86.bkill.com.zip and run the installer and install the NET-SNMP into the C:\Net-SNMP directory.
Installing Spine
Unzip the cacti-spine-0.8.8a.zip to the C:\cacti directory and make the following modifications to the Spine.conf.dist file
Db_host127.0.0.1 or hostname (not localhost)
Db_databaseCacti
Db_userCactiuser
Db_passwordCacti
Db_port3306
All other pre 0.8.6 settings is obsolete.
The following does not understand, ignore
Spine now comes with a binary distribution. However, we strongly suggest that you install Cygwin and then remove all the DLLs files and Sh.exe from theC + + Cacti directory.
Http://www.cacti.net/downloads/docs/html/install_windows.html
Configure Cacti
Edit with c:\cacti\include\config.php file and set MySQL user, password, database, and database port.
$database _default = "cacti";
$database _hostname = "localhost";
$database _username = "Cactiuser";
$database _password = "cacti";
$database _port = "3306";
Open a browser to access this site:
http://your-server/cacti/
If this directory is denied access, it may be that index.php is not set in the default document and the default document is added to resolve it.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/CF/wKiom1WozkLyeHx6AAI7Q-xHdoE282.jpg "title=" 666. PNG "alt=" wkiom1wozklyehx6aai7q-xhdoe282.jpg "/>
The default user and password are admin/admin, and you need to change the password the first time you log in.
This interface appears to indicate that the installation deployment is basically complete:)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/CF/wKiom1WozBiiyM6OAARVF6XjGX0035.jpg "title=" 777. PNG "alt=" wkiom1wozbiiym6oaarvf6xjgx0035.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/CC/wKioL1Wozi-SFjpoAAEt_xgp5ag160.jpg "title=" 888. PNG "alt=" wkiol1wozi-sfjpoaaet_xgp5ag160.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/CF/wKiom1WozGDTh_amAAP4qaC57PY240.jpg "title=" 999. PNG "alt=" wkiom1wozgdth_amaap4qac57py240.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/CC/wKioL1Wo0Zfw7KkhAALn5RmbAzc541.jpg "title=" 678. PNG "alt=" wkiol1wo0zfw7kkhaaln5rmbazc541.jpg "/>
related software can be downloaded here:
http://share.weiyun.com/a3694b85921175f26bb9734103800553
This article is from the "Stone Blog" blog, make sure to keep this source http://dayday.blog.51cto.com/3248/1675760
Server r2+iis7.5 Installation Cacti experiment