0

からインデックスを提供していますが、ボックスにアクセスしようとしたときにこの場所をデフォルトにする方法がわかりません (つまり: /var/www/app/web-suite/) 。現在のプロビジョニング スクリプトは次のとおりです。/var/www/192.168.33.10

echo "running script in the VM"
apt-get updat
apt-get -y dist-upgrade
echo "------------------------------------------------------------"
echo "Installing LAMP stack"
echo "------------------------------------------------------------"
apt-get install apache2
echo mysql-server-5.1 mysql-server/root_password password root | debconf-set-selections
echo mysql-server-5.1 mysql-server/root_password_again password root | debconf-set-selections
apt-get install -y mysql-server
add-apt-repository ppa:ondrej/php5-5.6
apt-get update
apt-get install -y php5
apt-get install -y php5-mysql
service apache2 restart
echo "------------------------------------------------------------"
echo "Ruby Gems Installs"
echo "------------------------------------------------------------"
apt-get install -y ruby-full build-essential
gem install compass --version 0.12.6
gem install zurb-foundation
gem install rubygems-update
echo "------------------------------------------------------------"
echo "Installing Composer"
echo "------------------------------------------------------------"
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/var/www/html
cd ../../var/www/html/
# wget https://phar.phpunit.de/phpunit.phar
# chmod +x phpunit.phar
# mv phpunit.phar /usr/local/bin/phpunit
php composer.phar global require "phpunit/phpunit=5.0.*"
php composer.phar install
echo "------------------------------------------------------------"
echo "Start up Compass Compiling"
echo "------------------------------------------------------------"
cd app/web-root/css/v1/
sudo compass init
sudo compass compile
echo "------------------------------------------------------------"
echo "Provisioning Complete"
echo "------------------------------------------------------------"
4

1 に答える 1