Installing the web server

To install the Wazi Image Builder web server, run the installer with the root user ID.

  1. Open the directory where the installation package wib-install.tgz is stored.
    cd <directory>
  2. 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
  3. Run the installer, and then follow instructions to complete the installation.
    ./<installer_name>
    Standard installation
    This option will install Wazi Image Builder with the following default settings:
    Default user ID for running the web server
    wib
    Default web server installation directory
    /opt/ibm/wib
    Default port for accessing the web server
    9443
    Default user ID for logging into the web server
    wibadmin
    Custom installation
    You can follow instructions to modify all default settings and complete the installation.
    Note: Terraform is required only when you deploy custom images to your target environment in IBM Cloud®. By running the web server installer, you can choose to automatically install the Terraform binary from HashiCorp. You can also install Terraform manually.
    Alternatively, you can run the following command to install the web server silently. Silent installation does not install any required dependencies. You need to install the dependencies before you start the installer silently. For the list of dependencies, see Hardware and software requirements.
    ./<installer_name> --install --wib --wib_port=<port_number> --wib_user=<username> --wib_path=<installation_path> --wib_password=<password>
  4. 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. Before you log in with your user ID and password, complete the following steps: