Weblog entry #2 for andershedstrom
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
> suPassword:> tar –xvzf /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 jbossPassword: |
· 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
[ Parent | Reply to this comment ]
[ Send Message | View Weblogs ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]