How to install cacti With Nginx
转载于:https://github.com/blackyboy/Ubuntu-Linux-Stuffs/blob/master/How-to-install-Cacti-Monitoring-Server-With-Nginx.md
Cacti provides an exceptionally easy to use system monitoring solution. Essential graphs are included by default, such as load average and memory usage.
Wee Need to install MYSQL and Nginx For Cacti Monitoring tool
- Installing Nginx
# sudo apt-get install nginx

1.Install SNMPD Service
# sudo apt-get install snmpd
2.Configure SNMPD
# vim /etc/default/snmpd

Relace the Line #export MIBS=/usr/share/mibs/netsnmp/ With
# export MIBS=ALL

Then add the Following Line to the ACCESS CONTROL Area of /etc/snmp/snmpd.conf

# rocommunity public localhost # Full access from localhost

Download Non-free MIB Files
# sudo apt-get install snmp-mibs-downloader
# sudo service snmpd restart

And Restart the Service

Install Cacti And Spine
# sudo apt-get install cacti cacti-spine

During the installation of Cacti, you will be asked if you’d like dbconfig-common to setup MySQL for Cacti automatically. This creates a user and database for Cacti, and then imports the necessary data.



Add a Symbolic Link to Cacti's Web Interface
Here i have choosed the location in /var/www/
# cd /var/www/

Create a Symbolic link from /usr/share/cacti/site to www
# ln -s /usr/share/cacti/site cacti

If we choose other folder cacti to RUN for ex: /var/cacti
We Need to Chown the folder as www-data, But here i used /var/www already Setted as a www-data
If u use /var/cacti chown it using command
# sudo chown -R www-data:www-data /var/cacti
3 Step we need to Do Here is
Change directory to the root of our site
Create a symbolic link to Cacti’s web interface named cacti
Optional Change owner and group of Cacti’s web interface to www-data
Fireup the Browser and Navigate to install cacti from ip were we installed
# http://192.168.122.3/cacti/


User Name : admin
Password : admin

While Login in it as u to change the password at first Login Choose Your New Password


Default Username and Password is
User Name : admin
Password : admin
How to install cacti With Nginx的更多相关文章
- How to Install and Configure Nginx from Source on centos--转
1.CentOS - Installing Nginx from source http://articles.slicehost.com/2009/2/2/centos-installing-ngi ...
- How To Install Cacti On Ubuntu 14
How To Install Cacti On Ubuntu 14.04/14.10 by anismaj Cacti is an open source web based network moni ...
- How to install cacti on centos 6
Cacti – Network and performance monitoring tool Cacti is one of best monitoring tool used to monit ...
- Install Python+Django+Nginx+UWSGI
一.软件环境: CentOS6.6_64bit 需要用到的软件: [root@django tools]# ll 总用量 33336 -rw-r--r-- 1 root root 7497785 3月 ...
- Centos 7 install cacti监控
首先,先安装LNMP服务 安装一: 如果觉得安装起来麻烦,可以到如下网站进行安装: https://lnmp.org/install.html 安装二: 采用yum或者安装包的方式进行安装,具体操作请 ...
- Cacti监控服务器配置教程(基于CentOS+Nginx+MySQL+PHP环境搭建)
Cacti监控服务器配置教程(基于CentOS+Nginx+MySQL+PHP环境搭建) 具体案例:局域网内有两台主机,一台Linux.一台Windows,现在需要配置一台Cacti监控服务器对这两台 ...
- How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on Debian 7
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on- ...
- az nginx install and other
Nginx 1◆ nginx install 源码:https://trac.nginx.org/nginx/browser 官网:http://www.nginx.org/ ...
- Install nginx on centos
1. 安装wget. sudo yum -y install wget 2. 下载nginx发布代码. sudo wget http://nginx.org/download/nginx-1.8.0. ...
随机推荐
- HDU 5781 ATM Mechine 期望dp
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5781 ATM Mechine Time Limit: 6000/3000 MS (Java/Othe ...
- 使用Npoi向Excel中插入图片
先把数据库中的数据都导入到Excel表格中,把图片地址的路径全部转成绝对路径. 使用Npoi读取刚导出的Excle表格,把图片那个单元格的图片路径读出来,然后用文件流读取图片,然后通过Npoi把图片放 ...
- NYOJ-289 苹果 289 AC(01背包) 分类: NYOJ 2014-01-01 21:30 178人阅读 评论(0) 收藏
#include<stdio.h> #include<string.h> #define max(x,y) x>y?x:y struct apple { int c; i ...
- GS界面上显示的重要参考数据
GS界面上显示的重要参考数据,这个是压测时重要参考 struct GSinfo { int revBuffNum; int sendBuffNum; int clientNum; int dbAskN ...
- destoon使用中的一些心得
//**************************index首页相关参数**************************************// //全局变量 {if $seo_titl ...
- Codeforces Round #FF (Div. 2)
又一场中国场,果然注定被虐的场... A,B:都很水,差不多模拟就好了: C题:CF难得的题意简洁, 我们可以预处理出从左到右递增的数列个数, 举个例子:1 3 2 4 5 7 L[I] ...
- 1303: [CQOI2009]中位数图
早起一AC,整天萌萌哒. Problem: 1303 User: forgot93 Language: C++ Result: Accepted Time:56 ms Memory:2108 kb * ...
- Gitlab 7.12 发布 SAML支持及其他更多功能
官方文章:https://about.gitlab.com/2015/06/22/gitlab-7-12-released/ CSDN翻译文章:http://geek.csdn.net/news/de ...
- 简单CSS hack:区分IE6、IE7、IE8、Firefox、Opera
一.跨浏览器的网页设计一直是让人很头疼的问题,这不只是因为浏览器的版本众多,还有一个重要的原因是相同浏览器的不同时期的版本也会有差异,甚至是在不同操作同台上还会有不同.因此使CSS hack技术进行浏 ...
- CentOS用yum安装X Window
安装X图形界面系统 yum list 列出所有可安装的软件包 可以通过 yum grouplist 来查看可能批量安装哪些列表 先装X windows #yum groupinstall 'X Win ...