- 1、本文档共29页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
cacti安装手记(Cacti installation notes)
cacti安装手记(Cacti installation notes)
Part 1: configuration of the Cacti monitor
First, the PHP environment is Nginx+PHP (fastcgi)
On the 2 installation, pay attention to the PHP session problem, when installed yesterday, php528.ini defined in the session is addressed to the host (3) memcached to deal with, resulting in unable to log in.
Two, install a new Yum source, the source of RRDTOOL and other tools, if the installation error, then modify the /etc/yum.repos.d/CentOS-Media.repo, the inside of the enabled=1 changed to enabled=0
MKDIR -p /root/downloadss/cactimc
CD /root/downloadss/cactimc
WGet http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
RPM -ivh rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
Yum, -y, install, net-snmp, net-snmp-devel, net-snmp-libs, net-snmp-utils, perl-rrdtool, RRDTOOL, beecrypt-devel,, elfutils-devel, elfutils-libelf-devel, lm_sensors, perl-Time-HiRes
Three, Download cacti and plug-ins
Cacti download address: /downloads/
Plugin download address: /index.php
CD /root/downloadss/cactimc
WGet /downloads/cacti-0.8.7d.zip
WGet /downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
WGet /downloads/monitor.tar.gz
WGet /downloads/thold.tar.gz
WGet /downloads/settings.tar.gz
WGet /software/cacti-netsnmp-memory/cacti-netsnmp-memory.0.6.tar.gz
Four, unzip cacti
CD /data/web/awstats/www/
Unzip /root/downloadss/cactimc/cacti-0.8.7d.zip
MV cacti-0.8.7d cactimc
Based on the running of your web server, the user makes primary changes to the cactimc directory
Chown www.www cactimc
Five. Establish database
MySQL -uroot -p`cat /data/save/mysql_root`
Mysql create database cactimc; / / create database
Mysql grant all on cactimc.* tocactimc@localhostidentified by cacti123; / / create a database and give users permission
Mysql use cactimc;
Mysql source /data/web/awstats/www/cactimc/cacti.sql; / / import cacti data
Mysql flush privileges;
Six, modify the Cacti database login information, and install
Modify database login information
CD /data
您可能关注的文档
- (新版)轮胎翻新技术制造工艺专利大全全文文集((New Edition) tire retreading technology, manufacturing technology patent, Daquan, full text).doc
- (扩词)识字1—课文26((expansion) literacy 1 - text 26).doc
- (二)、人物故事((two) character stories).doc
- (世袭金银财富金银争霸)如何做一名成功的黄金操盘手((hereditary gold and silver wealth, gold and silver contend for hegemony) how to be a successful gold trader).doc
- (精)麦肯锡提案标准流程((standard) McKinsey proposal standard process).doc
- (沙锅面)一品砂锅面(附秘制麻辣料、鲜汤、酱卤配方制作)((a casserole casserole (surface) of secret material, spicy soup, sauce recipe)).doc
- (沙锅土豆粉)一品砂锅土豆粉(附秘制麻辣料、鲜汤、酱卤配方)文库((a casserole casserole potato powder) potato flour (with special material, spicy soup, sauce recipe) library).doc
- (沙锅粉)一品砂锅粉(附秘制麻辣料、鲜汤、酱卤配方制作)((casserole powder) a casserole powder (with special material, spicy soup, sauce recipe)).doc
- 00150 金融理论与实务笔记(00150 notes on financial theory and Practice).doc
- (魔兽世界)盗贼的100条守则((World of Warcraft) the 100 code of Thieves).doc
- 【德邦证券-2025研报】食品饮料行业周报:地产数据回暖,行业基本面有望逐步改善.pdf
- 【财通证券-2025研报】供需博弈猪价震荡调整,白鸡价格企稳回升.pdf
- 【财通证券-2025研报】轻工行业周报:上海二手房成交亮眼,家居315营销开启.pdf
- 【联储证券-2025研报】2月PMI数据点评:制造业景气度改善,重返扩张区间.pdf
- 2025年全套财务管理制度.doc
- 河南省信阳高级中学新校(贤岭校区)、老校(文化街校区)2024-2025学年高三下期二模测试(二)数(含答案解析).pdf
- 【财通证券-2025研报】证券基金行业周度跟踪:券商行业并购预期增强,建议关注相关标的.pdf
- 【创元期货-2025研报】锌周度报告:锌:TC加速调涨,加强提产预期.pdf
- 【财信证券-2025研报】宏观策略周报:全国两会召开临近,关注消费及顺周期方向.pdf
- 【德邦证券-2025研报】美股交易衰退了么?.pdf
文档评论(0)