VM Terminal Sessions Downloading Running Moba Xterm 1
VM Terminal Sessions
Downloading & Running Moba. Xterm 1. Start by downloading Moba. Xterm: http: //mobaxterm. mobatek. net/download-home-edition. html 2. Select the Portable edition 3. After the zipfile downloads, open it and double click on the Moba. Xterm application 4. Select “Run” 5. Confirm that you want to run the file in response to the Windoz query.
Connecting to VM with SSH 1. 2. 3. 4. 5. 6. 7. Click on the “Session” icon (top right of screen) Click on “SSH” (top right of popup screen) Type in vm-Hadoop-XX. cse. sc. edu in remote host box (XX is your VM number) Set “Port” to 555 Click on “Ok” at bottom of popup window Type in account name: student Type in password
Changing Password 1. 2. 3. 4. Type “passwd” at terminal prompt You will be queried for your current password; enter it. You will be queried for a new password; enter it. You will be asked to retype the new password; do so. Note: If you password is too weak, it may be rejected.
Transferring Data Sets to the VM 1. Connect to the VM using Moba. Xterm 2. Navigate to the target directory 3. Type in 'wget https: //some. web. url/filename. csv' Example: wget https: //cse. sc. edu/~rose/587/CSV/scores. csv This example downloads the file scores. csv from https: //cse. sc. edu/~rose/587/CSV/
Transferring Data Sets fromthe VM 1. Click on the “Session” icon (top right of screen) 2. Click on “SFTP” (top middle of popup screen) 3. Type in vm-Hadoop-XX. cse. sc. edu in remote host box (XX is your VM number) 4. Set “Port” to 555 5. Click on “Ok” at bottom of popup window 6. If you are not already logged on, you will need to log
Transferring Data Sets from the VM 1. You will now see a split screen a) The VM file system are displayed in the right screen b) The local file system is displayed in the left screen 2. Drag and drop files you want to transfer
- Slides: 7