a2ensite
Enable an Apache virtual host on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2ensite.8.en.html>.
Install
- All systems
-
curl cmd.cat/a2ensite.sh
- Debian
-
apt-get install apache2 - Ubuntu
-
apt-get install apache2 -
Alpine
-
apk add apache2 - Kali Linux
-
apt-get install apache2 - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install apache2 - Raspbian
-
apt-get install apache2 - Docker
-
docker run cmd.cat/a2ensite a2ensitepowered by Commando
Enable an Apache virtual host on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2ensite.8.en.html>.
-
Enable a virtual host:
sudo a2ensite virtual_host -
Don't show informative messages:
sudo a2ensite --quiet virtual_host
© tl;dr; authors and contributors