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/
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.
相关推荐
Upgrading and Repairing Servers Pages: 1128
升级至DB2版本9.7:详尽指南与关键知识点 在IT领域,数据库管理系统(DBMS)的更新换代是确保数据处理效率、安全性及功能性的关键步骤之一。IBM的DB2作为全球广泛使用的数据库软件之一,其每一次版本升级都备受关注。...
For 25 years, Upgrading and Repairing PCs has been the world’s #1 guide to PC hardware: The single source for reliable information on troubleshooting and fixing problems, adding hardware, optimizing ...
标题:“Upgrading Oracle Applications”(升级Oracle应用程序)强调了文档的主要内容,即指导用户如何将Oracle应用程序从早期版本升级到Release 11i(11.5.10)。 描述:“Upgrading Oracle Applications”与标题...
Upgrading and Repairing PCs, 19th Edition 2010。2011年,就是上学期我刚学完的,我专业networking。这是第一学期的基础课。很好的资源,我买的正版。根大家分享。PDF版。
Oracle数据库是全球广泛使用的数据库管理系统之一,特别是在企业级应用中。11.2版本是Oracle数据库的一个重要里程碑,提供了许多增强的功能和优化。本篇文章将详细介绍Oracle数据库从11.2之前的版本升级到11.2的不同...
Upgrading to Office SharePoint Server 2007.
MS Press - Upgrading Visual Basic 6.0 to VB.NET
根据提供的文档信息,本文将详细解析从FreeRTOS升级到SafeRTOS的主要差异,这些差异主要集中在记忆体配置、函式参数检查以及内部资料检查三个方面。 ### 一、记忆体配置 在从FreeRTOS升级到SafeRTOS的过程中,记忆...
Upgrading and Repairing Networks, Fourth Edition Pages : 1248
这款"mp3固件升级工具(Mp3player Firmware Upgrading Tool)"是一款专为此目的设计的中文绿色版软件,简化了用户对MP3播放器进行固件更新的过程。 固件,全称固件程序,是存储在电子设备内部ROM或闪存中的控制程序,...
在这个版本中,性能得到了显著的提升,同时对开发者而言,语言的可用性和清晰度也有所增强。 ... 1. **改进的引擎:Zend Engine 3** ... - **标量类型声明**:允许开发者在函数参数和返回类型中指定必须是整型、浮点型、...
Oracle数据库是全球广泛使用的数据库管理系统之一,特别是在企业级应用中。11g版本是Oracle数据库的一个重要里程碑,其中11.1版包含了诸多性能优化、安全性增强和管理工具的改进。在进行Oracle数据库的升级时,有...
0106-Maintenance-Upgrading Oracle Applications - r115102ug
Upgrading JDBC drivers with Oracle Applications 11i (Doc ID 164317.1)
Upgrading Developer 6i with Oracle Applications 11i (Doc ID 125767.1)
Upgrading and Repairing Pcs, 17th Edition By Scott Mueller ............................................... Publisher: Que Pub Date: March 24, 2006 Print ISBN-10: 0-7897-3404-4 Print ISBN-13: 978...