UPLOADING YOUR SERVER CODE TO YOUR VIRTUAL MACHINE.

Slides:



Advertisements
Similar presentations
Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Advertisements

Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
Using Pine to send your ICS111 homework First Log in into UNIX using SSH either from home (If you have previously installed SSH or from the Lab. Once in.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Exploring the Internet Creating and setting up your website Instructor: Michael Krolak Instructor: Patrick Krolak See also
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Using FileZilla to FTP CS10001 – Computer Literacy Kent State University.
Exploring the Internet Creating and setting up your website Instructor: Michael Krolak Instructor: Patrick Krolak See also
HTML & Dreamweaver 101 Aman Yadav. Definitions HTTP – The Web uses a protocol called HTTP (Hyper Text Transport Protocol) to communicate between the Web.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
Activating Pilot Account ( first time users ) Web-based Activation Browse to 1. Click on the link on the lower right that says.
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Remote access and file transfer Getting files on and off Bio-Linux.
A crash course in njit’s Afs
Telnet/SSH: Connecting to Hosts Internet Technology1.
Accessing the Internet with Anonymous FTP Transferring Files from Remote Computers.
ECE355 Project SIP Applications Tiuley Alguindigue
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
CSE 305 Theory of Database Tutorial on Connecting with Sybase from Java program and Developing GUI Jalal Mahmud, TA, CSE 305.
Secure Shell for Computer Science Nick Czebiniak Sung-Ho Maeung.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Logging into the linux machines This series of view charts show how to log into the linux machines from the Windows environment. Machine name IP address.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
HOW TO UPLOAD A WEBSITE BY KATIE HARDAKER.  SEARCH THE INTERNET THE VARIETY OF OPTIONS AVAILABLE FOR CONSTRUCTING A WEBSITE AND CHOOSE THE APPROPRIATE.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
C programming and compilers. At least 3 ways to compile C Using gcc in UNIX environment via chaos.cs.auckland.ac.nz Using gcc in Cygwin in Windows Using.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
Telnet allows you to log in remotely to other computers connected to the Internet (but only computers that are set up to be logged in to). Once logged.
Produced;: Tartu Kutsehariduskeskus FTP – File Transfer Protocol Maarja Kask ACTION PROGRAMME OF THE EUROPEAN UNION LEONARDO DA VINCI PROJEKT NO.: 2002.
Nat Type Change Speed Touch and Thomson Modems. Steps Disable uPNP Static Ip on Console Putty Download Telnet Procedure.
Logging into the linux machines This series of view charts show how to log into the linux machines from the Windows environment. Machine name IP address.
RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode Solution RT-LAB for PC-104.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Getting Connected CPSC 1010 August 21, Connecting to the SOC Servers Why would we need to connect Work with files Transfer files from your local.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
Basic Web Design UVICELL Week 4 Templates and site management Week 4 Templates and site management.
Logging in to CMS from off-campus
Creating Programs on UNIX
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Telnet/SSH Connecting to Hosts Internet Technology.
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
FTP and UNIX TOPICS Exploring your Web Hosting Site FTP UNIX
slides borrowed and adapted from Alex Mariakis and CSE 390a
Run Java file with Window cmd
CGS 3175: Internet Applications Fall 2009
Tutorial Unix Command & Makefile CIS 5027
Logging into the linux machines
Getting Started: Accessing Our Amazon AWS Server
Presentation transcript:

UPLOADING YOUR SERVER CODE TO YOUR VIRTUAL MACHINE

WHAT IS A VIRTUAL MACHINE?  A virtual machine (VM) is an emulation of a particular computer system. If you remember from our Lab 6, we developed our Rawfongo client and were able to play the game when we connected to a particular IP address.  How was this possible? That particular IP address to which you were connecting to was the address of a virtual machine that had the Rawfongo server running. Your client made a connection with the VM and that is how you were able to play the game.

CREATING A FOLDER  Go to your “Home” and create a new folder titled “test”.  This will be the folder where you will “drag and drop” all files(.java) that belong to your server.

RUNNING PUTTY ***MAY NOT BE NEEDED***  PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms. Simply put, it is a terminal emulator.  Perform a search from your computer for “putty” and open the program.  On the screen, you will be prompted to enter a “Host Name”. You will enter “icom4015.ece.uprm.edu”. The port will remain “22”.  Once PuTTY is running, you will be asked to enter your login info. Your “username” will be your lab ID (for example, 4015a28) and the password will be the same one as when you login to the lab computer.

ACCESSING AND COMPILING YOUR SERVER CODE  Open your Eclipse, and made changes to your server and client class.  From your terminal, write the command “cd test”.  This should update the directory path to the folder we created earlier.  Now, write the command “cd src”.  Finally, write the command “javac GameServer” to compile the GameServer class.  Repeat this command for your ServerThread class.  Finally, write the command “su – and press Enter then it will ask for you password. As we will be working on same server today, so each of us have to use different port number for hosting server; i.e. you have to select any one port from 7001 to 7999, made respective changes in your Game Server & Client class. NOTE: Remember the host name would be icom4015.ece.uprm.edu & we will be hosting our individual gameserver on different ports of this machine

RUNNING YOUR SERVER  To run your server, go to your terminal and access your test folder once again using “cd test”.  Now, write “java GameServer”. This should have your server start listening.  Make sure you enter ***insert correct IP address/Host name*** in your GameClient’s socket initialization. (icom4015.ece.uprm.edu)  When you run your client, you should be able to play your Rawfongo game.