Performing minor updates on a CentOS/ RedHat based WAPT Server

Attention

Ports 80 and 443 are used by the WAPT Server and must be available.

  • first of all, update the CentOS/ RedHat underlying distribution:

    yum update
    
  • upgrade the WAPT Server:

    Attention

    • If you subscribed to WAPT Enterprise don’t use that repo but the Enterprise repository provided in your documentation.

    Modify the repository address then launch the upgrade.

    cat > /etc/yum.repos.d/wapt.repo <<EOF
    [wapt]
    name=WAPT Server Repo
    baseurl=https://wapt.tranquil.it/centos7/wapt-1.7/
    enabled=1
    gpgcheck=0
    EOF
    
    yum update
    yum install postgresql96-server postgresql96-contrib tis-waptserver tis-waptsetup
    

    If you have retrieved the WAPT RPM Packages with a wget, we can install the new packages using a yum command.

    yum install tis-wapt*.rpm
    
  • launch the post-configuration step:

    Note

    • we advise that you launch the post-configuration steps after each server upgrade so that the server uses the latest configuration format;
    • it is not required to reset a password for the WAPT console during the post-configuration step;
    • if you have personalized the configuration of Nginx, do not answer Yes when the post-configuration asks you to configure Nginx;
    /opt/wapt/waptserver/scripts/postconf.sh
    
  • start the WAPT Server:

    systemctl start waptserver
    
  • upgrade the WAPT console by following the same set of steps as installing the WAPT console;

  • then create the WAPT agent:

    You will have to keep the same prefix for your packages and change nothing in relation to the private key/ public certificate pair!

    This will generate a waptupgrade package in the private repository.

    Note

    There are two methods for deploying the updates:

    • using a GPO and waptdeploy;
    • using a waptupgrade package and deploy it using WAPT;
  • update the WAPT agents:

    The steps to follow to update WAPT agents are the same as the ones to first install the WAPT agents.

    Download and install the latest version of the WAPT agent by visiting http://wapt.mydomain.lan/wapt/waptagent.exe.

    As mentioned above, this procedure may be made automatic with a GPO or a waptupgrade package.