Difference between revisions of "Install openQRM on Debian"

From openQRM
(Created page with "This HowTo is about how to install the openQRM Datacenter Management and Cloud Computing platform on Debian. It is the starting point for a set of openQRM HowTos explaining di...")
 
(added short install version)
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
This HowTo is about how to install the openQRM Datacenter Management and Cloud Computing platform on Debian. It is the starting point for a set of openQRM HowTos explaining different Use-cases with the focus on virtualization, automation and cloud computing.
+
This How-To explains installing the openQRM Datacentre Management and Cloud Computing platform on Debian. It is the starting point for a set of openQRM How-Tos explaining different Use-cases with the focus on virtualisation, automation and cloud computing.
  
Requirements
+
'''Requirements'''
  
One physical Server. Alternatively, the installation can be also done within a Virtual Machine
+
* One physical Server. Alternatively, the installation can be also done within a Virtual Machine
at least 1 GB of Memory
+
* At least 1 GB of Memory
at least 100 GB of Diskspace
+
* at least 40 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
+
* 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.
 
  
In this Howto, we will use 192.168.178.5/255.255.255.0 as the IP configuration for the openQRM Server system.
+
=== Install Debian  ===
  
In the partitioning, setup please 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'.
+
# Install a minimal Debian on a physical Server. During the installation select 'manual network' configuration and provide a static IP address. In this tutorial we will use 192.168.178.5/255.255.255.0 as the IP configuration for the openQRM Server system.
 +
# Remember to use/set a Fully Qualified Domain Name (FQDN) as the sytem's hostname and domain. It does not need to resolve, but its important to be set.
 +
# 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'.
 +
# In the software selection dialog select just 'SSH-Server'
 +
# After the installation finished please login to the system and update its packaging system as 'root':
  
In the software selection dialogue select just 'SSH-Server'
+
<blockquote>''apt-get update && apt-get upgrade'' </blockquote>
  
After the installation finished please log in to the system and update its packaging system as 'root'
+
=== Install openQRM - the short version ===
 +
1. download and un-compress openQRM Community or Enterprise to /usr/src
  
apt-get update && apt-get upgrade
+
2. un tar and install ;
  
+
Community;
  
Please notice!
+
''tar -zxf openQRM-5.3.50-Community-Edition.tgz ; cd openQRM-5.3.50-Community-Edition/ ; ./install-openqrm.sh''
  
In the recent Debian updates the /etc/php5/apache2/php.ini configuration derective "disable_functions" changed and includes now a bunch of functions disabled by default. Please 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 paramter for Apache!
+
Enterprise;
  
It should look likt this:
+
''tar -zxf openQRM-5.3.50-Enterprise-Edition.tgz ; cd openQRM-5.3.50-Enterprise-Edition/ ; ./install-openqrm.sh''
  
disable_functions = ""
+
This process can take a short while, whilst it installs the supporting openQRM packages. Minimum 10 minutes if you have fast internet and a decent kvm.
  
Then restart Apache by
+
4. suggestion: add PVE kernel to KVM first, if used in conjunction with a Proxmox VE installation,
  
/etc/init.d/apache2 restart
+
wget <nowiki>http://download.proxmox.com/debian/dists/bullseye/pve-no-subscription/binary-amd64/pve-kernel-5.11.22-3-pve_5.11.22-7_amd64.deb</nowiki>
  
Install openQRM
+
5. create mysql openqrm user and password, flush privileges
Get the openQRM
 
  
openQRM is available from openQRM Enterprise at
+
mysql -e "grant all on openqrm.* to 'openqrm'@'localhost' identified by 'openqrm'; flush privileges"
  
http://www.openqrm-enterprise.com/
+
6. reboot, this is useful to the current KVM kernel (now the pve kernel) will be used as the default linux kernel.
  
You can also use the instructions below to install openQRM from the source repository or by packages.
+
7. then configure openqrm via web (remember the steps above the username and password are both openqrm), the last screen will take 5-10 minutes whilst openQRM rebuilds the current kernel's initrd into an openQRM compabille boot
  
The installation procedure for openQRM is straight forward.
+
=== Install openQRM - the longer version ===
 +
Purchase and download openQRM
  
