Home > Coding, Hardware > Getting it up and running

Getting it up and running

September 10th, 2007 Leave a comment Go to comments

Last week I finally received my new hardware. Eager to get it all running I started with the base install of Debian (4.0).

First I installed the subversion server as follows:

  1. run ‘apt-get install subversion’
  2. run ‘svnadmin create /path/to/repository’
  3. update the config files in /path/to/repository/conf
  4. create a start script for the svnserve daemon, containing something like: ‘svnserve -d -r /path/to/repository/’
  5. wow it works! 😛

Installing Apache2, PHP5 and MySQL 5 was also really easy.

  1. run ‘apt-get install apache2 php5 mysql-server-5.0 libapache2-mod-php5 php5-mysql’

Installing Tomcat was a bit harder. I first installed lynx so I could download jdk 1.5 from java.sun.com. After downloading it I installed it into /opt. After that I created a symbolic link from /opt/java pointing to the jdk 1.5 folder. After that setting the JAVA_HOME environment variable to it and exporting JAVA_HOME/bin to the path.

After that I also downloaded the Tomcat 5.5 tar.gz file and untarred it into the /opt directory on the harddrive. After that I created a similar symbolic link to /opt/tomcat referring to the tomcat install location. After that I tested the install and it worked ok. Because I didn’t want to run Tomcat as root I created a tomcat user and modified the startup script to run as the tomcat user using the ‘su -p tomcat’ command.

Categories: Coding, Hardware Tags:
  1. No comments yet.
  1. No trackbacks yet.

Time limit is exhausted. Please reload CAPTCHA.