Weblog entry #2 for andershedstrom

Install JBoss
Posted by andershedstrom on Tue 28 Feb 2006 at 12:47
Tags: none.

Install JBoss on Debian 3.1

This is a short and easy HOW-TO guide. It describes in a few steps how to install JBoss 4.0.3 SP1 on Debian 3.1. This is not the only way to accomplish this task, but this is the way I take. I do not issue any guarantee that this will work for you and your system (but it should with some tweaking).

System Details

The system used in this how-to guide has the following installed:

Operating System: Debian Sarge (3.1) – the base system.

JDK: Sun JDK 5 (see: Install Sun JDK 5)

HOW-TO GUIDE

· Download JBoss to your preferred download directory. (Chose the file named jboss-4.0.3SP1.tar.gz).

· Change to the directory where you want to install JBoss. I chose /usr/local

> cd /usr/local

· Switch to root user and unpack the file you downloaded

> su

Password:

> tarxvzf /home/download/jboss-4.0.3SP1.tar.gz

· Now you should have a directory named jboss-4.0.3SP1 in /usr/local

· Change the owner of the jboss directories and files to the user you will use to run JBoss, so we won’t have any problems with permissions. I create a new user named jboss first.

> useradd jboss

(…go thru all steps to create the new user…)

> chown –R jboss:jboss jboss-4.0.3SP1

· Exit the root user and switch to the user that will run JBoss, in my case jboss

> exit

> su jboss

Password:

· You can now start JBoss

> cd /usr/local/jboss-4.0.3SP1/bin

> ./run.sh

=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/jboss-4.0.3SP1

JAVA: /usr/local/lib/jdk/bin/java

JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

CLASSPATH: /usr/local/jboss-4.0.3SP1/bin/run.jar:/usr/local/lib/jdk/lib/tools.

jar

=========================================================================

18:39:36,037 INFO [Server] Starting JBoss (MX MicroKernel)...

 

Comments on this Entry

Posted by Anonymous (217.207.xx.xx) on Tue 28 Feb 2006 at 13:06
A good guide. Except for the colours ;)

[ Parent | Reply to this comment ]

Posted by andershedstrom (192.121.xx.xx) on Tue 28 Feb 2006 at 13:10
[ Send Message | View Weblogs ]
I promise you, I'll change the colours in my next post =)

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Tue 28 Feb 2006 at 14:24
OUCH! MY EYES!

[ Parent | Reply to this comment ]

Posted by Anonymous (85.182.xx.xx) on Wed 27 Jan 2010 at 01:12

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search