EN
Linux - apache2 install packages
6 points
Quick solution:
xxxxxxxxxx
1
sudo apt-get update
2
sudo apt-get upgrade
3
4
sudo apt-get install apache2 apache2-doc apache2-utils
After:
xxxxxxxxxx
1
root@my-server:/etc/apache2# pwd
2
/etc/apache2
3
root@my-server:/etc/apache2# ls -al
4
total 88
5
drwxr-xr-x 8 root root 4096 Oct 10 12:00 .
6
drwxr-xr-x 80 root root 4096 Oct 10 12:00 ..
7
-rw-r--r-- 1 root root 7224 Sep 30 05:50 apache2.conf
8
drwxr-xr-x 2 root root 4096 Oct 10 12:00 conf-available
9
drwxr-xr-x 2 root root 4096 Oct 10 12:00 conf-enabled
10
-rw-r--r-- 1 root root 1782 Aug 8 2020 envvars
11
-rw-r--r-- 1 root root 31063 Aug 8 2020 magic
12
drwxr-xr-x 2 root root 12288 Oct 10 12:00 mods-available
13
drwxr-xr-x 2 root root 4096 Oct 10 12:00 mods-enabled
14
-rw-r--r-- 1 root root 320 Aug 8 2020 ports.conf
15
drwxr-xr-x 2 root root 4096 Oct 10 12:14 sites-available
16
drwxr-xr-x 2 root root 4096 Oct 10 12:00 sites-enabled