Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vms:webdev:start [2014/06/01 16:39]
admin [Create a Debian VM]
vms:webdev:start [2014/10/30 13:51]
admin [Add sysadmin to sudoers]
Line 1: Line 1:
 ====== Web Development ====== ====== Web Development ======
-The web development environment will be based on a Debian Wheezy OS, along with an Apache2 HTTP server, ​and allowing to choose the PHP version to run on each virtual host through ​Phpfarm.+The purpose here is to build a virtual machine that will be used as a LAMP web development environment
 + 
 +It will be based on a Debian Wheezy OS, with an Apache2 HTTP server, allowing to select a specific ​PHP version to run for each virtual host through ​PhpFarm run via suexec.\\ 
 +We'll also add Xdebug to facilitate PHP code debugging. 
 + 
 +Finally, MySQL will also be installed as database management system.
 ----- -----
 ===== Create a Debian VM ===== ===== Create a Debian VM =====
 ----- -----
-Install a Debian Wheezy system from Debian'​s stable netboot-mini.iso image.\\+Install a Debian Wheezy system from Debian'​s stable netboot-mini.iso image.
  
----- +You can refer to [[vms:​webdev:​debian|this section of the wiki]] for more in-depth information on how to do this.
-==== On XenServer ==== +
----- +
-=== Download ​the netboot-mini.iso image ===+
  
-Login to your Xen server, and download the .iso: +We'll have 2 adapters set up for this VMone for local communication on a 172.20.20.x address ​and another one for internet access via DHCP.
-<​code>​ +
->  +
-</​code>​+
  
 ---- ----
-==== On VirtualBox ==== 
----- 
-<color coral>​**TBC**</​color>​ 
  
-=== Add sysadmin to sudoers === 
  
-After the system reboots at the end of the installation,​ login as root and install the sudo package: 
-<​code>​ 
-# apt-get install sudo 
-</​code>​ 
  
-As the sysadmin user was created during the Debian install process we only need to add it to the sudoers group: 
-<​code>​ 
-# usermod -G sudo -a <​sysadmin>​ 
-</​code>​ 
  
-Logout from the root session, login as sysadmin and test your sudo power: +==== Setup Network Adapters ====
-<​code>​ +
-# exit +
-login: sysadmin +
-Password: +
-$ sudo ifconfig +
-</​code>​+
  
-If all is well, you should see the output from the ifconfig command. 
------ 
  
 +-----
 It is now time to [[apache|install the HTTP Server (Apache2)]]. It is now time to [[apache|install the HTTP Server (Apache2)]].