Difference between revisions of "Centos 7"
From Amahi Wiki
(6 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. | + | message = This is only for developers. CentOS for Amahi is currently '''ON HOLD!'''}} |
=Objective= | =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! | 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! | ||
Line 10: | Line 10: | ||
* Create Amahi repo | * Create Amahi repo | ||
* <s>Create apps for C7</s> | * <s>Create apps for C7</s> | ||
− | * Test Apps (only [https://www.amahi.org/apps/phpsysinfo phpSysInfo] has been tested) | + | * <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'') | * Build Amahi-specific RPMs (''amahi-anywhere'', ''amahi-greyhole'', ''amahi-plex'', ''amahi-sync'', ''amahi-netboot'') | ||
* Test Netinstall method | * Test Netinstall method | ||
− | * Build apps testbot | + | * <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]) | * 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= | ||
Line 32: | Line 33: | ||
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 53: | Line 54: | ||
* 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 app dependencies available in CentOS or EPEL repo (i.e. ''calibre'' is not) | * Not all app dependencies available in CentOS or EPEL repo (i.e. ''calibre'' is not) | ||
− | * PHP 5.5 not available in the CentOS or EPEL repo (see [https://webtatic.com/packages/php55/ PHP 5.5]) | + | * Missing packages affects some apps |
− | * RPM Fusion Repos do not appear available for CentOS 7 (see [http://rpmfusion.org/ RPM Fusion]) | + | ** 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= |
Latest revision as of 00:18, 5 August 2016
WARNING | |
---|---|
This is only for developers. CentOS for Amahi is currently ON HOLD! |
Contents
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 C7Test 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:
- Netinstall ISO (376MB):
- Minimal ISO (603MB):
- HTTP - CentOS-7-x86_64-Minimal-1511.iso
- Torrent - CentOS-7-x86_64-Minimal-1511.torrent
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