my-env/install/apache
2023-04-12 22:11:17 +08:00

16 lines
300 B
Bash
Executable File

#!/bin/bash
##makedesc: Install apache2 (latest)
[ -f `dirname $0`/../helpers ] && source `dirname $0`/../helpers || exit 255
title
sudo apt install -y --autoremove apache2 && \
sudo systemctl restart apache2
[ $? = 0 ] && {
echo
success "apache2 installed!"
apache2 -v
echo
}