Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to install dep packages

  • Loading branch information...
commit db7ed0c6e76ec947b66f20f57e87bed7428c8161 1 parent 7d9dc9e
@jdpurdyvi jdpurdyvi authored
Showing with 12 additions and 3 deletions.
  1. +12 −3 pos/installation/ubuntu/install-server.sh
View
15 pos/installation/ubuntu/install-server.sh
@@ -1,7 +1,16 @@
-#!/bin/sh
+#!/bin/bash
+
+aptitude update -y
+aptitude safe-upgrade -y
+echo -e "Enter the password for the root user in MySQL: \c"
+read -s ROOT_PASSWORD
+echo "mysql-server mysql-server/root_password select $ROOT_PASSWORD" | debconf-set-selections
+echo "mysql-server mysql-server/root_password_again select $ROOT_PASSWORD" | debconf-set-selections
+echo "python-mysqldb mysql-server/root_password select $ROOT_PASSWORD" | debconf-set-selections
+echo "python-mysqldb mysql-server/root_password_again select $ROOT_PASSWORD" | debconf-set-selections
+aptitude install -y mysql-server apache2 php5 libapache2-mod-php5 python-mysqldb php5-mysql
python /pos/installation/install_server.py
-# /pos/installation/ubuntu/mysql_server.sh
/pos/installation/ubuntu/php_server.pl
-/pos/installation/ubuntu/apache_server.pl
+/pos/installation/ubuntu/apache_server.pl
Please sign in to comment.
Something went wrong with that request. Please try again.