Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Linux Applications Tập hợp các bài viếc hướng dẫn cài đặt các ứng dụng phổ biến trên Linux (CentOS)

Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 18-10-2009, 10:11 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Install Munin to see server's status! on CentOS 5
Install Munin to see server's status!



Installation on CentOS 5


The easiest way to go about this is to install a YUM repository that contains it. The two most popular are the EPEL YUM Repository from the Fedora Core team, and the Dag Wieers YUM repository
Once the repository is installed, just use YUM to install both the munin and munin-node RPMs as required.
Installing the EPEL YUM Repository


Just execute this command as root :

Trích dẫn:

rpm -Uvh http://download.fedora.redhat.com/pu...5-3.noarch.rpm
That is of course if you are running CentOS 5.3. Change the file name to 5.2 if you are running that release, and so on.

Installing the Dag Wieers YUM Repository


Just create the following file with the contents show : /etc/yum.repos.d/dag.repo



Trích dẫn:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1
Installing Client and Server

On the server, just do :



Trích dẫn:
yum -y install munin

And on each client (or "node" as munin calls them) :



Trích dẫn:
yum -y install munin-node
Note that the node install can take a really long time to complete - just be patient and it will.



Configuration on CentOS 5


Trích dẫn:

[root@ns ~]# vi /etc/munin/munin.conf

htmldir /var/www/munin // line 7: change

[server1.quantrinet.com] // line 27: change to hostname
address 127.0.0.1
use_node_name yes

[root@ns ~]# vi /etc/munin/munin-node.conf

server1.quantrinet.com // line 29: specify hostname

[root@ns ~]#chown munin. /var/www/munin
[root@ns ~]#/etc/rc.d/init.d/httpd restart

Stopping httpd:[ OK ]
Starting httpd: [ OK ]

[root@ns ~]#/etc/rc.d/init.d/munin-node start
Starting Munin Node: [ OK ]

[root@ns ~]#chkconfig munin-node on
Access to "http://(hostname)/munin/" with web browser. Next, Click a link of hostname.






N:QTN
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời



Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 02:40 PM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.