This is an old revision of the document!
# apt install sudo # adduser <user> # vi /etc/group (add <user> to line "sudo:x:27:<user>")
sudo edit /etc/hostname sudo edit /etc/hosts
/etc/passwd
from line 1 to line 2root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/sbin/nologin
$ sudo apt update $ sudo apt install apache2
$ sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https gnupg $ sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' $ wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add - $ sudo apt update $ sudo apt install php8.1 php8.1-mysql php8.1-sqlite3
a2enmod rewrite a2enmod ssl
/var/log/apache2
if you setup log files for the virtual hosts in sub folders$ sudo apt update $ sudo apt install vim $ sudo apt install zip $ sudo apt install rsync