n etworked & d istributed computing s ystems l ab programming assignments ee323 computer...

8
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB Programming Assignments EE323 Computer Networks

Upload: cameron-richards

Post on 27-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB

Programming Assignments

EE323 Computer Networks

Page 2: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 2

Assignment Layout

• Total 5 assignments (15%)– Web Server – UDP Pinger– SMTP Mail Client– ICMP Ping– Web Proxy

• What to do– Implement your code (DO NOT COPY!)– Write a simple report that includes your code and result

screenshots– Bonus question in every assignment if you’re up for a

challenge– Submit your report to KLMS

Page 3: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 3

Lab Environment (Linux)

• Lab machine is administered by TA• IP address

– 143.248.56.44

• Use SSH protocol to communicate with the lab machine– PuTTY (Windows)– Terminal (Mac OS)

• ID– Your student number

• Password– ee323

Page 4: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 4

Cygwin

• Provide Linux-like environment in Windows– http://cygwin.com/install.html

• Install Cygwin– Download & run setup.exe– Choose any URL to download files

Page 5: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 5

Accessing from Outside KAIST

• Require virtual private network (VPN) program– At first run, use Internet Explorer!– kvpn.kaist.ac.kr– – Log in

– Press Start–

Page 6: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 6

Change Your Password!

• Connect to the machine with default ID & PASSWORD• Type “passwd”

– In response to “(current) UNIX password:”, type current password

– In response to “New password:”, type new password.– In response to “Retype new password:”, type new password

again.

• Reminder– It is your responsibility to back up

your files• Keep the code locally• Use the lab machine only for

testing and debugging

Page 7: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 7

VMware Player / VirtualBox

• Run another OS (Linux, Windows, etc.) on top of main OS– https://my.vmware.com/web/vmware/

free#desktop_end_user_computing/vmware_player/5_0

• Install VMware– Download VMware Player for

Windows 32-bit and 64-bit– Run downloaded file

Page 8: N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks

NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB 8

VMware Player / VirtualBox

• Download Linux (Ubuntu) image file– http://www.ubuntu.com/download/desktop

• Install Linux on VMware– Click on “Create a New Virtual Machine”– Click on “Browse…” button– Add image file downloaded from website– Insert information : username, password, etc.– Press “Play virtual machine” button