We will indicate two easy ways to update Pandora FMS console, server and database:
- The easiest way to update the Pandora FMS console is through the “Update Manager”, we have it located in the options sidebar inside the Pandora FMS console, once selected, three options are displayed, we select “Update manager online”, inside this option we follow the instructions that the menu indicates and we will have our console and the DB updated.
- Note: The server watering has to be done in a manual way, which is described in the following update option.
- Updating through tar.gz files.
- We have to download the files corresponding to the open part of the Console web, Enterprise part and server :
pandorafms_console-7.0NG.7XX.tar.gz
pandorafms_console_enterprise-7.0NG.7XX.tar.gz
pandorafms_server_enterpise-7.0NG.7XX.tar.gz
- Open console update:
- We have to download the files corresponding to the open part of the Console web, Enterprise part and server :
[root@pandora ~]# tar -zxvf pandorafms_console-7.0NG.7XX.tar.gz [root@pandora ~]# cp -rf pandora_console/* /var/www/html/pandora_console/ [root@pandora ~]# chown apache:apache /var/www/html/pandora_console [root@pandora ~]# mv /var/www/html/pandora_console/install.php /var/www/html/pandora_console/install.php.done
-
- Enterprise console update:
[root@pandora ~]# tar -zxvf pandorafms_console_enterprise-7.0NG.7XX.tar.gz [root@pandora ~]# cp -rf enterprise/* /var/www/html/pandora_console/enterprise/ [root@pandora ~]# chown apache:apache /var/www/html/pandora_console/enterprise
-
- Updating BD:
root@pandora ~]# cd /var/www/html/pandora_console/extras/mr/ [root@pandora ~]# mysql -u root -p pandora <mysql> source XX.sql; <mysql> update tconfig set value=XX where token='mr'; <mysql> update tconfig set value = '7XX' where token = 'current_package_enterprise';
-
- Enterprise server update:
[root@pandora ~]# tar -zxvf pandorafms_server_enterprise-7.0NG.7XX.tar.gz [root@pandora ~]# cd pandora_server/ [root@pandora ~]# ./pandora_server_installer --install [root@pandora ~]# /etc/init.d/pandora_server restart