shell/install/apache2
2024-07-31 23:15:48 +08:00

16 lines
266 B
Bash
Executable File

#!/bin/bash
##makedesc: Install apache2 (latest)
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
}