Please unpack the openqrm-enterprise.tar.gz file:
+
openQRM is available from openQRM Enterprise at
tar -xvzf openqrm-enterprise.tar.gz
 
  
Then run as 'root'
+
<nowiki>http://www.openqrm-enterprise.com/</nowiki>
cd openqrm-enterprise
 
./install-openqrm.sh
 
  
During the installation please confirm the following warning from the libphp-adodb package.
+
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.
  
Make sure to set a password for the mysql-server and nagios3 package.
+
# Unpack the openqrm-enterprise.tar.gz file:
  
 +
<blockquote>''tar -xvzf openqrm-enterprise.tar.gz''</blockquote>2. Then run as 'root'<blockquote>''cd openqrm-enterprise''
  
 +
''./install-openqrm.sh''</blockquote>Make sure to set a password for the mysql-server and nagios4 package.
 +
[[File:Csm 02-openqrm-install e007a58550.png|none|thumb|390x390px|Setting a password]]
 
The installation also asks for the mail-configuration. If unsure please select "local only" and go on with the suggested system name.
 
The installation also asks for the mail-configuration. If unsure please select "local only" and go on with the suggested system name.
 
+
[[File:Csm 04-openqrm-install b8db1a2840.png|none|thumb|390x390px|Mail-Configuration]]
 
 
 
The last step of the installation provides you with the URL, username and password to login to the openQRM Server
 
The last step of the installation provides you with the URL, username and password to login to the openQRM Server
 +
[[File:Csm 06-openqrm-install fa5cc24876.png|none|thumb|390x390px|openQRM login credentials]]
  
 
+
=== Installation by packages ===
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':
 
 
 
apt-get install make subversion
 
 
 
svn checkout svn://svn.code.sf.net/p/openqrm/code/trunk openqrm
 
 
 
cd openqrm/src && make && make install && make start
 
 
 
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
 
To install openQRM by distribution packages please request the package installation from openQRM Enterprise
  
Configure and initialize openQRM
+
=== Configure and initialize openQRM ===
After a successful installation the openQRM Server web interface is available at
+
After a successful installation the openQRM Server web interface is available at<blockquote>''<nowiki>http://static-ip-configured-during-the-Debian-installation/openqrm</nowiki>''</blockquote>If you have set the suggested IP address for this howto the openQRM URL will be<blockquote>''<nowiki>http://192.168.178.5/openqrm</nowiki>''</blockquote>Open this URL in your Web browser. Login with the username 'openqrm' and the password 'openqrm'. Then select the network interface to use for the openQRM management network
 
+
[[File:Csm 07-openqrm-install 602e7d0524.png|none|thumb|390x390px|Network Interface selection screen]]Then select 'mysql' as the database type
http://static-ip-configured-during-the-Debian-installation/openqrm
+
[[File:Csm 08-openqrm-install 5a821c5713.png|none|thumb|390x390px|Database type selection]]
 
+
At the next step, provide the database credentials
If you have set the suggested IP address for this howto the openQRM URL will be
+
[[File:Csm 09-openqrm-install 10b3d582f9.png|none|thumb|390x390px|Database configuration]]
 
+
For the openQRM Enterprise Edition, the following page provides an simple option to upload the licence keys
http://192.168.178.5/openqrm
+
[[File:Csm 10-openqrm-install 3a06f002ca.png|none|thumb|390x390px|Upload licence keys]]
 
 
Please open this URL in your Web browser. Login with the username 'openqrm' and the password 'openqrm'. Then select the network interface to use for the openQRM management network
 
 
 
 
 
Then select 'mysql' as the database type
 
 
 
  
As the next step provide the database credentials
 
  
 +
Once the license keys are provided openQRM will rebuild the current kernel into an openQRM initramdisk, this may take 5-10 minutes.
  
For the openQRM Enterprise Edition the following page provides an simple option to upload the license keys
 
  
 +
'''Congratulations!!'''
  
Congratulations!!
+
openQRM is now installed and successfully initialized ready to manage all aspects of your datacentre
  
openQRM is now installed and successfully initialized ready to manage all aspects of your datacenter.
+
[[File:Csm 11-openqrm-install 8cdf50bf05.png|frameless|390x390px]]
  
 +
