Fixed add-apt-repository not found issues for some cloud server #36

This commit is contained in:
Rei
2014-07-27 18:58:22 +08:00
parent c34455553d
commit 5f02f12434

View File

@@ -5,7 +5,7 @@ USER=`whoami`
sudo apt-get update
# Install system packages
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y redis-server memcached git-core nodejs imagemagick postfix
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y redis-server memcached git-core nodejs imagemagick postfix software-properties-common
# Install Elasticsearch
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -