Connecting to your VM from Windows
Download one of the folowing softwares :-
For connecting using Putty, follow the following steps :
- Open putty.exe
- Enter the IP address of the VM in the hostname. Keep the Port as 22.
- Enter the username and password when prompted.
- You will be presented with a terminal to your VM.
For connecting using X2Go, follow the following steps :
- Open X2GoClient program
- For first time login, create New Session. Enter IP_address of VM in Host field. Enter username of VM in Login field.
- Enter the session type as under:
- For Ubuntu and Fedora : Select LXDE
- For Centos : Select XFCE
- Press OK. Now the session can be seen on right side pane.
- For first time login and any subsequent logins after that, click on the session. A prompt will be displayed to enter the password. Enter the password. New window with GUI interface of the VM will be displayed.
- You will be presented with a terminal to your VM.
Connecting to your VM from Linux
A VM on Meghamala can be accessed either using SSH or X2Go. SSH is present in every Linux environment.
For installing X2Go Client on your Linux local machine, follow the following steps :
For Ubuntu (10.04 or later)
- Open terminal window
- For Ubuntu 10.04 or 12.04 $ sudo apt-get install python-software-properties
- For Ubuntu 14.04 $ sudo apt-get install software-properties-common
- Add into repository by $ sudo–E add-apt-repository ppa:x2go/stable
- Update your OS $ sudo apt-get update
- Next to install x2go client $ sudo apt-get install x2goclient
For Fedora (19 or later)
- Open terminal window
- Issue $ sudo yum install x2goclient
For Centos
- Open terminal window
- $ sudo yum install epel-release
- $ Type the command sudo yum install x2goclient
Connecting using VNC/Team Viewer.
Meghamala does not provide these by default. However, you can login into your VM using SSH of X2Go, set up the required connection protocol (VNC or Team Viewer) and use it.
Using 40 GB persistent storage volume
Run the following commands.
$ mkdir mnt
$ sudo mkfs.ext4 /dev/vdb(formats the volume. Should be used only on the first time, or whenever formatting is required)
$ sudo mount /dev/vdb mnt
$ sudo chown -R ubuntu:ubuntu mnt (for Ubuntu VM)
$ sudo chown -R fedora:fedora mnt (for Fedora VM)
$ sudo chown -R centos:centos mnt (for Centos VM)
Now the persistent volume is available at mnt directory.
Licensed software on VM
Meghamala does not provide any licensed software on a VM by default. It is the responsibility of the VM owner to install required softwares. The VM owner will be responsible for any license issues.
Keeping program running after closing Putty
nohup is a POSIX command to ignore the HUP (hangup) signal. The HUP signal is, by convention, the way a terminal warns dependent processes of logout.
Instead of directly writing the command you want to keep running, enter the following on the terminal.
$ nohup '< your-command >' &
After firing this, you can safely close Putty's terminal and the process will keep running.