*
  
Links
+
[[Category:Tutorial]]
openQRM Community: http://www.openqrm.com/
+
[[Category:Debian]]
openQRM Project at sourceforge: http://sourceforge.net/projects/openqrm/
+
[[Category:Howto]]
openQRM Enterprise: http://www.openqrm-enterprise.com/
 
openQRM at Twitter: https://twitter.com/openQRM
 
openQRM at Facebook: https://www.facebook.com/pages/openQRM-Enterprise/324904179687
 

Revision as of 17:01, 29 August 2021

This How-To explains installing the openQRM Datacentre Management and Cloud Computing platform on Debian. It is the starting point for a set of openQRM How-Tos explaining different Use-cases with the focus on virtualisation, automation and cloud computing.

Requirements

  • One physical Server. Alternatively, the installation can be also done within a Virtual Machine
  • At least 1 GB of Memory
  • at least 40 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

  1. Install a minimal Debian on a physical Server. During the installation select 'manual network' configuration and provide a static IP address. In this tutorial we will use 192.168.178.5/255.255.255.0 as the IP configuration for the openQRM Server system.
  2. Remember to use/set a Fully Qualified Domain Name (FQDN) as the sytem's hostname and domain. It does not need to resolve, but its important to be set.
  3. 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'.
  4. In the software selection dialog select just 'SSH-Server'
  5. After the installation finished please login to the system and update its packaging system as 'root':

apt-get update && apt-get upgrade

Install openQRM - the short version

1. download and un-compress openQRM Community or Enterprise to /usr/src

2. un tar and install ;

Community;

tar -zxf openQRM-5.3.50-Community-Edition.tgz ; cd openQRM-5.3.50-Community-Edition/ ; ./install-openqrm.sh

Enterprise;

tar -zxf openQRM-5.3.50-Enterprise-Edition.tgz ; cd openQRM-5.3.50-Enterprise-Edition/ ; ./install-openqrm.sh

This process can take a short while, whilst it installs the supporting openQRM packages. Minimum 10 minutes if you have fast internet and a decent kvm.

4. suggestion: add PVE kernel to KVM first, if used in conjunction with a Proxmox VE installation,

wget http://download.proxmox.com/debian/dists/bullseye/pve-no-subscription/binary-amd64/pve-kernel-5.11.22-3-pve_5.11.22-7_amd64.deb

5. create mysql openqrm user and password, flush privileges

mysql -e "grant all on openqrm.* to 'openqrm'@'localhost' identified by 'openqrm'; flush privileges"

6. reboot, this is useful to the current KVM kernel (now the pve kernel) will be used as the default linux kernel.

7. then configure openqrm via web (remember the steps above the username and password are both openqrm), the last screen will take 5-10 minutes whilst openQRM rebuilds the current kernel's initrd into an openQRM compabille boot

Install openQRM - the longer version

Purchase and download openQRM

openQRM is available from openQRM Enterprise at

http://www.openqrm-enterprise.com/

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. Unpack the openqrm-enterprise.tar.gz file:

tar -xvzf openqrm-enterprise.tar.gz

2. Then run as 'root'

cd openqrm-enterprise ./install-openqrm.sh

Make sure to set a password for the mysql-server and nagios4 package.

Setting a password

The installation also asks for the mail-configuration. If unsure please select "local only" and go on with the suggested system name.

Mail-Configuration

The last step of the installation provides you with the URL, username and password to login to the openQRM Server

openQRM login credentials

Installation by packages

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

Configure and initialize 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 suggested IP address for this howto the openQRM URL will be

http://192.168.178.5/openqrm

Open this URL in your Web browser. Login with the username 'openqrm' and the password 'openqrm'. Then select the network interface to use for the openQRM management network

Network Interface selection screen

Then select 'mysql' as the database type

Database type selection

At the next step, provide the database credentials

Database configuration

For the openQRM Enterprise Edition, the following page provides an simple option to upload the licence keys

Upload licence keys


Once the license keys are provided openQRM will rebuild the current kernel into an openQRM initramdisk, this may take 5-10 minutes.


Congratulations!!

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

Csm 11-openqrm-install 8cdf50bf05.png