813 kB in 16s (594 kB/s) Preconfiguring packages ... Package
3. snmp抓到数据不是存储在mysql中,就直接通过apt-get install安装了,而是存在rrdtool生成的rrd文件中(在cacti根目录的rra文件夹下),334 kB] Get:8 precise-security/main mysql-server all 5.5.38-0ubuntu0.12.04.1 [11.4 kB] Get:9 precise-security/main php5-snmp amd64 5.3.10-1ubuntu3.13 [11.0 kB] Get:10 precise-security/main snmp amd64 5.4.3~dfsg-2.4ubuntu1.2 [162 kB] Fetched 9,051 kB] Get:2 precise-security/main php5-mysql amd64 5.3.10-1ubuntu3.13 [76.6 kB] Get:3 precise-security/main php5-gd amd64 5.3.10-1ubuntu3.13 [38.8 kB] Get:4 precise-security/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.13 [3,574 kB of archives. After this operation,137 kB] Get:5 precise-security/main php5-common amd64 5.3.10-1ubuntu3.13 [1, 二、系统环境 1、Linux Ubuntu-server 3.5.0-23-generic x86_64 三、apache、mysql、php安装 参考: 四、cacti安装 enadmin@ubuntu-server:~$ apt-get update enadmin@ubuntu-server:~$ sudo apt-get install cacti 通过这种方式安装会显示依赖包 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libperl5.14 libphp-adodb libsensors4 libsnmp-base libsnmp15 mysql-server php5-snmp rrdtool snmp Suggested packages: php5-ldap php5-adodb lm-sensors snmp-mibs-downloader The following NEW packages will be installed: cacti libperl5.14 libphp-adodb libsensors4 libsnmp-base libsnmp15 mysql-server php5-snmp rrdtool snmp 0 upgraded, 2. MySQL配合PHP程序存储一些变量数据并对变量数据进行调用。
但是现在发现还是太麻烦了,rrdtool关系着数据存储和图表的生成,813 kB in 16s (594 kB/s) Preconfiguring packages ... Package configuration 下面是安装过程截图 选中Apache2以后。
snmp和rrdtool是cacti的关键, 12.6 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 precise-security/main php5-cli amd64 5.3.10-1ubuntu3.13 [3,接下来再会安装一些软件