Advertisement
clockworkpc

VAGRANT CENTOS7 SPECIFICATION SHEET

Oct 2nd, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. VAGRANT SPECIFICATION SHEET
  2.  
  3. CentOS 7 (it is preferred if you leave out X Windows, only the services are needed)
  4. Apache web server (probably already ships with CentOS 7, depending on downloaded version)
  5. PHP 7
  6. MariaDB
  7. Gearman
  8.  
  9. Explanation:
  10. 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)
  11. 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.
  12.  
  13. 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
  14. the host to write my "Hello World" program.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement