Oracle Linux 7
Oracle Linux 7 Installation
Introduction
Please check that the assumptions and requirements documented in the installation overview have been suitably completed.
Oracle Linux Repositories
Enable the necessary packages for Oracle Linux. First, enable two archive repositories preconfigured on all OEL7 distributions:
vi /etc/yum.repos.d/epel-yum-ol7.repo
Find the repository configuration for:
ol7_latest_archive
ol7_optional_archive
and enable them. The configuration will appear similar to this:
[ol7_latest_archive]
name=Oracle Linux $releasever Latest ($basearch) - Archive
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL7/latest/archive/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol7_optional_archive]
name=Oracle Linux $releasever Optional ($basearch) - Archive
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL7/optional/archive/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
Next configure the Oracle Linux EPEL repository. Create a new yum repository file epel-yum-ol7.repo
:
vi /etc/yum.repos.d/epel-yum-ol7.repo
with the content:
[ol7_epel]
name=Oracle Linux $releasever EPEL ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
N-Squared Yum Package Repository
N-Squared provides a RPM repository that is used to provide a number of dependencies that otherwise are
not available through standard channels (particularly the n2svcd
package itself).
In order to use this repository, set up the N-Squared OEL yum repository by creating a record for it in the file:
vi /etc/yum.repos.d/nsquared.repo
Add the following content to the file with access credentials that are provided by N-Squared:
[nsquared]
gpgcheck=1
enabled=1
name=N-Squared Software Releases
baseurl=https://<username>:<password>@www.nsquared.nz/rpm/release/oel/7
Import the N-Squared GPG key for the RPM packages downloaded from our Yum repository
rpm -import https://nsquared.nz/RPM-GPG-KEY-nsquaredsoftware.pub
Clean all the existing repositories to update yum:
yum clean all
Update the available repositories to refresh the available package list:
yum update
Note that organisational security or operational guidelines might require our repository to be accessed through a local satellite repository, rather than direct as shown here.
Package Installation
N2LUA
N-Squared provides a customised Lua package for N2SVCD. Install this:
yum install n2lua
N2SVCD
Once all pre-requisites are installed as described above, the n2svd
package is to be installed. The latest released version of N2SVCD can be installed via yum:
yum install n2svcd
Once installed, follow the post-installation tasks, and then configure N2SVCD by following the configuration documentation.