From SME Server
Jump to: navigation, search

centos2sme logo
Tags clicentosSMEinstall
Warning.png Warning:
Only for testing purpose, please report in bugzilla


Jean-Philippe Pialasse


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


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...


You may have to install wget

yum install wget

Download the file and install (you might check the last available version in https://mirror.koozali.org/releases/9/smecontribs/x86_64/RPMS/ to adapte the following line)

wget https://mirror.koozali.org/releases/9/smecontribs/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


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


yum remove smeserver-centos2sme 


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:
No open bugs found.


Only released version in smecontrib are listed here.

smeserver-centos2sme Changelog: SME 9 (smecontribs)
2018/03/12 Jean-Philipe Pialasse 6.9.1-5.sme
- few improvements and bug fixes see patch improvements

2018/03/10 Jean-Philipe Pialasse 6.9.1-4.sme
- fix execution permission on /usr/bin/centos2sme [SME: 10535]
- added warning at the begining of script to check for working network interface
- added warning at end of script to add a SSH key before the reboot
- added full path to signal-event in the last messages

- set path after first packages installation.

2018/03/09 Jean-Philipe Pialasse 6.9.1-3.sme
- fix bad dependencies to smeserver release and formagick [SME: 10535]

- added requirement for centos-release between 6 and 7.
2018/03/09 Jean-Philipe Pialasse 6.9.1-2.sme
- initial version [SME: 10533]