我要评分
获取效率
正确性
完整性
易理解

Upgrading ExaGear for Server on Ubuntu

Before the Upgrade

  1. Ensure that ExaGear for Server has been installed on the host system.
  2. Copy all ExaGear for Server configuration files to the host system directory for backup.
    1
    cp -r /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/* /tmp
    

Performing the Upgrade

  1. Run the following commands to upgrade the ExaGear for Server software package:
    1
    2
    sudo dpkg -i exagear-utils_<package_version>_all.deb exagear-core-x64a64_<package_version>_arm64.deb exagear-core-x32a64_<package_version>_arm64.deb exagear-guest-for-ubuntu-<os_version>-x86_64-<package_version>_all.deb exagear-integration_<package_version>_all.deb
    sudo apt-get install -f 
    
  2. Combine the ExaGear for Server configuration file that is backed up with the default configuration files after the upgrade. For example, to combine the configuration file vpath-list in the shared directory, run the following command:
    1
    cat /tmp/vpaths-list /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/vpaths-list |sort|uniq > /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/vpaths-list
    

Post-upgrade Check

Run the following command to check the ExaGear for Server version after upgrade:

1
/opt/exagear/bin/ubt_x64a64_al -v

If the values of Revision and <package_version> are the same, the upgrade is complete.

The target version of ExaGear for Server is installed based on the source version. All Linux applications on x86 and ExaGear for Server configurations on the guest system are retained.