Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated Ubuntu installer script to get all of the necessary packages …

…for installation to work.
  • Loading branch information...
commit 610030e80c596bb11a5763f672a41caad47f211e 1 parent 4d4a0c6
@maxolasersquad maxolasersquad authored
Showing with 14 additions and 4 deletions.
  1. +14 −4 pos/installation/ubuntu/install-lane.sh
View
18 pos/installation/ubuntu/install-lane.sh
@@ -1,8 +1,18 @@
-#!/bin/sh
+#!/bin/bash
-/pos/installation/ubuntu/mysql_lane.sh
+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
+python /pos/installation/install_lane.py
+# /pos/installation/ubuntu/mysql_lane.sh
-/pos/installation/ubuntu/ssd_server.sh
+/pos/installation/ubuntu/ssd_server.sh
-/pos/installation/ubuntu/php_lane.pl
+/pos/installation/ubuntu/php_lane.pl
/pos/installation/ubuntu/apache_lane.pl
Please sign in to comment.
Something went wrong with that request. Please try again.