LAMP Trusty 64 : petite correction
This commit is contained in:
parent
c4593ed005
commit
fbf4b34a01
@ -64,6 +64,7 @@ then
|
||||
then
|
||||
sudo apt-get -y install php5-xdebug
|
||||
fi
|
||||
sudo a2enmod autoindex deflate expires headers rewrite
|
||||
|
||||
# --- Configuration PHP / CLI
|
||||
if [ -f /etc/php5/cli/php.ini ]
|
||||
@ -100,8 +101,6 @@ then
|
||||
sudo cp $DIRDATA/ChartDirector/chartdir.ini /etc/php5/mods-available/
|
||||
sudo php5enmod chartdir
|
||||
fi
|
||||
|
||||
sudo a2enmod autoindex deflate expires headers rewrite
|
||||
|
||||
fi
|
||||
|
||||
@ -121,7 +120,7 @@ then
|
||||
then
|
||||
tar xJvf "/home/vagrant/$PHPMYADMIN_DIR.tar.xz" --directory /home/vhosts/
|
||||
mysql -hlocalhost -uroot -p$MYSQL_PASS < /home/vhosts/$PHPMYADMIN_DIR/sql/create_tables.sql
|
||||
mysql -hlocalhost -uroot -p$MYSQL_PASS < $DIRDATA/Apps/phpmyadmin.sql
|
||||
mysql -hlocalhost -uroot -p$MYSQL_PASS < $DIRDATA/Apps/phpmyadmin.sql
|
||||
sudo service mysql restart
|
||||
cp $DIRDATA/Apps/config.inc.php /home/vhosts/$PHPMYADMIN_DIR/
|
||||
chmod 0444 /home/vhosts/$PHPMYADMIN_DIR/config.inc.php
|
||||
@ -153,7 +152,7 @@ cp -f $DIRDATA/Apache/phpmyadmin.conf $DIR/vhosts/phpmyadmin.conf
|
||||
sed -i -e "s/VERSION/$PHPMYADMIN_VERSION/" $DIR/vhosts/phpmyadmin.conf
|
||||
|
||||
# --- test.sd.dev
|
||||
cp -f $DIRDATA/Apache/test.conf /etc/apache2/sites-available/test.conf
|
||||
cp -f $DIRDATA/Apache/test.conf $DIR/vhosts/test.conf
|
||||
if [ ! -d /home/vhosts/test ]
|
||||
then
|
||||
sudo mkdir /home/vhosts/test
|
||||
|
Loading…
Reference in New Issue
Block a user