- Install Visual Studio Code on client PC

- Install Plugins




- Activate preview

- Select command palette


Install Apache
if [ "$UID" -ne "0" ]
then
echo "You are not root, exiting.."
exit 1
fi
apt update && apt -y upgrade && apt install -y apache2
if [ "$UID" -ne "0" ]
then
echo "You are not root, exiting.."
exit 1
fi
apt autoremove --purge -y apache2
Daemon status
# 1970-2000
cat -n /etc/init.d/apache2
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
/etc/init.d/apache2 status
# 2000-2010
service apache2 stop
service apache2 start
service apache2 status
# problem how to make service persistance
# 2010-now
systemctl stop apache2
systemctl start apache2
systemctl status apache2 # 'q' to exit
systemctl disable apache2
systemctl enable apache2
Where are my web pages
dpkg -L apache2 | grep /etc/apache2


