Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VAGRANT SPECIFICATION SHEET
- CentOS 7 (it is preferred if you leave out X Windows, only the services are needed)
- Apache web server (probably already ships with CentOS 7, depending on downloaded version)
- PHP 7
- MariaDB
- Gearman
- Explanation:
- When I'm on the host machine, I should be able to change to the folder where I've done my code (a simple Hello World program in PHP) and see the vagrant config file (Vagrantfile)
- and my PHP code. When I run "vagrant up" from this location, vagrant should boot up the CentOS 7 instance so that when I open a browser on the HOST and visit http://localhost:8888 (this will require some port forwarding voodoo in the Vagrant file) I'll be able to see my Hello World displayed in the browser.
- Typing "vagrant ssh" will ssh my into the machine into the user's home folder but changing dir to /vagrant within the machine should show me the same PHP files that I was editing on
- the host to write my "Hello World" program.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement