Cacti 升级
来源:互联网 发布:淘宝卖家中心客服电话 编辑:程序博客网 时间:2024/06/09 19:53
Upgrading Cacti
Backup the old Cacti database.
shell> mysqldump -l --add-drop-table cacti > mysql.cacti
Note: You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup.
备份数据库Backup the old Cacti directory.
shell> mv cacti cacti_old
备份旧的版本
Extract the distribution tarball.
shell> tar xzvf cacti-version.tar.gz
解压程序包
Rename the new Cacti directory to match the old one.
shell> mv cacti-version cacti
重命名
Edit include/config.php and specify the MySQL user, password and database for your Cacti configuration.
$database_type = "mysql";$database_default = "cacti";$database_hostname = "localhost";$database_username = "cactiuser";$database_password = "cacti";
编辑配置文件
Copy the *.rrd files from the old Cacti directory.
shell> cp cacti_old/rra/* cacti/rra/
拷贝数据文件
Copy any relevant custom scripts from the old Cacti directory. Some script are updated between versions. Therefore, make sure you only over write if the scripts either don't exist or are newer than the distribution's.
shell> cp -u cacti_old/scripts/* cacti/scripts/
拷贝脚本
Copy any relevant custom resource XML files from the old Cacti directory. Some resource XML files are updated between versions. Therefore, make sure you only over write if the XML files either don't exist or are newer than the distribution's.
shell> cp -u -R cacti_old/resource/* cacti/resource/拷贝xml文件
Set the appropriate permissions on Cacti's directories for graph/log generation. You should execute these commands from inside Cacti's directory to change the permissions.
shell> chown -R cactiuser rra/ log/
更改程序所有者
(Enter a valid username for cactiuser, this user will also be used in the next step for data gathering.)
Point your web browser to:
http://your-server/cacti/
Follow the on-screen instructions so your database can be updated to the new version.
- Cacti 升级
- Cacti升级迁移实录
- Windows版Cacti全新安装与升级
- cacti
- cacti
- Cacti
- cacti
- Cacti
- cacti
- cacti
- cacti
- Cacti插件
- 监控cacti
- cacti小结
- Cacti Configuration
- Nagios && Cacti
- cacti报警
- cacti视频
- IDC:2017年大数据和业务分析收入将突破1508亿美元
- java面试时候遇到的一些问题
- div等比例缩放-------纯CSS实现自适应浏览器宽度的正方形
- Cacti 安装插件
- @ResponseBody 注解的使用
- Cacti 升级
- 面试必备 计划花一些时间找找答案 也学习提升下自己
- Notification
- 【面向JS--内置对象与包装类型】
- 从运维角度看中大型网站架构的演变之路
- SVN Unable to connect to a repositoryat URL Error running context 由于目标计算机积极拒绝,无法连接
- 赤裸裸的逆袭:小学生都用大数据分析苏轼了!
- Flex 学习之路之十三 用户接口user interface 实现进度条 preloader
- 系统工程师 常用 工具 命令