Tuesday, May 24, 2011

Setting up an MIT XVM

With help from quentin and bbaren.

1. Go to https://xvm.mit.edu/
2. Fill in "Create a new VM" with
        vmname.xvm.mit.edu
        Your description
        Selet "Autoinstall" and pick "Ubuntu 10.10 Maverick (amd64)" or your choice
3. Click "Create it!"  This will take 5 minutes or more.
        After a few seconds, your new vm's row appears on top with an orange installation sign
        You can see the installation process by ssh vmname@xvm-console.mit.edu
4. After the orange installation sign turns into a green power button, click on "vmname"
5. Click on "Power on" and wait a while for it to turn on.
6. ssh vmname@xvm-console.mit.edu again.
         Press Enter. You should see "vmname login:"
         Type in "root' and press Enter
7. Create root password:
         root@vmname:~# passwd
8. Create new user, "username":
         root@vmname:~# useradd -m -s /bin/bash username
         root@vmname:~# passwd username
9. Install OpenSSH so you can SSH
         root@vmname:~# aptitude install openssh-server openssh-client
         Optional: test that SSH works
              ssh localhost
              logout
10. Give user, "username", ability to sudo
         gpasswd -a username sudo
         grep sudo /etc/group should see "username" is there.
11. Log out of root
         logout
12. Close terminal

13. Login user, "username", in a new terminal:
         ssh username@vmname.xvm.mit.edu

No comments:

Post a Comment