Updating Virtuoso Releases across Debian, Ubuntu, and Centos via the OpenLink Nexus Repo

Enabling Virtuoso automated updates from OpenLink RPM and Debian Repositories

The OpenLink Nexus Repository provides an online repository for obtaining automated updates of OpenLink products, Virtuoso being one of them. In this document we detail how Virtuoso installations on the following Linux distributions can be hooked into this repository to obtain automatic updates:

  • AWS RedHat Enterprise 7
  • AWS & Azure Ubuntu 18.04 LTS
  • Centos 7 / Centos 8
  • RedHat Enterprise 7
  • RedHat Enterprise 8
  • Ubuntu 18.04 LTS

AWS RedHat Enterprise 7

OpenLink provides Amazon BYOL & PAGO Virtuoso EC2 AMI MarketPlace Offers, that currently have to be manually updated to get new Virtuoso components.

These AMIs can be hooked into the OpenLink Nexus Repository to obtain automatic updates by performing the following command:

  1. Shutdown Virtuoso instance
. ./virtuoso-environment.sh
virtuoso-stop.sh
  1. Remove the current OpenLink License Manager (oplmgr) package
sudo yum erase oplmgr
  1. Install the EPEL metadata:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  1. Install the OpenLink repository metadata:
sudo yum install -y https://nexus.openlinksw.com/repository/openlink-files/openlink-rhel-repo.rpm
  1. Install the Virtuoso 8.3 packages for AWS EC2 with the command
sudo yum install -y virtuoso-8-commercial-ec2
  1. The Virtuoso installation is now hooked into the OpenLink Nexus Repository and updated to the latest Virtuoso components, and can be started and stopped with the Linux service commands:
sudo service virtuoso { start | status | stop }

Example output:

-bash-4.2$ sudo service virtuoso start
Starting virtuoso (via systemctl):                         [  OK  ]

-bash-4.2$ sudo service virtuoso status
● virtuoso.service - OpenLink Virtuoso Database
   Loaded: loaded (/usr/lib/systemd/system/virtuoso.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2021-07-23 10:54:42 EDT; 8s ago
  Process: 3170 ExecStop=/opt/virtuoso/bin/virtuoso-stop.sh $VIRTUOSO_DB_NAMES (code=exited, status=0/SUCCESS)
  Process: 3297 ExecStart=/opt/virtuoso/bin/virtuoso-start.sh $VIRTUOSO_DB_NAMES (code=exited, status=0/SUCCESS)
 Main PID: 3310 (virtuoso)
   CGroup: /system.slice/virtuoso.service
           └─3310 ./virtuoso

Jul 23 10:54:40 ip-172-30-4-57.ec2.internal systemd[1]: Starting OpenLink Vir...
Jul 23 10:54:40 ip-172-30-4-57.ec2.internal virtuoso-start.sh[3297]: Checking...
Jul 23 10:54:40 ip-172-30-4-57.ec2.internal virtuoso-start.sh[3297]: Using Li...
Jul 23 10:54:41 ip-172-30-4-57.ec2.internal virtuoso-start.sh[3297]: Starting...
Jul 23 10:54:41 ip-172-30-4-57.ec2.internal virtuoso-start.sh[3297]: - Starti...
Jul 23 10:54:42 ip-172-30-4-57.ec2.internal systemd[1]: Started OpenLink Virt...
Hint: Some lines were ellipsized, use -l to show in full.

-bash-4.2$ sudo service virtuoso stop
Stopping virtuoso (via systemctl):                         [  OK  ]
-bash-4.2$ 

AWS & Azure Ubuntu 18.04 LTS

The Virtuoso Ubuntu 18.04 LTS AWS PAGO, AWS BYOL, Azure PAGO and Azure BYOL offers are built from the OpenLink Nexus Repository and are thus automatically bound to the repository and can be updated to get the latest Virtuoso packages with the command:

sudo apt-get upgrade

Centos 7 and 8

On Centos 7 and 8 systems, be they in the Cloud or on premise standalone systems, the following command can be use to install the Virtuoso 8.3 RPM packages on such systems:

Install the EPEL metadata:

sudo yum install -y epel-release

Install the OpenLink repository metadata:

sudo yum install -y https://nexus.openlinksw.com/repository/openlink-files/openlink-rhel-repo.rpm

Install Virtuoso 8.3 on a local machine:

sudo yum install -y virtuoso-8-commercial-full

The Virtuoso installation is now hooked into the OpenLink Nexus Repository and updated to the latest Virtuoso components, and can be started and stopped with the Linux service commands:

sudo service virtuoso { start | status | stop }

The latest Virtuoso packages can be obtained from the OpenLink Nexus Repository with the command:

sudo yum update

RedHat Enterprise 7

On RedHat Enterprise 7 systems, be they in the Cloud or on premise standalone systems, the following command can be use to install the Virtuoso 8.3 RPM packages on such systems:

Install the EPEL metadata:

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Install the OpenLink repository metadata:

sudo yum install -y https://nexus.openlinksw.com/repository/openlink-files/openlink-rhel-repo.rpm

Install Virtuoso 8.3 on a local machine:

sudo yum install -y virtuoso-8-commercial-full

The Virtuoso installation is now hooked into the OpenLink Nexus Repository and updated to the latest Virtuoso components, and can be started and stopped with the Linux service commands:

sudo service virtuoso { start | status | stop }

The latest Virtuoso packages can be obtained from the OpenLink Nexus Repository with the command:

sudo yum update

RedHat Enterprise 8

On RedHat Enterprise 8 systems, be they in the Cloud or on premise standalone systems, the following command can be use to install the Virtuoso 8.3 RPM packages on such systems:

Install the EPEL metadata:

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Install the OpenLink repository metadata:

sudo yum install -y https://nexus.openlinksw.com/repository/openlink-files/openlink-rhel-repo.rpm

Install Virtuoso 8.3 on a local machine:

sudo yum install -y virtuoso-8-commercial-full

The Virtuoso installation is now hooked into the OpenLink Nexus Repository and updated to the latest Virtuoso components, and can be started and stopped with the Linux service commands:

sudo service virtuoso { start | status | stop }

The latest Virtuoso packages can be obtained from the OpenLink Nexus Repository with the command:

sudo yum update

Ubuntu 18.04 LTS

On Ubuntu 18.04 LTS, be they in the Cloud or on premise standalone systems, the following command can be use to install the Virtuoso 8.3 RPM packages on such systems:

Run the following command to install Virtuoso from the OpenLink Nexus Repository:

curl https://nexus.openlinksw.com/repository/openlink-files/openlink-ubuntu-ec2.sh | bash 2>&1 | tee /tmp/openlink-ubuntu-ec2.log

Check /tmp/openlink-ubuntu-ec2.log for any errors and if successful run the following command to enable the Virtuoso instance to auto start on reboot:

sudo systemctl enable virtuoso

The Virtuoso installation is now hooked into the OpenLink Nexus Repository and updated to the latest Virtuoso components, and can be started and stopped with the Linux service commands:

sudo service virtuoso { start | status | stop }

The latest Virtuoso packages can be obtained from the OpenLink Nexus Repository with the command:

sudo apt-get upgrade

Related