VPC300 Quick Start Guide
Page
35
sudo a2enmod ssl
sudo a2enmod rewrite
sudo a2enmod suexec
sudo a2enmod include
sudo a2enmod dav_fs
sudo a2enmod dav
sudo /etc/init.d/apache2 restart
Disable ruby
sudo vi /etc/mime.types
#application/x-ruby
/etc/init.d/apache2 restart
Install Perl modules
sudo aptitude install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl
libnetaddr-ip-perl libarchive-tar-perl
Add & Install repository and Java
sudo apt-get install python-software-properties
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
Install java open-jdk-6
sudo apt-get install default-jdk
Setup Tomcat
vi /etc/tomcat6/tomcat-users.xml
add following line
:
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin,manager"/>
Install ANT
sudo apt-get install ant
Setup environment
add following line to /etc/environment
:
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
export ANT_HOME=/usr/share/ant
export CATALINA_HOME=/usr/share/tomcat6