Adding mysql to install script. #450

This commit is contained in:
Jaisen Mathai 2012-01-29 00:44:07 -08:00
parent b207c7a771
commit 95b71273ba
2 changed files with 5 additions and 2 deletions

View file

@ -28,7 +28,7 @@ echo "===================================================="
echo ""
echo ""
apt-get install --assume-yes --quiet apache2 php5 libapache2-mod-php5 php5-curl curl php5-gd php5-mcrypt php-apc
apt-get install --assume-yes --quiet apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-curl curl php5-gd php5-mcrypt php5-mysql php-apc
a2enmod rewrite
echo ""
@ -72,6 +72,9 @@ chown www-data:www-data /var/www/openphoto/src/userdata
mkdir /var/www/openphoto/src/html/assets/cache
chown www-data:www-data /var/www/openphoto/src/html/assets/cache
mkdir /var/www/openphoto/src/html/photos
chown www-data:www-data /var/www/openphoto/src/html/photos
echo ""
echo ""
echo "===================================================="

View file

@ -146,7 +146,7 @@
</div>
</div>
<div class="clearfix">
<label for="mySqlDb">MySQL Database <em>(we'll try to create this if it doesn't exist)</em></label>
<label for="mySqlDb">MySQL Database <em>(make sure this database already exists)</em></label>
<div class="input">
<input type="text" name="mySqlDb" placeholder="Name of your MySql database" id="mySqlDb" size="50" autocomplete="off" data-validation="required" value="<?php echo $mySqlDb; ?>">
</div>