Script now installs missing add-apt-repository tool.

This commit is contained in:
Silke Meyer 2015-01-14 17:57:25 +01:00
parent e03a5ec761
commit 86623bcdae
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ sudo openssl x509 -req -days 365 -in "$SSL_DIR/xip.io.csr" -signkey "$SSL_DIR/xi
#Install apache2 #Install apache2
echo ">>> Installing Apache2 webserver" echo ">>> Installing Apache2 webserver"
# The package python-software-properties provides add-apt-repository on Ubuntu Precise Server
sudo apt-get install python-software-properties
sudo add-apt-repository -y ppa:ondrej/apache2 sudo add-apt-repository -y ppa:ondrej/apache2
sudo apt-key update sudo apt-key update
sudo apt-get update sudo apt-get update