Changes

Jump to: navigation, search

OPS335 FTP Lab

148 bytes removed, 18:08, 10 October 2012
Modifying pre-lab steps to reflect fedora 16
==VSFTP Setup==
This lab will show you how to set up an FTP server inside a VM guest on a Fedora 13 16 host.
Since you'll be using a VM as the FTP server, you'll only require one lab PC. Remember, these are not group labs - please work individually.
===Background Information:===
===Build your VM===
*Power up your PC (the gateway with host name f13f16), login as your learnuser-id, open a terminal window and "su -" to root.*Setup a default Desktop Check the settings on your firewall. You Ensure that you can do this from still use the System->Administration->Firewall menu by stopping the firewall and then selecting the Desktop option to make a new one.*Once your Desktop firewall is set up services you'll need to restart the libvirtd service. Use the command "systemctl restart libvirtd.service"have configured in previous labs.
*Check your firewall using the "iptables-save" command.
*Now make sure you are connected to the Internet. Start Firefox and authenticate yourself into the network.
*Still as root you need to install an ftp client. Use this command: "yum install ftp".
*Now make sure you are connected to the Internet. Start Firefox and authenticate yourself with your LEARN password.*Use virt-manager to create a new Virtual Machine (VM) named vm01.*Login to your VM VM01 and ensure you have the default Fedora Desktop firewall set upto allow the services you have previously configured (e.g. DNS, mail). If those services are not functioning, fix them (or your firewall) now.
Before preceeding to the next part ensure your gateway is working properly and that your server has full access to the Internet. Try some of these commands on your VM guest:
ping 192.168.122X.1
host cbc.ca
also start Firefox in the guest and use lynx from your vm to ensure it you can view outside internal and external web sites.
===Set up your FTP Server (Passive Mode)===
932
edits

Navigation menu