shell/install/apache2
2023-04-14 12:06:40 +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
}