packer-cn/builder/amazon/examples/apache_server/packages.sh

7 lines
150 B
Bash

echo "installing apache "
sudo apt-get update
sudo apt-get install apache2 -y
sudo apt-get update
sudo service apache2 restart
sudo apache2 --version