Ajenti Installation Script for Redhat 7


#!/bin/bash

if [ “$(id -u)” != “0” ]; then
echo “This script must be run as root” 1>&2
exit 1
fi

Adding EPEL repo
rpm -ivh http://download.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm || true

Adding Ajenti repo
rpm -ivh http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm

Installing package
yum install ajenti -y

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s