shell/install/apache2

16 lines
266 B
Plaintext
Raw Normal View History

#!/bin/bash
##makedesc: Install apache2 (latest)
2023-04-14 04:06:40 +00:00
source `dirname $0`/../helpers || exit 255
2023-04-12 14:11:17 +00:00
title
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
2023-04-12 14:11:17 +00:00
[ $? = 0 ] && {
echo
success "apache2 installed!"
apache2 -v
echo
}