Changes between Initial Version and Version 1 of Paravmssh


Ignore:
Timestamp:
Apr 21, 2009, 5:43:59 PM (16 years ago)
Author:
afarrell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Paravmssh

    v1 v1  
     1Go to xvm.mit.edu and log in with your personal certificate.
     2To create a new paraVM first enter a name , description, then click the Autoinstall radial button and select one of three operating systems from the drop-down menu. and finally, click "Create it!"
     3--note: you may only use <quota> MiB of RAM. if you already have two VMs, you may not have enough left.
     4
     5After creating the vm, you should wait about 5<?> minutes. This is an excellent time to get coffee, or to begin a short boffing match with one of your collegues
     6
     7After 5<?> minutes you can access the machine's console from an athena machine or any machine that has kerberos tickets.
     8assuming you have called your vm "myParaVM"
     9{{{athena% ssh myParaVM@xvm-console.mit.edu}}}
     10this will take a half-minute, but your terminal should then read
     11{{{
     12Type Ctrl-e, then c, then . to escape from the console
     13
     14[Enter `^Ec?' for help]
     15
     16}}}
     17hit enter. It will display information about the OS and vm name and a login promt. Type "root". If asked for a password, just hit enter.
     18Normally, we don't want to login as root, so we need to add a user
     19{{{root@myParaVM:~# adduser username}}}
     20where username is preferrably your athena identity
     21this will prompt you for a password and then for some personal information
     22that does not matter for our purposes.
     23In order to install software, we next need to add ourselves to the sudoers file.
     24{{{root@myParaVM~# visudo}}}
     25this opens /etc/sudoers using vi.
     26if you are unfamiliar with original vi, you can type the following sequence of keys (where [enter] and [ctrl] stand for the enter and control keys and username is the username you just added:
     27{{{20j$a[enter]username[space][space][space][space]ALL=(ALL) ALL[esc]:wq[enter]}}}
     28<do I actually want it to be username ALL=(ALL) ALL?>
     29lastly, we need to start the ssh daemon:
     30{{{root@myParaVM~# /etc/sbin/sshd}}}
     31
     32now open up another local terminal and try to ssh into your VM:
     33{{{athena% ssh username@myParaVM.xvm.mit.edu}}}
     34and check that you can sudo:
     35{{{username@myParaVM~$ sudo apt-get install emacs (or vim-gnome)}}}