This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:asowers:virtual_lamps_don_t_need_shades [2012/03/13 15:25] – [Procedures] asowers | user:asowers:virtual_lamps_don_t_need_shades [2012/03/13 15:58] (current) – [Conclusion] asowers | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====Welcome==== | ||
+ | ====Project 3 - setting up a LAMP server on a VM==== | ||
+ | |||
+ | ====Objective==== | ||
+ | Setup a Linux Apache2 Mysql and PHP server on a Virtual Machine. | ||
+ | |||
+ | ====Prerequisites==== | ||
+ | Linux VM server install | ||
+ | VM install | ||
+ | |||
+ | ====background==== | ||
+ | With virtualization we can make one system preform multipul services. A workstation can also be a web-server without the services ever overlapping and that's very powerful, minimalist and green. | ||
+ | |||
+ | ====Procedures==== | ||
+ | |||
+ | - Before we begin let's update our packages with an < | ||
+ | - We're going to get apache: < | ||
+ | - Then mysql: apt-get install mysql-server Once mysql installs we're going to configure it: < | ||
+ | - After you configure your Mysql with your proper credentials, | ||
+ | - quit out of the Mysql shell and enter this command to grab some PHP goodies: < | ||
+ | - Finally we'll restart our apache server and everything should be working: < | ||
+ | |||
+ | Enter your ip into a web browser and you should see great success! | ||
+ | |||
+ | ====Conclusion==== | ||
+ | So if everything went correctly you should have a full functional web server. Drop in an index.html you've built and you're good to go! |