From 7260e303f9b8dedd5837fa70cf7b7867810b49dd Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Mon, 2 Jun 2014 11:00:47 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 3545a9b..89dc0ca 100644 --- a/scripts/install +++ b/scripts/install @@ -17,6 +17,10 @@ if [[ ! $? -eq 0 ]]; then exit 1 fi +# Install dependencies +sudo apt-get update +sudo apt-get install php5-cli -y + # Generate random password db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')