Install openQRM on Debian

From openQRM
Revision as of 15:43, 23 October 2020 by Stvsyf (talk | contribs)

This HowTo is about how to install the openQRM Datacentre Management and Cloud Computing platform on Debian.

Requirements:

  • One physical Server. Alternatively, the installation can be also done within a Virtual Machine
  • at least 1 GB of Memory
  • at least 100 GB of Diskspace
  • optional VT for Intel CPUs or AMD-V for AMD CPUs (Virtualization Technology) enabled in the Systems BIOS so that the openQRM Server can run Virtual Machines later
  • Install Debian Wheezy
  • Install a minimal Debian on a physical Server. During the installation select 'manual network' configuration and provide a static IP address.

NOTE: In this Howto, we will be using 192.168.178.5/255.255.255.0 as the IP configuration for the openQRM Server system as an example.

  1. In the partitioning setup, select 'manual' and create one partition for the root-filesystem, one as swap space plus a dedicated partition to be used as storage space for the Virtual Machines later. In the configuration of the dedicated storage partition select 'do not use'.
  2. In the software selection dialogue select just 'SSH-Server'
  3. After the installation finished please log in to the system and update its packaging system as 'root' by using:

apt-get update && apt-get upgrade


Please notice!

In the recent Debian updates the /etc/php5/apache2/php.ini configuration directive "disable_functions" changed and includes now a bunch of functions disabled by default. Open /etc/php5/apache2/php.ini in your favourite editor and search for "disable_functions". Then remove ALL functions from the "disable_functions" PHP configuration parameter for Apache!

It should look like this:

disable_functions = ""

Then restart Apache by

/etc/init.d/apache2 restart

Installing openQRM

openQRM Enterprise is available from our website

You can also use the instructions below to install openQRM from the source repository or by packages.

The installation procedure for openQRM is straight forward.

  1. Please unpack the openqrm-enterprise.tar.gz file:
    • tar -xvzf openqrm-enterprise.tar.gz
  2. Then run as 'root'
    • cd openqrm-enterprise
./install-openqrm.sh

During the installation please confirm the following warnings from the libphp-adodb package.

  1. Make sure to set a password for the MySQL-server and nagios3 package.
  2. The installation also asks for the mail-configuration. If unsure please select "local only" and go on with the suggested system name.
  3. The last step of the installation provides you with the URL, username and password to login to the openQRM Server

Installation from the latest source code
openQRM is designed to install and update easily directly from its source repository. To install openQRM please login to the fresh installed Debian system and run the following commands as 'root':

  1. apt-get install make subversion
  2. svn checkout svn://svn.code.sf.net/p/openqrm/code/trunk openqrm
  3. cd openqrm/src && make && make install && make start

NOTE: To update openQRM at any time run:

cd openqrm/src && svn up && make update

Installation by packages
To install openQRM by distribution packages, please request the package installation from openQRM Enterprise

Configuring and initialising openQRM
After a successful installation, the openQRM Server web interface is available at

http://static-ip-configured-during-the-Debian-installation/openqrm

If you have set the IP address as the example for this HowTo, the openQRM URL will be

http://192.168.178.5/openqrm

  1. Open this URL in your Web browser. Log in with the username 'openqrm' and the password 'openqrm'. Then select the network interface to use for the openQRM management network
  2. Select 'MySQL' as the database type
  3. Provide the database credentials
  4. If you're using the openQRM Enterprise Edition, the following page provides a simple option to upload the license keys

Congratulations!! openQRM is now installed and successfully initialized ready to manage all aspects of your datacentre.