Installing with an RPM

From iDENprotect Knowledge Base
Jump to: navigation, search

If you do not yet have the RPM file downloaded, please see our Downloads and Links page

If you are looking to upgrade an existing installation please see Upgrading an RPM installation

Introduction

The installation of idenprotect Core Platform, idenprotect Authentication Portal and idenprotect User Portal is done using RPM files.

This article assumes that you already have a server installed and configured. If you have not, please see our Idenprotect Core Platform Prerequisites


Installation

You can create an idenprotect server via a single RPM. This will install the idenprotect Core Platform and other required components (NGINX, Maria DB) if required. These instructions are for a Centos 7 installation that has access to the internet.

Installation Order

Due to the dependencies of the idenprotect Authentication Portal and idenprotect User Portal, the applications should be installed in the following order: -

  1. idenprotect Core Platform
  2. idenprotect Authentication Portal
  3. idenprotect User Portal
  4. idenprotect Radius Server (optional)

Step-by-step Guide

Installing epel-release

  • Using an account with root privileges run the following command
yum -y install epel-release

On some Linux distributions you may see an error like

Another App is holding the yum lock;

This may be due to a service called packagekit

To stop this use the command

systemctl stop packagekit

This will enable the download of some dependent packages.

Updating MariaDB

  • Using an account with root privileges run the following command
yum update MariaDB

If yum update MariaDB fails you made need to create a file in /etc/yum.repos.d called MariaDB.repo that contains the following

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1

Note there are some compatibility issues with MariaDB 10.4 that we are currently addressing. So at this stage, we recommend 10.3

Installing the RPM

NOTE: If you are installing the idenprotect Authentication Portal, please ensure you have followed the guidance on Authentication Portal Configuration first as the Authentication Portal will gather some of its properties from the idenprotect Core Platform

  • Place the RPM file in a directory on your server (you can do this using SCP or by directly downloading using something like wget)
  • Using an account with root privileges, navigate to the directory and run the following command
yum --nogpgcheck localinstall packagename.rpm

Where packagename is the rpm you are installing, eg idenprotect-server-1.3.2-116b.el7.noarch.rpm

  • Accept the changes and updates and the idenprotect software should install


Next Steps

During the RPM installation, it is normal to see some errors reported. You can verify if the installation has been successful by following the steps found in Verifying an RPM installation