Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge commit 'jdpurdyvi/master' into v2.2_dev

  • Loading branch information...
commit c38e5798ae69bb88060f314d02e16f52bbc22b4f 2 parents fd9a737 + db7ed0c
Wedge Co-op IT 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.