-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
work on issue #4 and start provisioning with vagrant
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apt-get -qq update | ||
apt-get install -y --no-install-recommends \ | ||
apache2 \ | ||
libapache2-mod-php7.0 \ | ||
php7.0 \ | ||
git | ||
apt-get -qy autoremove | ||
apt-get -qy clean | ||
a2enmod php7.0 rewrite | ||
echo "ServerRoot /var/www/html" >> /etc/apache2/apache2.conf | ||
rm -f /var/www/html/index.html | ||
service apache2 reload |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | ||
VAGRANTFILE_API_VERSION = "2" | ||
|
||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
config.vm.box = "ubuntu/xenial64" | ||
config.vm.hostname = "lfilabs" | ||
config.vm.network :forwarded_port, host: 8080, guest: 80 | ||
config.vm.provision :shell, path: "Vagrant.bootstrap.sh" | ||
end | ||
|