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 ...
随机推荐
- javaSE第二天
第二天 7 1:关键字(掌握) 7 2:标识符(掌握) 7 (1)就是给类,接口,方法,变量等起名字的字符序列 7 (2)组成规则: 7 (3)注意事项: 8 (4 ...
- Android开发教程app下载无法成功创建问题
本文明来给各位同学介绍一下关于cordova cteate app 时下载失败无法成功创建的解决方法,有碰到此问题的同学可进入参考. 使用如下语句创建一个cordova应用: 代码如下 cordova ...
- js 实现获取对象所有键名(key)的方法
1.for in 循环 并且使用hasOwnProperty 方法 var jsonObject1 = { "name": "xiaoming", " ...
- C puzzles详解【1-5题】
第一题 #include<stdio.h> #define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0])) ,,,,,,}; int m ...
- 树莓派(Rospberry Pi B+)到货亲测
1 图鉴 Rospberry Pi B+终于在今天下午有蜗牛快递公司圆*送到了.B+主要是增加了2个USB,增加了GPIO,sd卡换成了micro sd ...先不说直接上图再说,期待了好久好久 整 ...
- CentOS学习笔记—软件管理程序RPM、YUM
软件管理程序 Linux的软件安装分为源代码编译安装和打包安装.RPM是一种打包安装方式,是由 Red Hat 这家公司开发出来的,后来实在很好用,因此很多 distributions 就使用这个机制 ...
- C++ 三种工厂模式
工厂模式是将带有继承于基类的子类的创建过程交于一个工厂来创建,通过赋予不同的创建标识来创建不同的子类. 基于自己的理解和使用这里巩固一下工厂模式. 我们的项目目前使用最多的是简单工厂模式,不过其他两种 ...
- Mediator
#include <iostream> using namespace std; class ObjectA { public: void Whoami() { cout<<& ...
- Web前端年后跳槽必看的各种面试题
幸运且光荣的被老大安排了一个任务 - “去整理些前端面试题”.年前确实不是招人的好时候,所以我们前端团队经过了超负荷的运转,终于坚持过了春节.春节以后就开始招人啦,这套题考察的目标就是基础基础再基础, ...
- 学习c的第6天2
#include <stdio.h> #include <math.h> int main() { float num; printf("请输入该生当月的消费额:\n ...