From 03d1db6162f5049add23ee1954459e0bac62507b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 14 Feb 2018 16:28:47 +0100 Subject: [PATCH] Add openSUSE installation instruction --- openSUSE-SLEs-Installation.md | 151 ++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) diff --git a/openSUSE-SLEs-Installation.md b/openSUSE-SLEs-Installation.md index 12cf3cc..453ff2b 100644 --- a/openSUSE-SLEs-Installation.md +++ b/openSUSE-SLEs-Installation.md @@ -19,3 +19,154 @@ below list. * * * **IMPORTANT:** ``EGroupware installation consists of two versions; EPL Version and Community Version. Technically, the only installation difference between EPL and Community version is their repository URLs. Please make sure you will follow relevant difference parts of your desired version.`` + +Are you an expert admin? then follow the Express Instruction below, otherwise +please follow [step-by-step](#step-by-step-installation) installation. + +| Express Instruction +|--------------------------------- +| [1](#step-1)- ``` vi /etc/zypp/repos.d/egroupware-epl.repo```

Add the following lines:

```#EGroupware EPL repository```

```[egroupware-epl]```
```name=EGroupware EPL (openSUSE VERSION)```
```type=rpm-md```
```baseurl = http://USERNAME:PASSWORD@download.egroupware.org/repos/stylite-epl/openSUSE_Leap_42.2/ ./```
```gpgkey = http://USERNAME:PASSWORD@download.egroupware.org/repos/stylite-epl/openSUSE_Leap_42.2/repodata/repomd.xml.key```
```gpgcheck=1```
```enabled=1```
```autorefresh=1``` +| [2](#step-2)- ```zypper update``` +| [3](#step-3)- ```zypper install mariadb egroupware-epl```

follow the installation instruction +| [4](#step-4)- ```less /root/egroupware-epl.log``` +| [5](#step-5)- ***Congratulations!!!*** You may login to your EGroupware instance + +****** + +### STEP-BY-STEP INSTALLATION + +You can quickly install EGroupware by following below steps: + +#### step 1: +Add EGroupware repository into source lists in order to fetch EGroupware's packages. + +``` + vi /etc/zypp/repos.d/egroupware-epl.repo +``` + +For EPL Version: +``` +#EGroupware EPL repository +deb http://USERNAME:PASSWORD@download.egroupware.org/repos/stylite-epl/DISTRO_NAME/ ./ +``` +Example: +``` +#EGroupware EPL repository +deb http://peter:secret@download.egroupware.org/repos/stylite-epl/openSUSE_Leap_42/ ./ +``` +OR + +For Community Version: +``` +#EGroupware Community repository +deb http://download.egroupware.org/repositories/server:/eGroupWare/DISTRO_NAME/ ./ +``` +Example: +``` +#EGroupware Community repository +deb http://download.opensuse.org/repositories/server:/eGroupWare/openSUSE_Leap_42/ ./ +``` +Replace the following variables used in above urls with your own values:
+*USERNAME*:*PASSWORD* are your given credentials for EPL version.
+ +*DISTRO_NAME*: Means the version of distribution you're install EGroupware on it. You can find out the right version name from following list:
+ + + + + + + + + + + + + + + + + + + +
DISTRO_NAME
openSUSE_Leap_42.3openSUSE_Leap_42.2openSUSE_Leap_42.1openSUSE_13.2openSUSE_13.1openSUSE_11.4
SLE_12SLE_11_SP3SLE_11_SP2SLE_11_SP1SLE_11SLE_10
+ + +*** if you are not sure what distribution you're running, simply execute the following command:
+``` +cat /etc/os-release +``` + +#### Step 2: +After adding EGroupware's repository into sources list, we need to update to fetch packages. Before doing the update we are going to make sure that we have the repository key +added. + +EGroupware EPL Version: +``` +wget -O - http://USER:PASSWORD@download.egroupware.org/build%40egroupware.org | apt-key add - +``` +OR + +EGroupware Community Version: +``` +wget -nv https://download.opensuse.org/repositories/server:eGroupWare/Debian_9.0/Release.key -O Release.key | apt-key add - +``` +if you're not running Debian_9.0 please see [DISTRO_NAME](https://software.opensuse.org/download.html?project=server%3AeGroupWare&package=egroupware-epl) to find out your distro specific url. + +``` +apt update +``` + +#### Step 3: + +Now it's time to install egroupware-epl packages. Depends on the webserver you +would like to use with EGroupware, you may install a webserver among the egroupware-epl +packages, by default Apache will be installed. + +``` apt install egroupware-epl ``` + +e.g. for nginx installation: + +``` apt install nginx php-fpm egroupware-epl``` + +follow the installation instruction as shown in following figures: + +``In the following instructions whenever you leave a password field empty, +a randomized password gets generated which you can get access to it via egroupware-epl.log +file after installation is completed.`` + + + + + + + + + + + + + + +
+ +#### Step 4: +You may check egroupware-epl.log file in order to check if everything went well during the installation plus you can get access to your egroupware credentials. + +``` +less /root/egroupware-epl.log +``` + +from this moment on you may get logged in to your EGroupware instance via the mentioned +url in egroupware-epl.log. Although, before doing that we highly do recommend to take couple of more steps to adjust couple of settings for [PHP and MyQL](https://github.com/EGroupware/egroupware/wiki/Basic-PHP-%26amp%3B-MySQL-Adjustments) in order to get the best performance. + +#### Step 5: +Congratulations!!! + +_back to [Content](#content)_ + +* * * + +##### End of Document + +* * *