Difference between revisions of "Centos2sme"

From SME Server
Jump to: navigation, search
(Version)
(Description)
 
(2 intermediate revisions by the same user not shown)
Line 27: Line 27:
 
=== Description ===
 
=== Description ===
 
This allow you to install SME on a minimal CentOS. All you need is network enabled to install the rpm.   
 
This allow you to install SME on a minimal CentOS. All you need is network enabled to install the rpm.   
 +
 +
{{Note box|Important: ensure networking is working when installing minimal CentOS}}
  
 
Everything is automated, all you will need is to answer to :  
 
Everything is automated, all you will need is to answer to :  
Line 34: Line 36:
 
- allowed IP and subnet to access the manager   
 
- allowed IP and subnet to access the manager   
  
'''Also, <u>before rebooting</u>, you will need to import your public RSA key to ~/.ssh/authorized_keys in order to be able to login after installation'''.  
+
'''Also, if you have setup and enabled,<u>before rebooting</u>, you will need to import your public RSA key to ~/.ssh/authorized_keys in order to be able to login after installation, otherwise default behaviour will apply'''.  
 
 
  
 
The root password configured on the initial CentOS installation is copied to the admin user.
 
The root password configured on the initial CentOS installation is copied to the admin user.
Line 42: Line 43:
  
 
System restoration using usb disk is disable to avoid locking you out on reboot, as it is considered you might not have a KVM access, and only ssh access.
 
System restoration using usb disk is disable to avoid locking you out on reboot, as it is considered you might not have a KVM access, and only ssh access.
 +
 +
The following can be performed once install/reboot is complete to initiate restore of a backup as per default behaviour on first reboot. 
 +
 +
config delete PasswordSet
 +
config setprop bootstrap-console Run Yes
 +
signal-event reboot
  
 
Be aware the first reboot might take awhile because of quota check...
 
Be aware the first reboot might take awhile because of quota check...
  
 
=== Installation ===
 
=== Installation ===
 +
You may have to install wget
 +
yum install wget
 +
 
Download the file and install
 
Download the file and install
 
  wget <nowiki>https://mirror.koozali.org/releases/9/smedev/x86_64/RPMS/smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm</nowiki>
 
  wget <nowiki>https://mirror.koozali.org/releases/9/smedev/x86_64/RPMS/smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm</nowiki>
Line 54: Line 64:
 
  centos2sme
 
  centos2sme
  
 +
Run this, if dependency errors occur it will have setup Koozali repos so updates can be actioned.
 +
 +
You may get dependency errors due to updates that have recently been pushed to Koozali mirrors.
 +
Most recently following are three that required further action due to recent changes:
 +
# yum downgrade initscripts
 +
# yum install yum-plugin-post-transaction-actions
 +
# yum install dhcp-common
 +
 +
Rerun install script
 +
# centos2sme
  
 
=== Uninstall ===
 
=== Uninstall ===

Latest revision as of 01:33, 2 December 2018




centos2sme
NeedImage.svg
centos2sme logo
MaintainerUnnilennium
Urlhttps://wiki.contribs.org
LicenceGPL
CategoryCategory:cli
Tags clicentosSMEinstall
Warning.png Warning:
Only for testing purpose, please report in bugzilla

Maintainer

Jean-Philippe Pialasse

Version

Devel 9:
smeserver-centos2sme
The latest version of smeserver-centos2sme is available in the SME repository, click on the version number(s) for more information.


Description

This allow you to install SME on a minimal CentOS. All you need is network enabled to install the rpm.


Important.png Note:
Important: ensure networking is working when installing minimal CentOS

Everything is automated, all you will need is to answer to :

- good old console configuration to set your server working as you want

- allowed IP and subnet to access the manager

Also, if you have setup and enabled,before rebooting, you will need to import your public RSA key to ~/.ssh/authorized_keys in order to be able to login after installation, otherwise default behaviour will apply.

The root password configured on the initial CentOS installation is copied to the admin user.

SSH access is open, with root login allowed, but only RSA SSH key allowed.

System restoration using usb disk is disable to avoid locking you out on reboot, as it is considered you might not have a KVM access, and only ssh access.

The following can be performed once install/reboot is complete to initiate restore of a backup as per default behaviour on first reboot.

config delete PasswordSet
config setprop bootstrap-console Run Yes
signal-event reboot

Be aware the first reboot might take awhile because of quota check...

Installation

You may have to install wget

yum install wget

Download the file and install

wget https://mirror.koozali.org/releases/9/smedev/x86_64/RPMS/smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm
yum install smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm

Launch the script

centos2sme

Run this, if dependency errors occur it will have setup Koozali repos so updates can be actioned.

You may get dependency errors due to updates that have recently been pushed to Koozali mirrors. Most recently following are three that required further action due to recent changes:

# yum downgrade initscripts
# yum install yum-plugin-post-transaction-actions
# yum install dhcp-common

Rerun install script

# centos2sme

Uninstall

yum remove smeserver-centos2sme 

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-centos2sme component or use this link


Below is an overview of the current issues for this contrib:
IDProductVersionStatusSummary
10535SME Contribs9.2VERIFIEDError installing centos2sme rpm

Changelog

Only released version in smecontrib are listed here.