This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubu1604:helios [2021/09/25 21:58] – Bernard Condrau | ubu1604:helios [2022/07/27 14:55] (current) – [Web Server - Ubuntu Xenial Xerus 16.04 LTS ESM] Bernard Condrau | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Server - Ubuntu Xenial Xerus 16.04 LTS ESM ====== | ====== Web Server - Ubuntu Xenial Xerus 16.04 LTS ESM ====== | ||
- | I switched my VPS from a provider in Thailand to [[https:// | + | I switched my VPS from a provider in Thailand to [[https:// |
===== Server Setup ===== | ===== Server Setup ===== | ||
* Register a Virtual Server at [[https:// | * Register a Virtual Server at [[https:// | ||
- | * Once the server is ready login via SSH as root with the password you defined in the previous step. If you chose Ubuntu the first thing you should do is to register on the [[https:// | + | * Once the server is ready login via SSH as root with the password you defined in the previous step. Create your administrative user and add him to the sudoers:< |
+ | sudo vim / | ||
+ | -> sudo: | ||
+ | * For Ubuntu the first thing you should do is to register on the [[https:// | ||
$ sudo apt update | $ sudo apt update | ||
$ sudo apt install ubuntu-advantage-tools | $ sudo apt install ubuntu-advantage-tools | ||
Line 19: | Line 22: | ||
$ sudo ua status | $ sudo ua status | ||
</ | </ | ||
- | * add user then add him as sudoer | + | * change the machine name:< |
- | sudo vim /etc/group | + | sudo edit / |
- | -> sudo:x:27:<user></code> | + | * enable // |
- | * apache2 | + | * add the following line to the sudoers file (not necessary for Debian) so .bashrc is read from root's home when opening a root shell:< |
- | * let' | + | Defaults set_home</code> |
- | * proftpd | + | |
- | * cams | + | ===== Apache ===== |
- | * sec | + | * Apache gets installed with image //Ubuntu 16.04 LTS with LAMP// through Server4you' |
+ | * Keep default apache installation as his will remain maintained through Ubuntu ESM. On time of installation (24<sup>th</sup> Sep 2021) this is Apache 2.4.18 and PHP 7.0. | ||
+ | * Setup your virtual hosts | ||
+ | * Install [[deb9: | ||
+ | * Install missing php modules:< | ||
+ | |||
+ | ===== ProFTP Server ===== | ||
+ | * Install [[deb720: | ||
+ | |||
+ | ===== UFW ===== | ||
+ | * Install [[deb9: | ||
+ | |||
+ | ===== BackupPC ===== | ||
+ | * Setup [[deb10: | ||
===== Links ===== | ===== Links ===== | ||
* [[https:// | * [[https:// |