message: Readme: add multiverse repo cli to fix problems between different ubuntu flavors. rewrote some instructions to be more clear about root/sudo usage
diff: @@ -8,26 +8,19 @@ need to be adjusted for use on the internet.
  - Ubuntu 18.04 Server installed with default settings.
  - CoX Client for the PIGG files (```magnet:?xt=urn:btih:c2e7e0aa72004594337d73ae6a305242e23d815f```)
  -*If you choose ubuntu desktop, you might have to activate "multiverse" repository to get all qt depends.*
  -
  **1. Install dependencies**
  ```
  +sudo -i
  +add-apt-repository multiverse
  apt update && apt upgrade -y
  apt install build-essential cmake git qt5-default libqt5websockets5-dev qtdeclarative5-dev
  ```
  +*NOTE: everything is done as root!*
  -**2. Create SEGS user and set permissions**
  -
  -```
  -useradd -s /bin/bash -r segs
  -chmod o+w /usr/src /opt
  -```
  -
  -**3. Build SEGS-Server binarys**
  +**2. Build SEGS-Server binarys**
  ```
  -su segs
  cd /usr/src
  git clone https://github.com/Segs/Segs.git
  mkdir Segs/build
  @@ -36,7 +29,7 @@ cmake ..
  make
  ```
  -**4. Move SEGS binarys and edit the settings to fit your needs**
  +**3. Move SEGS binarys and edit the settings to fit your needs**
  ```
  mv out /opt/segs
  @@ -45,7 +38,7 @@ cp settings_template.cfg settings.cfg
  vi settings.cfg
  ```
  -**5. Copy COX content to the SEGS-Server data directory**
  +**4. Copy COX content to the SEGS-Server data directory**
  Upload or copy the *.pigg files from your COH-Clients piggs directory (ex. ```"C:\Program Files (x86)\CoX\piggs"```)
  over to the segs data directory (ex. ```"/opt/segs/data"```) and use the line below to extract them.
  @@ -54,7 +47,7 @@ over to the segs data directory (ex. ```"/opt/segs/data"```) and use the line be
  find /opt/segs/data/ -name '*.pigg' -exec /opt/segs/piggtool -x {} /opt/segs/data/ \;
  ```
  -**6. Create gamedb and users**
  +**5. Create gamedb and users**
  Inside the SEGS-Server directory ```"/opt/segs"``` use dbtool to create the gamedb and admin user.
  @@ -63,7 +56,7 @@ Inside the SEGS-Server directory ```"/opt/segs"``` use dbtool to create the game
  ./dbtool adduser -l USERNAME -p PASSWORD -a 9 adduser
  ```
  -**7. Configure SEGS as SystemD service and start**
  +**6. Configure SEGS as SystemD service and start**
  Switch to root (or sudo user) for the last steps and create system service.
  @@ -88,13 +81,13 @@ Restart=on-failure
  WantedBy=multi-user.target
  ```
  -Remove login to segs user and set permissions back
  +**7. Create SEGS user and set permissions**
  ```
  -usermod -s /usr/sbin/nologin segs
  -chmod o-w /usr/src /opt
  +useradd -s /usr/sbin/nologin -r segs
  +chown segs:segs -R /opt/segs
  ```
  -Start SEGS
  +**8. Start SEGS**
  ```
  systemctl start segs
  