您的位置:首页 > 其它

windows下cacti安装配置

2013-01-07 09:30 507 查看
下载cacti windows installerhttp://forums.cacti.net/viewtopic.php?f=3&t=14946这个是集成安装包,基本配置已经自动完成,打打地减少了配置的工作量和出错的几率。1.安装好后,apache是可以用的,可以执行测试网页,但localhost/cacti会无响应,还要执行以下指令:
点击(此处)折叠或打开
c:\> mysql -u root -p cactiGRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipw';FLUSH PRIVILEGES; exit2.完成后,配置snmp:在net-snmp\etc\snmp下新建snmpd.conf 并写入 rocommunity public注册服务:执行registeragent.bat重启服务:net stop "net-snmp agent" net stop "net-snmp agent"3.如果需要用netbeans调试,则去http://xdebug.org/wizard.php下载xdebug文件放入ext,并在php.ini中加入以下几行:
点击(此处)折叠或打开zend_extension = PHPdir\php\ext\php_xdebug-2.2.0-5.3-vc9.dll

xdebug.remote_enable = on

xdebug.remote_handler = dbgp

xdebug.remote_host = localhost

xdebug.remote_port = 9001

完后重启apache,有时候很诡异,要重启电脑~~!完后大功告成。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: