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

本文涉及的产品
云数据库 MongoDB,通用型 2核4GB
简介:

最近公司忙死,

为了配合大家公司,在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.

 

~~~~~~~

上个图,自赏一下。:

 

相关实践学习
MongoDB数据库入门
MongoDB数据库入门实验。
快速掌握 MongoDB 数据库
本课程主要讲解MongoDB数据库的基本知识,包括MongoDB数据库的安装、配置、服务的启动、数据的CRUD操作函数使用、MongoDB索引的使用(唯一索引、地理索引、过期索引、全文索引等)、MapReduce操作实现、用户管理、Java对MongoDB的操作支持(基于2.x驱动与3.x驱动的完全讲解)。 通过学习此课程,读者将具备MongoDB数据库的开发能力,并且能够使用MongoDB进行项目开发。 &nbsp; 相关的阿里云产品:云数据库 MongoDB版 云数据库MongoDB版支持ReplicaSet和Sharding两种部署架构,具备安全审计,时间点备份等多项企业能力。在互联网、物联网、游戏、金融等领域被广泛采用。 云数据库MongoDB版(ApsaraDB for MongoDB)完全兼容MongoDB协议,基于飞天分布式系统和高可靠存储引擎,提供多节点高可用架构、弹性扩容、容灾、备份回滚、性能优化等解决方案。 产品详情: https://www.aliyun.com/product/mongodb
目录
相关文章
|
13天前
|
网络安全 Apache
Apache服务器安装SSL证书
Apache服务器安装SSL证书
18 0
|
1月前
|
Linux 网络安全 数据安全/隐私保护
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
155 0
|
1月前
|
存储 JavaScript Linux
Linux环境下安装nmp(Centos环境)保姆级教学 一步到位
Linux环境下安装nmp(Centos环境)保姆级教学 一步到位
|
1月前
|
Java Linux
Flume【环境搭建 01】CentOS Linux release 7.5 安装配置 apache-flume-1.9.0 并验证
【2月更文挑战第16天】Flume【环境搭建 01】CentOS Linux release 7.5 安装配置 apache-flume-1.9.0 并验证
33 0
|
1天前
|
存储 Linux 网络安全
centos7使用yum网络安装
这些是使用Yum进行网络安装的基本步骤。根据你的需求,你可以重复步骤3和4来安装其他软件包。请注意,执行Yum操作需要root或具有sudo权限的用户。
12 1
|
7天前
|
关系型数据库 MySQL Linux
centos7安装mysql-带网盘安装包
centos7安装mysql-带网盘安装包
39 2
|
13天前
|
存储 Linux Shell
centos 部署docker容器 安装 、基本使用方法(一)
centos 部署docker容器 安装 、基本使用方法(一)
24 0
|
13天前
|
分布式计算 Hadoop Java
centos 部署Hadoop-3.0-高性能集群(一)安装
centos 部署Hadoop-3.0-高性能集群(一)安装
14 0
|
13天前
|
Linux Apache
CentOS 7 源码安装LAMP环境源 和apache监听别的端口
CentOS 7 源码安装LAMP环境源 和apache监听别的端口
12 0
|
13天前
|
关系型数据库 MySQL Linux
CentOS 7 下使用yum安装MySQL5.7.20 最简单 图文详解
CentOS 7 下使用yum安装MySQL5.7.20 最简单 图文详解
67 0