转载于: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

  1. 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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. How to install cacti on centos 6

    Cacti – Network and performance monitoring tool   Cacti is one of best monitoring tool used to monit ...

  4. Install Python+Django+Nginx+UWSGI

    一.软件环境: CentOS6.6_64bit 需要用到的软件: [root@django tools]# ll 总用量 33336 -rw-r--r-- 1 root root 7497785 3月 ...

  5. Centos 7 install cacti监控

    首先,先安装LNMP服务 安装一: 如果觉得安装起来麻烦,可以到如下网站进行安装: https://lnmp.org/install.html 安装二: 采用yum或者安装包的方式进行安装,具体操作请 ...

  6. Cacti监控服务器配置教程(基于CentOS+Nginx+MySQL+PHP环境搭建)

    Cacti监控服务器配置教程(基于CentOS+Nginx+MySQL+PHP环境搭建) 具体案例:局域网内有两台主机,一台Linux.一台Windows,现在需要配置一台Cacti监控服务器对这两台 ...

  7. 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- ...

  8. az nginx install and other

    Nginx     1◆ nginx install 源码:https://trac.nginx.org/nginx/browser   官网:http://www.nginx.org/       ...

  9. Install nginx on centos

    1. 安装wget. sudo yum -y install wget 2. 下载nginx发布代码. sudo wget http://nginx.org/download/nginx-1.8.0. ...

随机推荐

  1. memcached使用说明

    1.在服务器上注册服务 2.启动服务:services.msc       3.客户端创建服务接口 object Get(string key); List<string> GetKeys ...

  2. 【BZOJ】【1008】【HNOI】越狱

    快速幂 大水题= = 正着找越狱情况不好找,那就反过来找不越狱的情况呗…… 总方案是$m^n$种,不越狱的有$m*(m-1)^{n-1}$种= = 负数搞搞就好了…… 莫名奇妙地T了好几发…… /** ...

  3. lca 最近公共祖先

    http://poj.org/problem?id=1330 #include<cstdio> #include<cstring> #include<algorithm& ...

  4. Windows键盘快捷键

  5. [剑指OFFER] 数组中的逆序对

    题目描述 在数组中的两个数字,如果前面一个数字大于后面的数字,则这两个数字组成一个逆序对.输入一个数组,求出这个数组中的逆序对的总数.     分析:利用归并排序的思想,分成2部分,每一部分按照从大到 ...

  6. 简单shell脚本

      简单shell脚本备忘   #!/bin/sh num= ] do table_num=`printf %03d ${num}` echo album_info_${table_num} #mys ...

  7. 深入理解javacript之prototype

    对于javascript这样一种前端语言,个人觉得,要真正的理解其oop, 就必须要彻底搞清楚javascript的对象,原型链,作用域,闭包,以及this所引用的对象等概念.这些对弄明白了,应该就可 ...

  8. 使用CSS3实现3D图片滑块效果

    使用 CSS3 的3D变换特性,我们可以通过让元素在三维空间中变换来实现一些新奇的效果. 这篇文章分享的这款 jQuery 立体图片滑块插件,利用了 3D transforms(变换)属性来实现多种不 ...

  9. Chapter 4 持久存储数据对象

    1.使用with open("filename.扩展名","r/w/rb/wb") as data代替data=open(..);data.close() 打开 ...

  10. input:text 的value 和 attribute('value') 不是一回事

    如题,input:text 当手工输入字符改变其值时,两者就不一样了. 要获得手工输入,不要用attribute('value'), 直接使用value: function getbyid(id){ ...