Difference between revisions of "Centos 7"

From Amahi Wiki
Jump to: navigation, search
 
(34 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
message = This is only for developers. We are testing the potential implementation of Amahi with CentOS 7, therefore it's '''NOT''' for public use!}}
+
message = This is only for developers. CentOS for Amahi is currently '''ON HOLD!'''}}
 +
=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
 +
* <s>Create apps for C7</s>
 +
* <s>Test Apps (only [https://www.amahi.org/apps/phpsysinfo phpSysInfo] has been tested)</s>
 +
* Build Amahi-specific RPMs (''amahi-anywhere'', ''amahi-greyhole'', ''amahi-plex'', ''amahi-sync'', ''amahi-netboot'')
 +
* Test Netinstall method
 +
* <s>Build apps testbot</s>
 +
* Create custom Amahi CentOS 7 ISO (see [http://www.frankreimer.de/?p=522 Create Custom Centos 7 Kickstart boot CD ISO])
 +
* Determine solution to missing packages (from repos) for some applications
 +
 
 
=Installation=
 
=Installation=
 
==CentOS 7==
 
==CentOS 7==
Line 15: Line 28:
  
  
Follow the [https://www.howtoforge.com/tutorial/centos-7-minimal-server/ CentOS 7 Minimal Server] install guidance and create a user ('''root''' password not required).
+
Follow the [https://www.howtoforge.com/tutorial/centos-7-minimal-server/ CentOS 7 Minimal Server] install guidance using Minimal ISO and create a user ('''DON'T''' set ''root'' password).
  
 
==Amahi==
 
==Amahi==
Installation must be done as '''root''' user.
+
Installation must be done as ''root'' user.
 
* Install dependencies:
 
* Install dependencies:
  yum epel-release nano psmisc wget
+
  yum install epel-release nano psmisc wget
  yum gcc mysql-devel ruby-devel rubygems
+
  yum install gcc mysql-devel ruby-devel rubygems
 
* Download custom packages:
 
* Download custom packages:
 
  wget <nowiki>http://tdstatic.net/RPMs/hda-ctl-7.0.0-1.x86_64.rpm</nowiki>
 
  wget <nowiki>http://tdstatic.net/RPMs/hda-ctl-7.0.0-1.x86_64.rpm</nowiki>
Line 36: Line 49:
 
* Install Amahi:
 
* Install Amahi:
 
  hda-install INSTALL_CODE
 
  hda-install INSTALL_CODE
 +
 
=Known Issues=
 
=Known Issues=
* Amahi CentOS 7 Repo has not been established
+
* ''rubygem-mysql2'' and ''rubygem-ruby-dbus'' packages not available in CentOS or EPEL repo
* Apps are not ready (only [https://www.amahi.org/apps/phpsysinfo phpSysInfo] has been tested)
+
* Dashboard reflects MariaDB server not running ([https://bugs.amahi.org/issues/1802 Bug #1802])
* rubygem-mysql2 and rubygem-ruby-dbus packages not available in CentOS or the EPEL repo
+
* Not all app dependencies available in CentOS or EPEL repo (i.e. ''calibre'' is not)
 +
* Missing packages affects some apps
 +
** PHP 5.5 not available in the CentOS or EPEL repo (see [https://webtatic.com/packages/php55/ PHP 5.5]) as
 +
** RPM Fusion Repos do not appear available for CentOS 7 (see [http://rpmfusion.org/ RPM Fusion])
 +
* [http://repoforge.org/ RepoForge (formerly RPMForge)] does not appear to be a solution to replace RPM Fusion.  It's outdated and research indicates it's a dead project.
 +
 
 
=Bug Reports=
 
=Bug Reports=
 
See Amahi [https://bugs.amahi.org/issues/2081 Bug #2081] for development progress.
 
See Amahi [https://bugs.amahi.org/issues/2081 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 ([https://bugs.amahi.org/issues/1386 Bug #1386]) checklist was completed with no issues

Latest revision as of 00:18, 5 August 2016

Warning.png WARNING
This is only for developers. CentOS for Amahi is currently ON HOLD!


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
  • Create custom Amahi CentOS 7 ISO (see Create Custom Centos 7 Kickstart boot CD ISO)
  • Determine solution to missing packages (from repos) for some applications

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 install epel-release nano psmisc wget
yum install 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 app dependencies available in CentOS or EPEL repo (i.e. calibre is not)
  • Missing packages affects some apps
    • PHP 5.5 not available in the CentOS or EPEL repo (see PHP 5.5) as
    • RPM Fusion Repos do not appear available for CentOS 7 (see RPM Fusion)
  • RepoForge (formerly RPMForge) does not appear to be a solution to replace RPM Fusion. It's outdated and research indicates it's a dead project.

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