This documents contains instructions to download, install, configure and use a stand-alone instance of the Regulatory Sequence Analysis Tools (RSAT) in the form of a Virtual Machine (VM) running under VirtualBox.
The RSAT Virtual Machine (RSAT-VM) requires
The VirtualBox platform should be installed on th host computer. This software runs under Linux, Solarix, Mac OSX and Windows operating systems.
A sufficient amount of memory (RAM) to allocate two Gb to the RSAT-VM.
The VM initially occupies ~5Gb of hard disk space. By default, its hard drive is configured to grow dynamically when needed (for example when installing genomes), wih a maximal size of 18Gb.
The Virtual Machine is available at http://teaching.rsat.eu/, by clicking on the link “Download”.
After having downloaded the appliance (rsa-vm-YYYY-MM.ova), open it with the Virtual Box application.
Virtual Box proposes you to import the appliance, i.e. create an instance on which you will be able to work. Before importing the appliance, we recommend to check the option Reinizialize MAC address of all network cards at the bottom of the import dialog box.
The RSAT-VM is provided in a ready-to-use mode. However, you may need to adapt the configuration of your VirtualBox environment in order to obtain a correct behaviour of the VM.
Open the VirtualBox program.
Open VirtualBox Preferences.
Click on the Network option.
Click on the tab Host-only Networks. Check if a host-only adapter is already installed. If not, create a new one by clicking the + icon on the right side (snapshot).
Double-click on the host-only adapter to change its parameters.
In the Adaptor tab, set the parameters as follows (snapshot).
1. IPv4 Address: 192.168.56.1 1. IPv4 Network Mask: 255.255.255.0 1. IPv6 Address: (leave this field blank) 1. IPv5 Nework Mask length: 0
In the tab DHCP Server, set the parameters as follows (snapshot). 1. Check the option Enable Server 1. Server Address: 192.168.56.100 1. Server mask: 255.255.255.0 1. Lower Address Bound: 192.168.56.101 1. Upper Address Bound: 192.168.56.154
VirtualBox supports various ways to connect the guest (virtual machine) to the network.
This solution offers a good tradeoff between security and confort: your virtual machine (the guest) will be accessible only from your computer (the host).
In the panel showing the available virtual machines, right-click on the RSAT-VM (rsat-vb-ub14d), open the Settings … dialog box.
In the tab Network, select Adapter 1, check Enable Network Adapter, select Attached to: Host-only Adapter (snapshot).
In the pop-up menu besides the option Name, select vboxnet0.
Note: the host-only adapter will enable you to establish a connection (Web browsing, ssh connection) from the hosting operating system (the usual environment of your computer) to the guest system (the virtual machine). however, this adapter does not allow to connect the external world from the guest.
In parallel to the host-only adapter, we thus recommend to enable the second adapter and select NAT.
Alternatively , for the sake of flexibility, you might consider to use a bridged network. The bridged adapter is the most convenient, because it establishes a bidirectional connection between your VM (the guest) and the network. Your guest RSAT Web server can thus be used from any other computer in your network. This configuration can typically be usd to make an RSAT server available for all people from the same lab or institute.
At this stage, your RSAT VM should now be ready to be used from the Web interface. Assuming that you activated the host-only network as described abve, and that you only started one virtual machine), VirtualBox hould have assigned the first IP address of the range defined in the settings above: 192.168.56.101.
If the link does not work, it probably means that your network was not activated as described above. You will then need to obtain the IP address of your VM. Unfortunately, VirtualBox does not provide a direct way to know which IP address has been assigned to a VM. The only way we found to get this information is to log in in the VM, open a terminal, and run the command /sbin/ifconfig.
You can log with the following parameters:
We intently chose an overly simple temporary password to ensure compatibility with AZERTY as well as QUERTY keyboards, but we recommend to use a safer password.
At your first login, you will be prompted to change your password before anything else.
The user vmuser is sudoer. After login, you can thus become the master of your Virtual Machine, create new users, install packages, etc.
A small difficulty when distributing a VM is the large variety of keybords expected to be found on the users’ computers. By default, we selected the standard British QWERTY keyboard.
On Ubuntu 14.04 server version, keybord configuration can be modified with following command.
sudo dpkg-reconfigure console-data
For the desktop version, click on the Settings icon , then on the
, and check the keyboard..
ssh vmuser@192.168.56.101