Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added instructions for installing Git CLI.

...

Software NameMinimum VersionNotes
Ubuntu (Server)

12.04 LTS (Precise Pangolin)

Tested more extensively on 13.10 (Saucy Salamander) and 14.04 (Trusty Tahr).
Oracle Java 7 JDK + JRE1.7.0Install instructions detailed below.
Git CLI1.9.1Install instructions detailed below.
Mercurial CLI2.6Install instructions detailed below.
Apache Maven3.0Install instructions detailed below.
Apache Tomcat7.0Install instructions detailed below.

...

Installing the software packages detailed below requires several common system-wide utilities. They can be installed by running:

Code Block
languagebash
sudo apt-get install wget

Java Development Kit (JDK) & Java Runtime Environment (JRE)

In order to get the proprietary Oracle Java 7 packages, run the following:

 

Code Block
languagebash
sudo apt-get install python-software-properties (This may be necessary to use the add-apt-repository command)

...


sudo add-apt-repository ppa:webupd8team/java

...


sudo apt-get update

...


sudo apt-get install oracle-java7-installer

...


sudo update-java-alternatives -s java-7-oracle
Info

Note: when running the final command above, you might see some errors like the following:

update-alternatives: error: no alternatives for mozilla-javaplugin.so.

These errors can be safely ignored.

 

To set the JAVA_HOME environment variable for the installed JDK:

Code Block
languagebash
export JAVA_HOME=/usr/lib/jvm/java-7-oracle

...


echo "export JAVA_HOME=$JAVA_HOME" | sudo tee -a /etc/environment

 

To obtain the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files required for unlimited strength encryption used in DCDT, run either of the following sets of commands:

Code Block
languagebash
sudo apt-get install oracle-java7-unlimited-jce-policy

OR

Code Block
languagebash
wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip

...

 
sudo apt-get install unzip (if not already installed)

...


unzip UnlimitedJCEPolicyJDK7.zip

...


sudo cp UnlimitedJCEPolicy/local_policy.jar $JAVA_HOME/jre/lib/security

...


sudo cp UnlimitedJCEPolicy/US_export_policy.jar $JAVA_HOME/jre/lib/security

Git CLI

Run the following:

Code Block
languagebash
sudo apt-get install git

Mercurial CLI

Run the following:

Code Block
languagebash
sudo apt-get install mercurial

Apache Maven

Run the following:

Code Block
languagebash
sudo apt-get install maven

Apache Tomcat

Run the following:

Code Block
languagebash
sudo apt-get install tomcat7 tomcat7-admin