CNT5605 — 2013 Fall
Assignment 3
Journals Due Tuesday, October 15, at the beginning of class.

Assignment: VirtualBox and CentOS 6.4




Your objectives are to install VirtualBox on your Debian server, and then install CentOS 6.4 as a virtual server inside of VirtualBox. First, install VirtualBox. You can install the full VirtualBox from VirtualBox.org, or you can install it from a Debian repository. If you are running without a windowing environment, you will need to do a headless VirtualBox set-up, which can be somewhat challenging — you might want to check the VirtualBox forums if you go this route (if you go this route, the easiest way to do this assignment is to use a different machine to build your CentOS image, copy it to a flashdrive, and then import that image.)

Next, pull down an ISO of CentOS 6.4. Probably the best ISOs are either "CentOS-6.4-x86_64-netinstall.iso" or "CentOS-6.4-x86_64-minimal.iso" since either is quite small and the installation with either is usually fast (depending, of course, on how much network bandwidth you can commandeer if you decide on the netinstall; the minimal install doesn't need network bandwidth.) However, it's been the case that sometimes one or the other of these has some difficulty in a VirtualBox environment, so be prepared to try the other if the installation seems to be overly difficult. (If you are using a headless set-up, then use the minimal since it doesn't create a graphical environment.)

You can find all of the different possibilities for ISOs and downloads by looking at the download area of CentOS.org. (Alternatively, you might try a bittorrent version — it sometimes can be quite fast, although occasionally it can be quite slow.)

Now use the "create a new machine" option on VirtualBox; use a VDI (not a real partition) and this disk image doesn't need to be very large (30 gigabytes is more than sufficient). Give the machine only one processor and 1 gigabyte of memory. Make sure that your new virtual server's network device is visible to the lab (do not use an internal-only or NAT configuration). See the VirtualBox networking documentation for more information about your choices.

As to the new virtual server's internal configuraiton, you don't have to install any graphical interface (indeed, the minimal doesn't offer anything other than command line by default), but you are welcome to do so if you like. For an ip number, please use your next IP number, (i.e., if your Debian box is using 192.168.26.50, then use 192.168.26.51 for this assignment.)

Next, try an nmap from your real Debian box to your new VirtualBox virtual CentOS instance; if you find any ports open, add those to your mon monitoring.

Finally, try an nmap from your VirtualBox CentOS server, try scanning your Debian box and record the results in your write-up.



A journal is due for this assignment. Make sure that you document in your journal all of the steps that you went through, following the guidelines on the class home page.

Please turn in a printed copy of this assignment at the beginning of class on Tuesday, October 15.