TracNav
Table of Contents
Introduction
Application overview
Installation
Generation
- MOLGENIS workspace basics
- Running the generator
- Modeling a new MOLGENIS
- Modeling an existing database
- molgenis.properties file
Plug-ins
Language Reference
Getting MOLGENIS running on Ubuntu
This page describes how to get started with MOLGENIS on Ubuntu Linux. For the sake of completeness we first describe a clean install on VirtualBox which is a great way to test your MOLGENIS on a Linux environment. Of course, you often will use a non-virtual server to server your MOLGENIS.
This tutorial was tested with:
- Windows XP and Windows Vista
- VirtualBox 3.1.0 for windows host
- Ubunto 9.10 (32-bit)
Installing Ubuntu inside Windows using VirtualBox
Installation of Ubuntu inside VirtualBox is an excellent way to create a MOLGENIS + Linux testing environment. Note that it is much easier to install MOLGENIS on a Windows box directly. See MolgenisOnWindows.
- Download and install VirtualBox? (71 MB) with default options from http://www.virtualbox.org/. Note that you will have to give permission to use network connections etc when asked.
- Download the Ubunto DVD image (690 MB) from http://www.ubuntu.com/getubuntu/download
- Configure a new VirtualBox? instance for Ubuntu:
- Click 'New'
- Next: Name your virtual machine 'molgenis' and select 'Linux' and 'Ubuntu' in the OS Type section
- Next: Set Base Memory Size to at least 512MB but 1024MB if available. Note that you should have at least twice the RAM available.
- Next: Create new hard disk using the default settings
- Next, Next: Set dynamically expanding storage
- Next: Set maximum Virtual Disk Location Size (minimum 2Gb, will only use actual space) and choose location for your VM file.
- Boot your new Virtual Server from Ubunto DVD image and install Ubuntu
- Start VirtualBox?. Click 'cancel' if you don't want to register.
- Choose File → Virtual Media Manager → CD/DVD Images → Add and point to Ubunto iso.
- Start your virtual machine by pushing 'Start'. Select to mount the Ubunto iso as cd.
- Alternative step: 'Start' and when running choose 'Devices' → 'CD ROM' → Ubunto ISO. Then Machine → Reset server.
- Finally install Ubuntu following the Ubuntu install wizard using default options. Use 'molgenis' as user and password. Reboot.
- (Optional) Increase graphics resolution
- Click 'right-ctrl' if you are still inside Ubuntu
- Choose from menu Devices → Install Guest additions. This will mount a CD inside Ubuntu.
- Then inside Ubuntu open a Terminal: Applications → Accessories → Terminal
- Change to CD-ROM via command: cd /media/cdrom0
- Execute driver installation via command: sudo sh ./VBoxLinuxAdditions-x86.run
- Reboot via command: sudo shutdown -r now
- Within Ubuntu you now can change resolution via System → Preferences → Display.
Install MySQL, Tomcat, Java, Eclipse on Ubuntu
- Inside Ubuntu open a Terminal:
Applications -> Accessories -> Terminal
- Install MySQL using command
sudo apt-get install mysql-server (remember password)
- Install Java using command:
sudo apt-get install sun-java6-jdk
- Check Java version (1.6) using command:
java - version
- Install Tomcat (ONLY for development, otherwise skip):
Because the apt-get version cannot be used for development: Download latest Tomcat 6.x tar.gz from http://tomcat.apache.org/ Move from downloads to your home directory Untar using command: sudo tar zxvf apache-tomcat-6.0.10.tar.gz
- Install Tomcat (ONLY for production server, otherwise skip)
sudo apt-get install tomcat6 Stop it when developing using: /etc/initd/tomcat6 stop
- Install Eclipse (not via apt-get unfortunately):
Download latest 'Eclipse for Java EE developers' for Linux 32-bit from http://www.eclipse.org/downloads/ Move from downloads to your home directory Untar using command: tar -xvf eclipse-jee-galileo-SR1-linux-gtk.tar.gz You can refer to this location later from Eclipse.
- (Optional) Create Eclipse shortcut on the desktop
Right-click on the desktop and select 'Create Launcher'. Select command 'eclipse' in /home/molgenis/eclipse
Now you have successfully installed all you need to run MOLGENIS.
Subsequently you can either:
- Download the latest MOLGENIS release at DownloadMolgenisWorkspace? or
- Checkout out the current development version at CheckoutMolgenisWorkspace
![(please configure the [header_logo] section in trac.ini)](http://gbic.target.rug.nl/trac/molgenis/chrome/site/molgenis_logo.jpg)