my-env/install/apache

17 lines
318 B
Plaintext
Raw Normal View History

#!/bin/bash
##makedesc: Install apache2 (latest)
2022-01-08 06:27:24 +00:00
echo
echo "==============================================="
echo "Installing apache2..."
echo "==============================================="
echo
2022-07-04 14:22:57 +00:00
sudo apt install -y --autoremove apache2 && \
2023-04-11 15:43:14 +00:00
sudo systemctl restart apache2
echo
echo "Finish!"
apache2 -v
echo