Upgrading the web server

To upgrade the Wazi Image Builder web server, you must run the installer with the root user ID.

  1. Open the directory where the installation package wib-install.tgz is stored.
    cd <directory>
  2. Change the authority of the installation package.
    chmod 755 <package_name>
  3. Decompress the installation package.
    tar -xvf <package_name>
    When the decompression is complete, the installers can be found in the target directory. If you don't specify a target directory, the installers can be found in the same directory where the installation package is.
    Web server installer
    wib-install
  4. Run the installer, and then follow instructions to upgrade.
    ./<installer_name>
    You can upgrade the web server with the following options.
    • Select 1 to reinstall the web server with existing settings except the password of the web server.
    • Select 2 to refresh the installation of the web server by removing all existing settings and configuring new settings.
    More information about the settings can be found in topic Installing the web server.
    Alternatively, you can upgrade the web server silently by using the following command.
    ./<installer_name> --update --wib
  5. After the installation completes, run the following command to verify whether the installation is successful.
    • RHEL operating system
      rpm -qa | grep wibapp
    • Ubuntu operating system
      dpkg -l | grep wibapp
    If the web server is installed successfully, information, including the right version number, of the installed application is returned.

What's next

If you set the web server to start automatically, you can find the web server URL in the output. If you selected to start the web server manually, you can follow the instructions in topic Starting and stopping the web server.