Line 579: |
Line 579: |
| install a minimal Centos7 | | install a minimal Centos7 |
| configure network access during installation with option to restore. | | configure network access during installation with option to restore. |
− | yum update -y
| + | yum update -y |
| yum install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim | | yum install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim |
| + | |
| + | *disable SELinux |
| + | SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command: |
| + | getenforce |
| + | |
| + | SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands: |
| + | setenforce 0 |
| + | sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config |
| + | yum remove selinux-policy-targeted |
| + | |
| | | |
| * Enable SSH | | * Enable SSH |
Line 599: |
Line 609: |
| install SME10 repo | | install SME10 repo |
| | | |
− | vim /etc/yum.repos.d/smeserver10 | + | vim /etc/yum.repos.d/smeserver10.repo |
| | | |
| and paste | | and paste |
| | | |
| [smedev] | | [smedev] |
− | enabled=0 | + | enabled=1 |
− | baseurl=http://mirror.canada.pialasse.com/releases/testing/10/smedev/$basearch | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-10 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
| enablegroups=1 | | enablegroups=1 |
| [smetest] | | [smetest] |
− | enabled=0 | + | enabled=1 |
− | baseurl=http://mirror.canada.pialasse.com/releases/testing/10/smetest/$basearch | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-10 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
Line 617: |
Line 627: |
| [smeos] | | [smeos] |
| enabled=1 | | enabled=1 |
− | baseurl=http://mirror.canada.pialasse.com/releases/testing/10/smeos/$basearch | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-10 |
| + | name=SME Server - dev |
| + | gpgcheck=1 |
| + | enablegroups=1 |
| + | [smeupdates] |
| + | enabled=1 |
| + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-10 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
| enablegroups=1 | | enablegroups=1 |
− |
| |
| | | |
| | | |
Line 631: |
Line 646: |
| yum install epel-release | | yum install epel-release |
| | | |
− | install Repoforge 7 '''repo is no more maintained. However, for test purpose'''
| |
− | rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
| |
− |
| |
− | install ELRepo
| |
− | rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
| |
− | rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
| |
| then | | then |
− | yum clean all | + | yum --enablerepo=* clean all |
| | | |
− | try installing SME10 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... | + | try installing SME10 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... e.g. |
− | yum install e-smith-base | + | yum install e-smith-* smeserver-* --enablerepo=smedev,smetest,epel,base,updates |
| + | or |
| + | yum install e-smith-* smeserver-* |
| + | |
| + | you will have to disable postfix : |
| + | systemctl stop postfix |
| + | systemctl disable postfix |
| + | |
| + | latter it will be good to also deactivate networkManager, to leave network service doing the job, but you also need to configure e-smith db for the server first. |
| + | #systemctl stop NetworkManager |
| + | #systemctl disable NetworkManager |
| + | |
| + | |
| + | AT this point ( 2016/03/26 [[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]]) 13:44, 27 March 2016 (CEST)) you could issue a signal-event post-upgrade; signal-event-reboot; signal-event bootstrap-console-save;signal-event-reboot . But you would have no more network running, as default entry are empty for network. So you are better to expand necessary template using specific event to test each service. |
| | | |
| report here | | report here |
Line 735: |
Line 757: |
| |e-smith-backup-2.6.0-1.el7.sme.noarch | | |e-smith-backup-2.6.0-1.el7.sme.noarch |
| |perl(Unix::PasswdFile) | | |perl(Unix::PasswdFile) |
− | |NOT AVAILABLE | + | |in smedev10 |
− | | | + | |Build OK |
| |[[Bugzilla:9338]] | | |[[Bugzilla:9338]] |
| |- | | |- |
Line 757: |
Line 779: |
| |e-smith-manager-2.8.0-1.el7.sme.noarch | | |e-smith-manager-2.8.0-1.el7.sme.noarch |
| |perl-suidperl | | |perl-suidperl |
− | |in
| |
| | | | | |
| + | |FIXED |
| | [[Bugzilla:9339]] functionality not available on C7 | | | [[Bugzilla:9339]] functionality not available on C7 |
| + | |
| + | dep removed, will need a lot of code fix later |
| |- | | |- |
| |smeserver-spamassassin-2.6.0-1.el7.sme.noarch | | |smeserver-spamassassin-2.6.0-1.el7.sme.noarch |
− | |razor-agents >= 2.61-1 | + | |<s>razor-agents</s> perl-razor-agents |
− | |in see BUG | + | |in EPEL7 |
− | | | + | |NEEDCOPY |
| | [[Bugzilla:9336]] | | | [[Bugzilla:9336]] |
| |- | | |- |
Line 781: |
Line 805: |
| |hal | | |hal |
| | NOT AVAILABLE | | | NOT AVAILABLE |
− | | | + | |WONTFIX |
| |Hal has been dropped, it's no longer available in C7. move to systemd | | |Hal has been dropped, it's no longer available in C7. move to systemd |
| SMOLT has been removed from smeserver-support requires [[Bugzilla:9287]] need a workaround on this. | | SMOLT has been removed from smeserver-support requires [[Bugzilla:9287]] need a workaround on this. |
Line 801: |
Line 825: |
| |e-smith-base-5.8.0-1.el7.sme.noarch | | |e-smith-base-5.8.0-1.el7.sme.noarch |
| |pam_abl | | |pam_abl |
− | |in
| |
| | | | | |
| + | |REMOVED |
| |[[Bugzilla:9341]] | | |[[Bugzilla:9341]] |
| + | template still there, but requires removed |
| |- | | |- |
| |e-smith-nutUPS-2.6.0-2.el7.sme.noarch | | |e-smith-nutUPS-2.6.0-2.el7.sme.noarch |
Line 819: |
Line 844: |
| |e-smith-oidentd-2.6.0-1.el7.sme.noarch | | |e-smith-oidentd-2.6.0-1.el7.sme.noarch |
| |oidentd >= 2.0.6 | | |oidentd >= 2.0.6 |
− | |in EPEL6 | + | |in smedev10 |
− | | | + | | Build OK |
− | |[[Bugzilla:9340]] oidentd-2.0.8-8.el6.x86_64.rpm | + | |[[Bugzilla:9340]] |
| |- | | |- |
| |e-smith-lib-2.6.0-1.el7.sme.noarch | | |e-smith-lib-2.6.0-1.el7.sme.noarch |
Line 852: |
Line 877: |
| |- | | |- |
| |e-smith-mysql-2.6.0-1.el7.sme.noarch | | |e-smith-mysql-2.6.0-1.el7.sme.noarch |
− | |mysql-server | + | |<s>mysql-server</s> mariadb-server |
| |in centos7 | | |in centos7 |
− | |NOTABUG | + | |FIXED |
− | | yum install mysql-server | + | | [[Bugzilla:9345]] |
| + | mysql-community-server is accessible in a different repo |
| |- | | |- |
| |smeserver-spamassassin-2.6.0-1.el7.sme.noarch | | |smeserver-spamassassin-2.6.0-1.el7.sme.noarch |
Line 1,020: |
Line 1,046: |
| |e-smith-base-5.8.0-1.el7.sme.noarch | | |e-smith-base-5.8.0-1.el7.sme.noarch |
| |/usr/sbin/cpuspeed | | |/usr/sbin/cpuspeed |
− | |in smedev10
| |
| | | | | |
| + | | WONTFIX |
| |[[Bugzilla:9318]] Build OK - | | |[[Bugzilla:9318]] Build OK - |
| | | |
Line 1,096: |
Line 1,122: |
| |DCC | | |DCC |
| |in smedev10<Atomic7 | | |in smedev10<Atomic7 |
− | | | + | |Build OK |
| |[[Bugzilla:9331]] COPIED from Atomic | | |[[Bugzilla:9331]] COPIED from Atomic |
| | | |
− | But provides dcc not DCC ... | + | But provides dcc not DCC ... [[Bugzilla:9343]] |
| |- | | |- |
| |smeserver-qpsmtpd-2.6.0-1.el7.sme.noarch | | |smeserver-qpsmtpd-2.6.0-1.el7.sme.noarch |
Line 1,108: |
Line 1,134: |
| |- | | |- |
| |} | | |} |
| + | |
| + | completed on |
| + | 2016-03-18 |
| + | |
| + | ==Install SME packages and test== |
| + | |
| + | another milestone reached on 2016-03-18 : we were able to install |
| + | yum install e-smith-base --enablerepo=smedev,smetest,epel,base,updates |
| + | |
| + | and issue a |
| + | /sbin/e-smith/signal-event post-upgrade; /sbin/e-smith/signal-event reboot |
| + | |
| + | wit a system still booting after that :) |
| + | |
| + | we need now to test every base packages and functionality. |
| + | |
| + | Ahead we can think big blocking: |
| + | - perl-suid need to be replaced |
| + | - -> systemd |
| + | - grub -> grub2 |
| + | - |
| + | |
| + | == Horde Testing from John Bennett III == |
| + | |
| + | This is taken from an email sent by John to the dev discussion list, which may well contain useful information about configuring the system for testing: |
| + | |
| + | I personally didn't install the e-smith-horde,ingo,imp,turba packages, as those were built for horde 3, and I hadn't tested whether horde would even load using those files. I saw that some of updated horde files were going to be installed, because someone changed the dependency to Requires: horde >= 3.2, which tries to pull them from the centos repo. |
| + | |
| + | I tested what I have built and been using. They loaded fine, and brought in all of the other dependencies. |
| + | |
| + | Webserver wasn't working, enabled it using: |
| + | service httpd start or /bin/systemctl start httpd.service |
| + | |
| + | Permanently enable using: |
| + | systemctl enable httpd |
| + | |
| + | Couldn't access webserver. |
| + | |
| + | Also need to stop firewalld for now as well using: |
| + | service firewalld stop or /bin/systemctl stop firewalld.service |
| + | |
| + | For testing, I just disabled it permanently using: |
| + | /bin/systemctl disable firewalld.service |
| + | |
| + | to renable: |
| + | /bin/systemctl enable firewalld.service |
| + | |
| + | I am now able to access the webserver. Note, I put a sample index.html in the doc root to verify. |
| + | |
| + | I saved a copy of a good httpd.conf, then I did an expand-template /etc/httpd/conf/httpd.conf so that all of the horde information would be there. Re-starting httpd threw an error out, as expected. |
| + | |
| + | I manually changed /etc/httpd/conf.d/ssl.conf and added the alias info. Then manually changed httpd.conf and added all of the horde <Directory parameters, and remarked out the <directory stanzas that deny access to the whole server filesystem. Lines 102-105 for me. Didn't want to waste any additional time figuring out what needs to be really done at this time. |
| + | |
| + | Restarted httpd, then went to webmail, and the page appeared. |
| + | |
| + | Now on to mariabd. |
| + | |
| + | Enabled using: |
| + | systemctl enable mariadb |
| + | |
| + | cd /etc/e-smith/templates/etc/e-smith/sql/init/ and started to manually run all of the horde-related scripts. |
| | | |
| == Notes == | | == Notes == |