We always recommend to install LiveConfig on an empty (fresh installed) system. If you have already any user data on your system, create a backup of all data and configuration files before LiveConfig installation.

You get all files required for installation at http://www.liveconfig.com/en/downloads. You can install LiveConfig either directly (for example as .deb package or as .rpm package) or using the LiveConfig repository. We recommend using the repository, because this way you also get all updates automatically.

The LiveConfig repositories also provide a meta package, which automatically installs all services and packages required for a typical web server setup. The meta package doesn't contain any files, but just the dependencies to the according packages provided by your distribution.

In the following sections we show the installation using a repository. You can find more detailed installation instructions, the description of a fully manual installation as well as additional tuning hints in our knowledge base at http://www.liveconfig.com/en/kb.

Use the following commands to import the LiveConfig GPG key and to add the repository:

wget -O - https://www.liveconfig.com/liveconfig.key | apt-key add -
cd /etc/apt/sources.list.d
wget http://repo.liveconfig.com/debian/liveconfig.list

Now update the repository database on your system:

aptitude update

If you want to have a typical web server setup (with Apache httpd, MySQL database, PHP and Postfix/Dovecot), just install the package liveconfig-meta:

aptitude install liveconfig-meta

LiveConfig itself is installed with the package liveconfig:

aptitude install liveconfig

The setup program asks you for a password for the admin account:

Finally you're asked whether you already have a license key for LiveConfig. If you do, then enter it here, otherwise just leave it empty.

That's it.

Use the following commands to import the LiveConfig GPG key and to add the repository:

wget -O - https://www.liveconfig.com/liveconfig.key | sudo apt-key add -
cd /etc/apt/sources.list.d
sudo wget http://repo.liveconfig.com/debian/liveconfig.list

Now update the repository database on your system:

sudo aptitude update

If you want to have a typical web server setup (with Apache httpd, MySQL database, PHP and Postfix/Dovecot), just install the package liveconfig-meta:

sudo aptitude install liveconfig-meta

LiveConfig itself is installed with the package liveconfig:

sudo aptitude install liveconfig

The setup program asks you for a password for the admin account:

Finally you're asked whether you already have a license key for LiveConfig. If you do, then enter it here, otherwise just leave it empty.

That's it.

Use the following commands to import the LiveConfig GPG key and to add the repository:

rpm --import https://www.liveconfig.com/liveconfig.key
zypper addrepo -f http://repo.liveconfig.com/opensuse/liveconfig.repo

If you want to have a typical web server setup (with Apache httpd, MySQL database, PHP and Postfix/Dovecot), just install the package liveconfig-meta:

zypper install liveconfig-meta

If you have installed the meta package, please run /usr/bin/mysql_secure_installation to remove unnecessary test accounts from the database and to set up a MySQL root password.

If you want to use suPHP then follow these steps:

  • Install the package suphp with this command:

    rpm -i http://download.opensuse.org/repositories/server:/php/openSUSE_12.1/x86_64/suphp-0.7.1-4.1.x86_64.rpm
  • Modify the file /etc/suphp.conf and change the settings for docroot, check_vhost_docroot, umask and the handler:

    ;Path all scripts have to be in
    docroot=/srv/www
    [...]
    ;Check whether script is within DOCUMENT_ROOT
    check_vhost_docroot=false
    [...]
    ;Umask to set, specify in octal notation
    umask=0022
    [...]
    [handlers]
    ;Handler for php-scripts
    application/x-httpd-php="php:/usr/bin/php-cgi"
  • Then add the suPHP module to the list of Apache modules and restart Apache:

    sysconf_addword /etc/sysconfig/apache2 APACHE_MODULES suphp
    systemctl restart apache2.service

LiveConfig itself is finally installed with the package liveconfig:

zypper install liveconfig

That's it.

Use the following commands to import the LiveConfig GPG key and to add the repository:

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

If you want to have a typical web server setup (with Apache httpd, MySQL database, PHP and Postfix/Dovecot), just install the package liveconfig-meta:

yum install liveconfig-meta

If you have installed the meta package, please run /usr/bin/mysql_secure_installation to remove unnecessary test accounts from the database and to set up a MySQL root password. If you're using the local CentOS firewall you also have to open the corresponding ports for the Apache web server:

lokkit --service=http --service=https

If you want to use suPHP then follow these steps:

  • Add the repository from Repoforge:

    rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
  • Install the package mod_suphp:

    yum install mod_suphp
  • Modify the file /etc/suphp.conf and change the settings for check_vhost_docroot, umask and the handler function:

    ;Path all scripts have to be in
    ;Check whether script is within DOCUMENT_ROOT
    check_vhost_docroot=false
    [...]
    ;Umask to set, specify in octal notation
    umask=0022
    [...]
    [handlers]
    ;Handler for php-scripts
    x-httpd-php="php:/usr/bin/php-cgi"
  • Then restart the Apache web server:

    service httpd restart

LiveConfig itself is finally installed with the package liveconfig:

yum install liveconfig

If using the CentOS firewall, you also have to open port 8443 to access LiveConfig:

lokkit -p 8443:tcp

That's it.

Prev   Next   Up   Home