Difference between revisions of "Centos 7"

From Amahi Wiki
Jump to: navigation, search
Line 51: Line 51:
 
* ''rubygem-mysql2'' and ''rubygem-ruby-dbus'' packages not available in CentOS or EPEL repo
 
* ''rubygem-mysql2'' and ''rubygem-ruby-dbus'' packages not available in CentOS or EPEL repo
 
* Dashboard reflects MariaDB server not running ([https://bugs.amahi.org/issues/1802 Bug #1802])
 
* Dashboard reflects MariaDB server not running ([https://bugs.amahi.org/issues/1802 Bug #1802])
* Not all RPMs used in apps will be available in CentOS or EPEL repo (i.e. ''calibre'')
+
* Not all Amahi app RPMs available in CentOS or EPEL repo (i.e. ''calibre'' is not)
  
 
=Bug Reports=
 
=Bug Reports=

Revision as of 17:40, 16 July 2016

Warning.png WARNING
This is only for developers. We are testing the potential implementation of Amahi with CentOS 7, therefore it's NOT for public use!


Objective

Configure and test installation of Amahi 9 with CentOS 7.2 for potential adoption for the next Amahi release. This is ONLY for development testing by the Amahi staff!

To Do

  • Create Amahi repo
  • Create apps for C7
  • Test Apps (only phpSysInfo has been tested)
  • Build Amahi-specific RPMs (amahi-anywhere, amahi-greyhole, amahi-plex, amahi-sync, amahi-netboot)
  • Test Netinstall method
  • Build apps testbot

Installation

CentOS 7

Download CentOS 7.2:


Follow the CentOS 7 Minimal Server install guidance using Minimal ISO and create a user (DON'T set root password).

Amahi

Installation must be done as root user.

  • Install dependencies:
yum epel-release nano psmisc wget
yum gcc mysql-devel ruby-devel rubygems
  • Download custom packages:
wget http://tdstatic.net/RPMs/hda-ctl-7.0.0-1.x86_64.rpm
wget  http://tdstatic.net/RPMs/hda-platform-9.0.0-1.x86_64.rpm
wget  http://tdstatic.net/RPMs/rubygem-mysql2-0.4.4-1.x86-64.rpm
wget  http://tdstatic.net/RPMs/rubygem-ruby-dbus-0.11.1-1.noarch.rpm
  • Install custom packages:
yum localinstall hda-ctl-7.0.0-1.x86_64.rpm 
yum localinstall hda-platform-9.0.0-1.x86_64.rpm
yum localinstall rubygem-mysql2-0.4.4-1.x86-64.rpm
yum localinstall rubygem-ruby-dbus-0.11.1-1.noarch.rpm
  • Install Ruby Gems:
gem install mysql2 ruby-dbus
  • Install Amahi:
hda-install INSTALL_CODE

Known Issues

  • rubygem-mysql2 and rubygem-ruby-dbus packages not available in CentOS or EPEL repo
  • Dashboard reflects MariaDB server not running (Bug #1802)
  • Not all Amahi app RPMs available in CentOS or EPEL repo (i.e. calibre is not)

Bug Reports

See Amahi Bug #2081 for development progress.

Development Notes

  • Install of CentOS 7.2 Minimal ISO is the only tested method
  • Procedures for Amahi install have not been sufficiently tested
  • Platform (Bug #1386) checklist was completed with no issues