16 lines
300 B
Bash
Executable File
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
|
|
}
|