How can we upgrade php in an ezeelogin installed server ?

1. Backup existing jump server installation 

     Execute the following script on your server to generate a backup of your installation so that you can restore the backup in case the upgrade breaks.

[email protected]:~$/usr/local/sbin/backup_ezlogin.php

       

This would create a executable archive of your ezeelogin installation in /var/ezlogin_backup_v6.2.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin

Execute the backup bin file to restore if something goes wrong and you would live to revert. 

 You need to downgrade/switch back to previous version of php before restoring the backup.

2.  Upgrade the PHP version in the system and install ioncube loader to corresponding PHP version after PHP upgrade.

 

3. Download the ezeelogin package corresponding to the PHP version you have installed from the customer portal 

    Upgrade ezeelogin with the following command 

[email protected]:~$ sh ezlogin_7.x.x_php71.bin -- -update -skipbackup

   Follow the onscreen prompts to complete the upgrade.

 

 

Restoring ezeelogin from backup

 

If something is broken after the upgrade, no worries. We will restore the backup from the archive that was created. You would first need to uninstall the current installation on the gateway. Run the following script to uninstall  

 

[email protected]:~$ /usr/local/sbin/uninstall_ezlogin.php

 

Now that we have uninstalled, we can go ahead restore the binary backup archive that was created. 

 You need to downgrade/switch back to previous version of php before restoring the backup.

[email protected] :~# sh /var/ezlogin_backup_v7.0.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin

 

 

 

     

 

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 1980 times since Fri, Sep 1, 2017
    How to export servers ?
    Viewed 2347 times since Sat, Sep 2, 2017
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 1185 times since Thu, Jun 15, 2017
    How do i uninstall ezeelogin?
    Viewed 1570 times since Wed, Jun 14, 2017
    Migrate jump server installation from one server to another
    Viewed 1606 times since Wed, Jun 14, 2017
    Database connectivity credentials and configuration file
    Viewed 1091 times since Thu, Nov 23, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 3241 times since Thu, Jun 15, 2017
    How do i export all server password into an excel file?
    Viewed 1245 times since Thu, Jun 15, 2017
    how to create a complete backup of ezeelogin installation?
    Viewed 1412 times since Thu, Jun 15, 2017
    How to change the private key in use and change the default public key in use?
    Viewed 2036 times since Fri, Dec 1, 2017