designevo

Logo通過DesignEvo設計製作

2008年12月16日 星期二

2008-12-16 install cacti-spine-0.8.7a

download cacti-spine from http://www.cacti.net/downloads/spine/cacti-spine-0.8.7a.tar.gz

compiling and installation

#tar xvzf cacti-spine-0.8.7.tar.gz
#cd spine-0.8.7
#./configure

notice:
"configure: error: Cannot find MySQL headers. Use --with-mysql= to specify non-default path."

#yum install mysql-devel
Dependencies Resolved
============================================================================= Package Arch Version Repository Size
=============================================================================Installing: mysql-devel i386 5.0.45-7.el5 base 2.4 M
Installing for dependencies:
e2fsprogs-devel i386 1.39-15.el5 base 568 k
keyutils-libs-devel i386 1.2-1.el5 base 27 k
krb5-devel i386 1.6.1-25.el5_2.1 updates 1.9 M
libselinux-devel i386 1.33.4-5.el5 base 131 k
libsepol-devel i386 1.15.2-1.el5 base 189 k
openssl-devel i386 0.9.8b-10.el5 base 1.8 M
zlib-devel i386 1.2.3-3 base 101 k
Transaction Summary=============================================================================Install 8 Package(s)Update 0 Package(s)Remove 0 Package(s)
Total download size: 7.1 M
Is this ok [y/N]: y
Downloading Packages:

"configure: error: Cannot find SNMP headers. Use --with-snmp= to specify non-default path."

#yum install net-snmp-devel
Dependencies Resolved
============================================================================= Package Arch Version Repository Size=============================================================================Installing: net-snmp-devel i386 1:5.3.1-24.el5_2.2 updates 1.8 MInstalling for dependencies: beecrypt-devel i386 4.1.2-10.1.1 base 160 k elfutils-devel i386 0.125-3.el5 base 52 k elfutils-devel-static i386 0.125-3.el5 base 78 k elfutils-libelf-devel i386 0.125-3.el5 base 20 k elfutils-libelf-devel-static i386 0.125-3.el5 base 60 k rpm-devel i386 4.4.2-48.el5 base 1.3 M sqlite-devel i386 3.3.6-2 base 260 k
Transaction Summary=============================================================================Install 8 Package(s)Update 0 Package(s)Remove 0 Package(s)
Total download size: 3.7 MIs this ok [y/N]: y

#make

Now you must move your new binary, spine and spine.conf to a more permanent home such as /usr/local/spine. Edit the spine.conf file and specify your database connection information for Cacti.

Notice:
need create a mysql account refer in spine.conf define, for default spine.conf was "cactiuser" .

相關參考網站:
http://cacti.net/spine_install_rhlnx.php

沒有留言:

資料無價

做資訊的都知道 資料備份 很重要,但當資料因不可抗力或人為失誤弄掉了!  到底會想要花多少錢來救資料? 答案常常是越少越好~  最好是 免費 .... 那誰會要去救 .... 買備份設備就跟買保險一樣,有備無患,但重要的是有沒有買對設備,有備份也要有還原測試驗証,而且最好要一段時...