Installing Rivendell on an RHEL-7 System

Fred Gleason


Table of Contents

Introduction
Overview
Prerequisites
Installing the Base Distribution
Running the Installation Script
Final Details

Introduction

Overview

This technical note contains procedures for installing the Rivendell Radio Automation System on a system running RHEL 7.x derived distributions. Such distributions include:

  • Community Enterprise OS (CentOS) 7.x

  • RedHat Enterprise Linux 7.x

  • Scientific Linux 7.x

Installing Rivendell on these platforms consists of three primary steps:

  1. Install the base distribution and establish an Internet connection.

  2. Bootstrap and run the installation script.

  3. Secure accounts and finish up final details.

Prerequisites

The following items are required to complete the installation.

  • Target hardware. 64 bit (x86_64) AMD or Intel architecture is supported.

  • A generic installer image for the distribution. DVD, Network and USB installation sources are all supported.

  • A working Internet connection.

  • A basic working knowledge of how to install vanilla RHEL 7.x. Consult the documentation of the particular distribution for more information.

Installing the Base Distribution

Install the base distribution in 'Minimal' mode.

Set the root password, but do not create any other users.

When basic installation is complete and after rebooting, log in as user root.

Then run the command:

nmtui

This will start up the NetworkManager utility.

To autoconfigure a connection via DHCP and bring it up, use the arrow keys to select the Activate a connection menu item and then press ENTER.

Using the arrow keys and the spacebar, select the desired network interface on the left, then select the Activate item on the right and press ENTER. Finally, select the Quit and press ENTER to exit the utility.

Now, set the hostname of system with the command:

hostnamectl set-hostname hostname

hostname should be all lower-case, alphanumeric and not more than 32 characters.

Once Internet access is functioning, update the entire installation with the command:

yum -y update

Reboot when the update is complete with the command:

reboot

The system is now ready to have Rivendell installed.

Running the Installation Script

Log back in as user root and run the following commands:

yum -y install wget

wget http://download.paravelsystems.com/CentOS/7/Paravel-Broadcast.repo -P /etc/yum.repos.d/

wget http://download.paravelsystems.com/CentOS/7/RPM-GPG-KEY-Paravel-Broadcast -P /etc/pki/rpm-gpg

yum -y install rivendell-install

Three different types of installation are available. For a stand-alone setup (single, self-contained Rivendell system), start the script with the command:

/root/install_rivendell.sh --standalone

For a server setup (system capable of hosting Rivendell client machines that share the server's database and audio store), start the script with the command:

/root/install_rivendell.sh --server

For a pure client setup (one that uses a central server for the database and audio store), first create a host entry for the new client in RDAdmin on the server (RDAdmin->ManageHosts->Add), then start the script with the command:

/root/install_rivendell.sh --client

Depending upon the speed of the Internet connection, installation can take between several minutes to an hour or more. When installation is complete, reboot the system with the command:

reboot

Final Details

After rebooting, the system will come back in GUI mode, automatically logged in as user rd. To secure the system fully, perform the following steps:

  1. Open a shell by clicking on the Applications button in the upper right-hand corner of the desktop, selecting the System menu and clicking on the Xfce Terminal item.

  2. Enter the following command to get root permissions:

    su -

    You will be prompted for a password. Enter the root password and then press Enter. The password will not be echoed to the screen as you enter it.

  3. Set the password for the local rd account with the following command:

    passwd rd

  4. Set the MariaDB administrator password with the following command (substitute your password for pwd and the name of the system for host):

    echo "SET PASSWORD FOR root@localhost = PASSWORD('pwd');" | mysql -u root

  5. Remove the Rivendell installer script with the following command:

    yum -y remove rivendell-install

The system is now ready for service.