1、下載 #wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7g-PA-v2.8.tar.gz
2、解壓縮 #tar -zvxf cacti-plugin-arch.tar.gz
3、安裝(兩種安裝方式,一種是Using the Pre-Patched Files,另一種是官方推薦的Using the Patch。我用的是Using the Patch)
#cp -r cacti-plugin-arch/* /var/www/html/cacti/
#cd /var/www/html/cacti/
#patch -p1 -N < cacti-plugin-0.8.7g-PA-v2.8.diff
#mysql -u root cacti < pa.sql
修改include/config.php中的$url_path = "/cacti/";參考說明
修改include/global.php中的數據庫參數
#chcon -R -t httpd_user_content_t /var/www/html/ (我的補丁裝上後,cacti就不能打開了,添加權限後正常)
4、進入cacti,在Console -- User Management -- Realm Permissions 裏選中Plugin Management