Difference between revisions of "User:ReetP:SME on CentOS 7"
(SME Server on CentOS 7) |
m (RequestedDeletion moved page SME on CentOS 7 to User:ReetP:SME on CentOS 7: Non categorized personal page) |
(No difference)
|
Latest revision as of 00:04, 27 December 2015
Don't try this at home :-)
For fun I thought I would try to see what happened if I tried to crowbar SME 9 packages on to Cent OS 7.
Remember that CentOS 7 uses systemd. If you don't like it or want it then leave now.
Quite frankly this is not for the faint hearted and will break most stuff. Using a VM is the way to go.
I started with CentOS 7 Minimal. No user, just root.
Notes so far
As a starter I followed this :
http://wiki.contribs.org/index.php?title=SME_on_CentOS_6&oldid=18561
CentOS 7 minimal
Get your network up :
dhclient eth0
Start ssh and login :
service sshd start or /bin/systemctl start sshd.service
Grab a few basic tools :
yum install mc net-tools wget
To check your network :
ifconfig
or use :
ip link ip addr
Do we need to disable selinux ?
Enabled in config-3.10.0-327.el7.x86_64
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
shutdown -r now
[root@pc-00087 yum.repos.d]# sestatus SELinux status: disabled
Backup repos :
mkdir /tmp/repo.bak mv /etc/yum.repos.d/*.repo /tmp/repo.bak/
Get some v9 repos and keys:
wget -O /etc/yum.repos.d/sme9.repo http://bugs.contribs.org/attachment.cgi?id=3652 rpm --import http://sme-mirror.firewall-services.com/releases/9/smeos/x86_64/RPM-GPG-KEY-SMEServer rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt rpm --import https://fedoraproject.org/static/217521F6.txt rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7 rpm --import http://www.salstar.sk/pub/yum/keys/RPM-GPG-KEY-Fedora-Pre-Extras
Then I tried some variations on this line with some from the CentOS 6 efforts :
yum --disablerepo=* --enablerepo=base,epel,smeupdates9,smeupdates-testing9,smeos9,smeupdates9 install e-smith\* smeserver\*
There are some 'not founds' for some packages :
Error: Package: e-smith-base-5.6.0-24.el6.sme.noarch (smeos9) Requires: /usr/sbin/cpuspeed Available: 1:cpuspeed-1.5-22.el6.x86_64 (smeos9) Not found
Error: Package: perl-WWW-Automate-0.21-1.2.el6.rf.noarch (smeos9) Requires: perl(HTML::Form) Available: perl-libwww-perl-5.833-2.el6.noarch (smeos9) perl(HTML::Form) = 5.829 Installing: perl-libwww-perl-6.05-2.el7.noarch (base) Not found
There are also a lot of perl dependency issues :
Error: Package: python-simplejson-2.0.9-3.1.el6.x86_64 (smeos9) Requires: libpython2.6.so.1.0()(64bit) Available: python-libs-2.6.6-64.el6.x86_64 (smeos9) libpython2.6.so.1.0()(64bit) Installed: python-libs-2.7.5-34.el7.x86_64 (@anaconda) ~libpython2.7.so.1.0()(64bit) Error: Package: perl-Text-Template-1.45-3.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: php-imap-5.3.3-46.el6_6.x86_64 (smeos9) Requires: php-common(x86-64) = 5.3.3-46.el6_6 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php-common(x86-64) = 5.3.3-46.el6_6 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php-common(x86-64) = 5.4.16-36.el7_1 Error: Package: e-smith-base-5.6.0-24.el6.sme.noarch (smeos9) Requires: hal Available: hal-0.5.14-14.el6.x86_64 (smeos9) hal = 0.5.14-14.el6 Error: Package: e-smith-mysql-2.4.0-9.el6.sme.noarch (smeos9) Requires: mysql-server Available: mysql-server-5.1.73-5.el6_6.x86_64 (smeos9) mysql-server = 5.1.73-5.el6_6 Error: Package: 1:net-snmp-libs-5.5-54.el6_7.1.x86_64 (smeos9) Requires: librpm.so.1()(64bit) Available: rpm-libs-4.8.0-47.el6.x86_64 (smeos9) librpm.so.1()(64bit) Installed: rpm-libs-4.11.3-17.el7.x86_64 (@anaconda) ~librpm.so.3()(64bit) Error: Package: php-horde-horde-lz4-1.0.7-1.el6.x86_64 (epel) Requires: php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(api) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(api) = 20100412-64 Error: Package: perl-Test-Harness-Straps-0.30-4.el6.sme.noarch (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: 1:net-snmp-libs-5.5-54.el6_7.1.x86_64 (smeos9) Requires: librpmio.so.1()(64bit) Available: rpm-libs-4.8.0-47.el6.x86_64 (smeos9) librpmio.so.1()(64bit) Installed: rpm-libs-4.11.3-17.el7.x86_64 (@anaconda) ~librpmio.so.3()(64bit) Error: Package: php-pecl-lzf-1.6.2-2.el6.x86_64 (epel) Requires: php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(api) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(api) = 20100412-64 Error: Package: php-pecl-geoip-1.0.8-3.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(zend-abi) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(zend-abi) = 20100525-64 Error: Package: php-horde-Horde-Text-Filter-2.3.1-1.el6.noarch (epel) Requires: php-tidy Error: Package: perl-Convert-TNEF-0.17-10.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: mod_authnz_external-3.2.6-1.el6.x86_64 (epel) Requires: httpd-mmn = 20051115 Available: httpd-2.2.15-47.el6.centos.x86_64 (smeos9) httpd-mmn = 20051115 Installing: httpd-2.4.6-40.el7.centos.x86_64 (base) httpd-mmn = 20120211x8664 httpd-mmn = 20120211-x86-64 httpd-mmn = 20120211 Error: Package: php-horde-horde-lz4-1.0.7-1.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(zend-abi) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(zend-abi) = 20100525-64 Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(zend-abi) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(zend-abi) = 20100525-64 Error: Package: 1:net-snmp-libs-5.5-54.el6_7.1.x86_64 (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: python-simplejson-2.0.9-3.1.el6.x86_64 (smeos9) Requires: python(abi) = 2.6 Installed: python-2.7.5-34.el7.x86_64 (@anaconda) python(abi) = 2.7 python(abi) = 2.7 Available: python-2.6.6-64.el6.x86_64 (smeos9) python(abi) = 2.6 Error: Package: nut-client-2.6.5-2.el6.x86_64 (epel) Requires: python(abi) = 2.6 Installed: python-2.7.5-34.el7.x86_64 (@anaconda) python(abi) = 2.7 python(abi) = 2.7 Available: python-2.6.6-64.el6.x86_64 (smeos9) python(abi) = 2.6 Error: Package: php-pecl-mongo-1.4.4-1.el6.x86_64 (epel) Requires: php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(api) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(api) = 20100412-64 Error: Package: perl-Net-Server-2.007-2.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: e-smith-base-5.6.0-24.el6.sme.noarch (smeos9) Requires: /usr/sbin/cpuspeed Available: 1:cpuspeed-1.5-22.el6.x86_64 (smeos9) Not found Error: Package: perl-MIME-tools-5.427-4.el6.noarch (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: perl-Net-IP-1.25-13.el6.noarch (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: perl-Authen-PAM-0.16-8.el6.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: perl-RPM2-0.68-4.el6.x86_64 (epel) Requires: librpm.so.1()(64bit) Available: rpm-libs-4.8.0-47.el6.x86_64 (smeos9) librpm.so.1()(64bit) Installed: rpm-libs-4.11.3-17.el7.x86_64 (@anaconda) ~librpm.so.3()(64bit) Error: Package: php-pecl-lzf-1.6.2-2.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(zend-abi) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(zend-abi) = 20100525-64 Error: Package: perl-Convert-BinHex-1.119-10.1.el6.noarch (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: pyzor-0.5.0-3.el6.noarch (epel) Requires: python(abi) = 2.6 Installed: python-2.7.5-34.el7.x86_64 (@anaconda) python(abi) = 2.7 python(abi) = 2.7 Available: python-2.6.6-64.el6.x86_64 (smeos9) python(abi) = 2.6 Error: Package: perl-WWW-Automate-0.21-1.2.el6.rf.noarch (smeos9) Requires: perl(HTML::Form) Available: perl-libwww-perl-5.833-2.el6.noarch (smeos9) perl(HTML::Form) = 5.829 Installing: perl-libwww-perl-6.05-2.el7.noarch (base) Not found Error: Package: perl-File-MMagic-1.27-7.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: e-smith-ldap-5.4.0-19.el6.sme.noarch (smeos9) Requires: db4-utils Available: db4-utils-4.7.25-20.el6_7.x86_64 (smeos9) db4-utils = 4.7.25-20.el6_7 Error: Package: perl-IO-Multiplex-1.13-1.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: php-pecl-mongo-1.4.4-1.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(zend-abi) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(zend-abi) = 20100525-64 Error: Package: pam_abl-0.2.3-1.el6.rf.x86_64 (smeos9) Requires: libdb-4.7.so()(64bit) Available: compat-db47-4.7.25-28.el7.x86_64 (base) libdb-4.7.so()(64bit) Available: db4-4.7.25-20.el6_7.x86_64 (smeos9) libdb-4.7.so()(64bit) Error: Package: perl-RPM2-0.68-4.el6.x86_64 (epel) Requires: librpmio.so.1()(64bit) Available: rpm-libs-4.8.0-47.el6.x86_64 (smeos9) librpmio.so.1()(64bit) Installed: rpm-libs-4.11.3-17.el7.x86_64 (@anaconda) ~librpmio.so.3()(64bit) Error: Package: smolt-1.4.3-5.el6.sme.noarch (smeos9) Requires: hal Available: hal-0.5.14-14.el6.x86_64 (smeos9) hal = 0.5.14-14.el6 Error: Package: e-smith-manager-2.6.0-1.el6.sme.noarch (smeos9) Requires: perl-suidperl Available: 4:perl-suidperl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl-suidperl = 4:5.10.1-141.el6_7.1 Error: Package: e-smith-grub-2.4.0-3.el6.sme.noarch (smeos9) Requires: grub Available: 1:grub-0.97-94.el6.x86_64 (smeos9) grub = 1:0.97-94.el6 Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (epel) Requires: php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(api) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(api) = 20100412-64 Error: Package: nut-2.6.5-2.el6.x86_64 (epel) Requires: hal Available: hal-0.5.14-14.el6.x86_64 (smeos9) hal = 0.5.14-14.el6 Error: Package: perl-Crypt-Cracklib-1.7-1.el6.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: perl-Taint-Util-0.08-1.el6.rf.x86_64 (smeos9) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: nut-client-2.6.5-2.el6.x86_64 (epel) Requires: hal Available: hal-0.5.14-14.el6.x86_64 (smeos9) hal = 0.5.14-14.el6 Error: Package: perl-RPM2-0.68-4.el6.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: perl-Net-IPv4Addr-0.10-6.el6.noarch (epel) Requires: perl(:MODULE_COMPAT_5.10.1) Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (smeos9) perl(:MODULE_COMPAT_5.10.1) Installed: 4:perl-5.16.3-286.el7.x86_64 (@base) ~perl(:MODULE_COMPAT_5.16.0) ~perl(:MODULE_COMPAT_5.16.1) ~perl(:MODULE_COMPAT_5.16.2) ~perl(:MODULE_COMPAT_5.16.3) Error: Package: php-pecl-geoip-1.0.8-3.el6.x86_64 (epel) Requires: php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (smeos9) php(api) = 20090626 Installing: php-common-5.4.16-36.el7_1.x86_64 (base) php(api) = 20100412-64