在CENTOS上安装APACHE,MUNIN(对MONGODB的PLUGIN未成功)

最近公司忙死,

为了配合大家公司,在ESX上的CENTOS里,再上一个作网站资源监控的MUNIN。

(NTOP,在考虑当中,测试已通过)

由于对APACHE执行CGI不甚清楚,搞了很久的这些权限问题。

最后,在一篇最简单的参考文档里搞定。

看来,PYTHON和APACHE的CGI,FASTCGI也要去了解一下了。。

URL:

http://www.tecmint.com/install-munin-network-monitoring-in-rhel-cent-6-3-fedora-17/

Installing Munin in RHEL, CentOS & Fedora

Installing Munin is very simple, just follow my below step-by-step commands to install it on your server.

Step 1: Installing EPEL Repository for RHEL & CentOS

Munin can be installed by using Fedora‘s EPEL repository under RHEL 6.3/6.2/6.1/6/5.8 and CentOS 6.3/6.2/6.1/6/5.8. Just, run the following commands as root user to install it using wget.

RHEL/CentOS 6

# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm

RHEL/CentOS 5

# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

Note : Fedora users don’t need to install EPEL repository, because munin is included in Fedora and can be installed using yum.

Step 2: Installing Munin

Just run the following command as root user.

# yum --enablerepo=epel -y install munin munin-node

By default the above installation creates following directories.

  1. /etc/munin/munin.conf : Munin master configuration file.
  2. /etc/cron.d/munin : Munin cron file.
  3. /etc/httpd/conf.d/munin.conf : Munin Apache configuration file.
  4. /var/log/munin : Munin log directory.
  5. /var/www/munin : Munin web directory.
  6. /etc/munin/munin-node.conf : Munin Node master configuration file.
  7. /etc/munin/plugins.conf : Munin plugins configuration file.
  8. /etc/rc.d/init.d/munin-node : Munin start-up service daemon.

Step 3: Configuring Munin

Open file /etc/httpd/conf/httpd.conf file and add the following lines of code at the bottom.

Alias /munin /var/www/munin
<Directory /var/www/munin>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Restart Apache and then create system start-up links for Munin and start it.

# /etc/init.d/httpd restart
# chkconfig --levels 235 munin-node on
# /etc/init.d/munin-node start

Step 4: Accessing Munin Web Interface

Wait for 30 minutes so that Munin can generate graphs and displayed it. To see first output of graphs, open your browser and navigate tohttp://www.example.com/munin.

For more information and usage please visit at http://munin-monitoring.org/wiki/Documentation.

 

~~~~~~~

上个图,自赏一下。:

 

时间: 2024-08-03 01:36:15

在CENTOS上安装APACHE,MUNIN(对MONGODB的PLUGIN未成功)的相关文章

CentOS上安装Node.js和mongodb笔记

  CentOS上安装Node.js和mongodb笔记        这篇文章主要介绍了CentOS上安装Node.js和mongodb笔记,本文讲解了Python安装.Node.js安装.npm安装.mongodb驱动安装.mongodb数据库操作测试代码等内容,需要的朋友可以参考下 之前听说过Node.js,只是知道它可以应用于服务器端,但是对很多具体的东西并不了解.今天在QCon上听了袁锋的分享<Node.js脱离了浏览器的Javascript>之后,顿时有了想立刻试一下的冲动. No

CentOS上安装Node.js和mongodb笔记_node.js

之前听说过Node.js,只是知道它可以应用于服务器端,但是对很多具体的东西并不了解.今天在QCon上听了袁锋的分享<Node.js脱离了浏览器的Javascript>之后,顿时有了想立刻试一下的冲动. Node.js的安装步骤算是比较简单,没有太多的弯路,主要参考文档: Building and Installing Node.js  1. 安装Python 根据参考文档说明,从源代码编译安装Node.js需要python2.6或者以上,而通过yum install python.x86_6

在CentOS上安装phpMyAdmin的教程

  这篇文章主要介绍了在CentOS上安装phpMyAdmin的教程,phpMyAdmin是一款借助PHP脚本来操作MySQL的工具,非常具有人气,需要的朋友可以参考下 前提 在CentOS上安装phpMyAdmin,你第一步需要架设一台Web服务器(如Apache或nginx),安装好MySQL/MariaDB数据库和PHP.根据你的偏好和需求,你可以从LAMP和LEMP中选择一种安装. 另一个要求是允许在你的CentOS上安装EPEL库.如果你还没设置过请猛戳这里. 在CentOS6或7上安

Linux有问必答:如何在CentOS上安装phpMyAdmin

Linux有问必答:如何在CentOS上安装phpMyAdmin 问题:我正在CentOS上运行一个MySQL/MariaDB服务,并且我想要通过网络接口来用phpMyAdmin来管理数据库.在CentOS上安装phpMyAdmin的最佳方法是什么? phpMyAdmin是一款以PHP为基础,基于Web的MySQL/MariaDB数据库管理工具.虽然已经存在着一些诸如Adminer的轻量级数据库管理工具, 但是phpMyAdmin还是更加广泛应用于网站管理员之中来进行各种MySQL/MariaD

在CentOS上安装与配置Tomcat

为了上线一个项目有关JSP,需要在Centos上安装Tomcat上. 要安装Tomcat首先要下载tomcat的程序.Tomcat程序可以从,tomcat的官方网站下载:http://tomcat.apache.org/ Tomcat最新版本是tomcat8.0: 可以看到tomcat有各种版本,我们现在先下载tar.gz版本. Tomcat下载完毕后,我们通过winscp上传到/usr/local目录下,如下图: 通过终端解压tomcat安装包,如图: tar –zxvf apache-tom

阿里云ECS服务器CentOS7上安装Apache服务

阿里云ECS服务器CentOS7上安装Apache服务 ---------------------------------------------- 使用root登录 1.确保服务器系统处于最新状态 [root@localhost ~]# yum -y update 如果显示以下内容说明已经更新完成 Replaced:   grub2.x86_64 1:2.02-0.64.el7.centos   grub2-tools.x86_64 1:2.02-0.64.el7.centos        

Linux~centos上安装.netcore,HelloWorld归来!

对于跨平台的.netCore来说,让它的程序运行在Linux系统上已经成为必然,也是一种趋势,毕竟我们的很多服务都放在linux服务器上(redis,mongodb,myql,fastDFS,lucene),而我们希望与这些组件服务通讯,需要使用的代码为java,python等,而这些都不是我们擅长的,因为我们是个.NET工程师,哈哈! 对于.NetCore的出现让我们可以把开始的C#程序运行在其它系统之上了,这种跨平台的特性,当然就成了下一代微软占有市场的利器,当然这也只是个人认为的,下面我们

centos上安装中文输入法

问题描述 centos上安装中文输入法 我在centos上安装中文输入法 以root身份运行:yum install "@Chinese Support" 结果报了:Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting u

centos6.3 xen4.1.3-centos6.3内核2.6.32升级到3.1.2,在centos上安装xen4.1.3

问题描述 centos6.3内核2.6.32升级到3.1.2,在centos上安装xen4.1.3 在安装内核时, Linux becalmer 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux [root@becalmer linux-3.1.2]# make -j4 install sh /usr/src/linux-3.1.2/arch/x86/boot/inst