082011
 

cacti是款不错的系统监控程序。安装也是相当简单,做一个简单的记录吧。

首先安装好 php + mysql 运行环境。这个不多加赘言了。

然后安装好SNMP+RRDTool


sudo apt-get install snmpd snmp rrdtool

然后编辑 /etc/snmp/snmpd.conf文件,添加



com2sec notConfigUser 127.0.0.1 public
access notConfigGroup "" any noauth exact all none none

 

重启snmpd



sudo /etc/init.d/snmpd restart

创建一个目录用于放置cacti程序
我放在/sites/cacti/下了
然后把cacti下载过来


sudo wget http://www.cacti.net/downloads/cacti-0.8.7g.tar.gz

然后解压

然后,创建mysql,数据库名cacti_db,创建一个用户并赋予权限。

登陆mysql



mysql -u root -p

输入密码,然后在mysql 命令行中输入



use cacti_db;

source /sites/cacti/cacti.sql;

导入数据库。

编辑/sites/cacti/include/config.php中的数据库链接信息

然后配好apache 的虚拟主机或者虚拟目录就可以访问了

domain.com/cacti/install/

默认的一般不需修改,然后就可以登陆cacti了,默认用户名 密码 admin/admin

 

  60 Responses to “在ubuntu 上安装 cacti step by step”

  1. I’ve tried to utilize, but it really isn’t going to is effective at all.
    Jordan Snapbacks http://www.outletshats.com/jordan-snapbacks-c-8.html

  2. Sick and tired of all the nfl jersey stories? We are there available for you!!
    australia nike sean lee womens jersey cowboys blue navy white authentic uk sale http://www.dcgwest.com/contact/giants-nike-jersey/quality-soccer-jerseys/nike-sean-lee-womens-jersey-p-6519.html

  3. Upgrading a nfl jersey within about half the time without having to spend extra cash!
    lowest price soccer goalkeeping jerseys,cheap nfl jerseys low shipping we predict unlimited values http://www.airmartechnology.com/catimages/soccer-goalkeeping-jerseys/cheap-nfl-jerseys-low-shipping/

  4. The Only Processes To Grasp nfl jersey And Also How One Can Connect with The nfl jersey Elite
    full size cheap nike davone bess blue white red jersey browns pro shop australia outlet store http://ckprod.com/contact/adult-authentic-replica-soccer-jerseys/cheap-nike-davone-bess-blue-white-red-jersey-browns-pro-shop-p-705.html

  5. Weekly nfl jersey Summary is without question starting to feel slightly old
    professional titans jake locker purple white gold jersey nike womens mens us sale http://www.alkamda.com/alkamda/new-york-knicks-basketball-jersey/nba-kids-jerseys-reebok/arlengxu-p-183.html

  6. captain christopher pour Lapuente are already member of the Executive committee of LVMH Moet Hennessy Louis Vuitton SA but also chief executive officer of Sephora on the grounds that 2011. If you will always want to come by bus, You may car 552, typically goes to BTS stop On nut as part of Sukhumvit. immigration law in addition,yet customs administration (snow).. O the material while using Louis Vuitton product or service is often of top quality. director Hosoda Mamoru ‘tokens’ Murakami in order for creativity mostly, conversely.the car Wabisuke disks, undoubtedly an FD (’92 ’02) group Mazda RX 7.by visiting 1:03:34, as you’re Kenji is apologizing to obtain hunting to get your family to aid in preserving our world by way of devotion piece of equipment.
    air jordan concord retro 11 http://www.digitalresolutions1.com/?keyword=air-jordan-concord-retro-11&id=282

  7. hermes outlet in vienna hermes paris bag replica trim plzbfva

  8. I’m impressed, I need to say. Actually rarely do I encounter a blog that is both educative and entertaining, and let me tell you, you’ve hit the nail on the head. Your thought is outstanding; the concern is something that not sufficient individuals are speaking intelligently about. I’m very happy that I stumbled across this in my search for some thing relating to this.
    all jordan retros http://tauxhypotheque.ca/Images/sys.asp?key=all-jordan-retros-91

  9. It should come as no surprise, then, that Pinterest is fast becoming a top social networking tool.
    To add an exciting note to this aspect, popular public
    figures and top level politicians are now harnessing the potential of this tool for their specific purposes.
    With Pinterest, you can pin a picture of your customers and include
    a blurb of the case study or testimonial.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>