Fix CentOS 7 installation

Hadi Nategh 2017-06-20 12:47:43 +02:00
parent dde4091caa
commit 13417850df

@ -154,6 +154,10 @@ _Please note:_ for CentOS7 and RedHat 7 the installation differ from the 2\. ste
_Step 1 - all versions:_
* Recommendation: Enable auto-update for packages and run an update:
<pre>yum -y install yum-cron
yum -y update</pre>
Setup the EGroupware EPL repository.
Switch to directory /etc/yum.repos.d/
@ -244,7 +248,7 @@ Download with wget the installation rpm files: (Consider: if CentOS was installe
<pre>yum install wget
</pre>
<pre>wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
<pre>wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
</pre>
If your download fails, please check on the web page whether a newer version is supplied.
@ -314,6 +318,13 @@ Check whether a php version is already installed on your server with:
As a result the php version is returned or the message: not found
PHP Installation:
<pre>
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
sudo yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml
sudo systemctl restart httpd</pre>
Is php already installed, set for php the timezone of your region. Find file php.ini in directory /etc:
<pre>find /etc -name php.ini