-
-
Save eftakhairul/bf009ec36580809f1b96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y python-software-properties | |
sudo add-apt-repository ppa:ondrej/php5 | |
sudo apt-get update | |
sudo apt-get install -y php5 | |
sudo apt-get install -y apache2 | |
sudo apt-get install -y libapache2-mod-php5 | |
sudo apt-get install -y php5-curl | |
sudo apt-get install -y php5-gd | |
sudo apt-get install -y php5-mcrypt | |
sudo a2enmod rewrite | |
sudo apt-get install -y git-core | |
sudo debconf-set-selections <<< 'mysql-server \ | |
mysql-server/root-password password root' | |
sudo debconf-set-selections <<< 'mysql-server \ | |
mysql-server/root_password_again password root' | |
sudo apt-get install -y php5-mysql mysql-server | |
sudo service mysql restart | |
sudo service apache2 restart | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.network "private_network", ip: "192.168.0.210" | |
config.vm.synced_folder "./dev", "/var/www", create: true | |
config.vm.provision "shell", path: "https://gist.githubusercontent.com/EmranAhmed/10682844/raw/13d127a5982fa47331aa019ac2d27b9c08f86229/vagrant-provision.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment