cacti install on ubuntu
安装cacti需要的软件需要
nginx + php + mysql + rrdtool + cacti + snmp
1.nginx 安装配置
首先按照如下命令安装,明显是马虎不细心
./configure --prefix=/app/web/nginx --with-http_stub_status_module --with-http_ssl_module --without-http_rewrite_module --without-http_fastcgi_module --without-http_gzip_module
执行后,显示
nginx: [emerg] using regex "\.php$" requires PCRE library in /app/web/nginx/conf/nginx.conf:65
执行过程中报错:xml2-config not found install libxml2
需要安装libxml2-dev
错,应该如下:
./configure --prefix=/app/web/nginx --with-http_stub_status_module --with-http_ssl_module --with-pcre
针对上面的错需要添加:--with-pcre
2.php安装配置
php安装
./configure --prefix=/app/web/php --enable-fastcgi --enable-fpm
3.mysql 安装
apt-get install mysql-client mysql-server
4.rrdtool 安装
apt-get install rrdtool
5.安装snmp
apt-get install snmp snmpd
6.下载cacti
wget http://www.cacti.net/downloads/cacti-0.8.8a.tar.gz
wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.8a.tar.gz
相应的配置包含了很多,需要写几篇来完善:
1.nginx
2.php
3.snmp配置
4.cacti创建监控设备
其中3,4属于重点
cacti install on ubuntu的更多相关文章
- Cacti Install
一.Cacti简介 Cacti是通过snmpget来获取数据,使用RRDtool绘画图形,而且你完全可以不需要了解RRDtool复杂的参数.它提供了非常强大的数据和用户管理功能,可以指定每一个用户能查 ...
- cloudstack 安装 install for ubuntu
准备工作环境信息 修改dns配置 设置阿里源root@sh-saas-cs-manager-online-01:~# mv /etc/apt/sources.list /etc/apt/sources ...
- .NET Core Install for Ubuntu 14.04
Add the dotnet apt-get feed In order to install .NET Core on Ubuntu or Linux Mint, you need to fir ...
- Cacti Install Error
Cacti Error happened while installing: ERROR: Your MySQL TimeZone database is not populated. Please ...
- linux install zh_CN(ubuntu)
cd /usr/share/locales sudo ./install-language-pack zh_CN
- Install Docker on Ubuntu
Install Docker on Ubuntu Estimated reading time: 17 minutes Docker is supported on these Ubuntu oper ...
- ubuntu install opengrok
总结: 1. 安装jdk和tomcat 2. 安装ctags 3. 解压opengrok.tar.gz包, 然后将source.war复制到tomcat/webapp下面 sudo cp -R ope ...
- ubuntu install mysql server method
recently try to install mysql in my computer so that I can practise some sql statement on seve ...
- ubuntu lts install licode tag pre-v5.4
1. Requirements Ubuntu 14.04 LTS 2. Clone Licode codeYou first need to clone our code from github.Yo ...
随机推荐
- java 字节流和字符流的区别
转载自:http://blog.csdn.net/cynhafa/article/details/6882061 java 字节流和字符流的区别 字节流与和字符流的使用非常相似,两者除了操作代码上的不 ...
- Mediator
#include <iostream> using namespace std; class ObjectA { public: void Whoami() { cout<<& ...
- 软件工程 speedsnail 第二次冲刺6
20150523 完成任务:碰撞墙壁,或线身体翻转: 遇到问题: 问题1 身体翻转与帧数冲突 解决1 运用循环嵌套解决 明日任务: 蜗牛碰到线后速度方向的调整
- Ajax与Json的一些总结
Ajax与Json AJAX=异步javaScript 和XML AJAX 是一种用于创建快速动态网页的技术. 通过在后台与服务器进行少量数据交换,AJAX 可以使网页实现异步更新. 这意味着可以在不 ...
- 单列模式(data与business交互)
public class CommentsBusiness //Business { #region 单列模式 private static CommentBusiness instance; pri ...
- Silverlight 使用IsolatedStorage新建XML文件,并且用LINQ查询XML
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- ...
- php输出utf-8格式
header("Content-type:text/html;charset=utf-8"); 输出数据前插入以上代码,以utf-8格式输出,避免乱码
- python中列表和元组的使用方法和区别
一.二者区别 列表: 1.可以增加列表内容 append 2.可以统计某个列表段在整个列表中出现的次数 count 3.可以插入一个字符串,并把整个字符串的每个字母拆分当作一个列表段追加到列表 ...
- Ruby on Rail学习笔记
说明:只针对Windows8.1 Windows下,上rubyinstaller上下载最新的railsinstaller包含Ruby2.1的,然后更新gem 用命令: gem update --sys ...
- expr命令
expr命令的兩大作用:1)四则运算:2)字符串的操作: 1.四则运算 [tough@localhost ~]$ + + [tough@localhost ~]$ + [tough@localhost ...