server-debian/_installs/apache.sh

10 lines
325 B
Bash
Raw Normal View History

2023-07-18 16:20:48 +02:00
#!/usr/bin/zsh
sudo mv /etc/apache2/sites-available /etc/apache2/sites-available_bak
sudo mv /etc/apache2/sites-enabled /etc/apache2/sites-enabled_bak
sudo ln -s /Cfg/apache/conf /etc/apache2/sites-available --force
sudo ln -s /Cfg/apache/conf /etc/apache2/sites-enabled --force
sudo systemctl restart apache2.service