This article describes the installation of LiveConfig on an EC2 instance of Amazon Web Services (AWS).

We assume you're familiar with the basics of EC2 and know how to set up an instance with the desired image and how to connect to this by SSH.

Preparing the EC2 instance

Create a new EC2 instance in an availability zone of your choice. In this example we're using the image ami-4dbf9e7d (Red Hat Enterprise Linux 7.1 (HVM), SSD Volume Type). The smallest machine type (micro) suffices.

Installing LiveConfig

Connect to your server with SSH:

ssh -i <Key> ec2-user@<Server IP>

The install the GPG key for the LiveConfig packages and the LiveConfig repository:

sudo rpm --import https://www.liveconfig.com/liveconfig.key
cd /etc/yum.repos.d
sudo curl -Os http://repo.liveconfig.com/centos/liveconfig.repo
sudo yum update

When running yum update for the first time, it may happen that some hundred packages will be updated (depending on how old the image is).

If you want to install a „complete“ LiveConfig server (including web server, mail server and database server), you can install the package liveconfig-meta. Using dependencies, this sets up all required packages. Alternatively, you can also install only the desired single packages (see CentOS installation instructions).

sudo install liveconfig-meta

Finally install LiveConfig:

sudo install liveconfig

Activate your LiveConfig license. If you don't have one yet, request a free 30 day trial license or buy one at one of our partners or in our online shop.

sudo liveconfig --activate

Afterwards, restart LiveConfig (to use the activated license):

sudo service liveconfig restart


If the package mod_fcgid hasn't been installed, then do this now. Only so you can run PHP using FastCGI (sudo yum install mod_fcgid).

If SELinux is enabled, we recommend you to disable it (setenforce 0). SELinux is basically usable in shared hosting environments, but requires many adjustments. Some things like ImageMagick are extremely hard to get running.

Configure the EC2 firewall

To access your server you first have to open some ports in the EC2 firewall. By default, only access via SSH (port 22) is allowed. In your EC2 management console, go to Network & SecuritySecurity Groups and edit the Inbound Rules:

Inbound Rules

For LiveConfig you need to open port 8443, for webspace the ports 80 (HTTP) and 443 (HTTPS). E-Mail requires ports 25 and 587 (SMTP), 110 and 995 (POP3/POP3S), 143 and 993 (IMAP/IMAPS).

en/installation/aws.txt · Zuletzt geändert: 2015/12/05 20:59 von wikiadmin