...
Install Ubuntu 12.04 LTS (host or vm). Run all updates.
Java
See instructions on how to get sun-java below.
MySQL 5.1 or 5.5+
Info icon false title Terminal Commands sudo apt-get install mysql-server libmysql-java
Tomcat
Info icon false title Terminal Commands sudo apt-get install tomcat6
The tomcat service will run automatically. Enter the following command to stop the service.
Info icon false title Terminal Commands sudo /etc/init.d/tomcat6 stop
Git
Info icon false title Terminal Commands sudo apt-get install git
MySQL Workbench
Info icon false title Terminal Commands sudo apt-get install mysql-workbench
Maven2
Download the apache-maven-2.2.1.zip file. It must be 2.2.1.
Create a directory called bin in the home folder.
Extract the zip file to the bin folder.
Configure your environment variables:
Enter these lines at the bottom of the file:source (sudo nano /etc/profile) - Have to logout for the changes to take effect
Info icon false title Terminal Commands JAVA_HOME="/usr/lib/jvm/java-6-sun"
CATALINA_HOME="/usr/share/tomcat6"
CATALINA_BASE="/var/lib/tomcat6"
M2_HOME=”/home/username/bin/apache-maven-2.2.1”
M2=”$M2_HOME/bin”PATH=”$M2:$PATH”
export JAVA_HOME CATALINA_HOME CATALINA_BASE M2_HOME M2\Logout and in to see changes
Check your versions to confirm it’s all working
Info icon false title Terminal Commands java -version (if this says Ice Tea, you have the wrong Java)
mvn –version
mysql –V (capital)Eclipse (install java first, instruction below)
Info icon false title Terminal Commands sudo apt-get install eclipse
MySQL Workbench
icon | false |
---|---|
title | Terminal Commands |
...