เคยลองติดตั้งบน kloxo อ่ะค่ะ แต่ก็งงๆ เพราะดูได้ไม่ค่อยครบ
ตอนนี้มี VPS อีกตัวหนึ่ง เป็น Centos DirectAdmin
แต่ไม่รู้วิธีติดตั้งชัวร์ๆ เลยอยากถามว่า พอจะมีใครแนะนำได้ไหมคะ
ขอบคุณค่ะ
Copy ไปได้เลยครับ ถ้าเป็น OS แบบ 64Bit
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum -y install munin munin-node
chkconfig munin-node on
mkdir -p /var/www/html/munin
chown munin. /var/www/html/munin
mv /var/www/html/munin/.htaccess /var/www/html/munin/htaccess.default
service munin-node start
จากนั้นเวลาเข้าดูให้เข้าดูผ่าน http://server-ip/munin
อ้างถึงจาก: iPokz ใน 08 มกราคม 2011, 11:16:19
Copy ไปได้เลยครับ ถ้าเป็น OS แบบ 64Bit
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum -y install munin munin-node
chkconfig munin-node on
mkdir -p /var/www/html/munin
chown munin. /var/www/html/munin
mv /var/www/html/munin/.htaccess /var/www/html/munin/htaccess.default
service munin-node start
จากนั้นเวลาเข้าดูให้เข้าดูผ่าน http://server-ip/munin
เอ่อ Operating System เป็นแบบนี้อ่ะค่ะ
CentOS 5.5 32 bit
เปลี่่ยนแค่คำสั่งแรกครับ
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
อ้างถึงจาก: iPokz ใน 08 มกราคม 2011, 11:24:25
เปลี่่ยนแค่คำสั่งแรกครับ
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
:-* :-*
ขอบคุณมากๆ เลยค่ะ เอาไปลองเลยดีกว่า :wanwan020:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rm -f rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum install munin munin-node
chkconfig --levels 235 munin-node on
/etc/init.d/munin-node start
/etc/munin/munin.conf
mkdir -p /var/www/html/munin
chown munin:munin /var/www/html/munin
เอาสูตรผมไปบ้าง
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
yum install munin munin-node
chkconfig –levels 235 munin-node on
/etc/init.d/munin-node start
chown -R munin:munin /var/www/munin
ln -s /var/www/munin /var/www/html/munin
service httpd restart && service crond restart
ln -s /usr/share/munin/plugins/apache_* /etc/munin/plugins/
/etc/init.d/munin-node restart
ตอนนี้ติดปัญหากราฟ apache ไม่แสดงรูปเลยอ่ะค่ะ
ค่า /etc/httpd/conf/httpd.conf ก็ไปทำมาแล้ว
อ้างถึงLoadModule status_module modules/mod_status.so
อ้างถึง# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
<Location /server-status>
SetHandler server-status
# Order deny,allow
# Deny from all
Allow from all
</Location>
อ้างถึง# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
ExtendedStatus On
ถ้าเปิด server-status เรียบร้อยแล้ว ก็รอครับ อับเดทครั้งหน้าจะมีกราฟขึ้นเองครับ
: )
อ้างถึงจาก: iPokz ใน 08 มกราคม 2011, 16:15:32
ถ้าเปิด server-status เรียบร้อยแล้ว ก็รอครับ อับเดทครั้งหน้าจะมีกราฟขึ้นเองครับ
: )
มาแล้วจริงๆ ด้วย
ขอบคุณคุณ iPokz มากๆ ค่ะ และท่านอื่นๆ ด้วยนะคะ
:wanwan017: :wanwan017: :wanwan017: