1。对于jdk+jboss安装比较简单,只需要把它解压到相应的目录里,然后进行相应的配置:

vi /etx/profile

JAVA_HOME=/usr/java/jdk1.6.0_21
JAVA_BIN=/usr/java/jdk1.6.0_21/bin
PATH=$PATH:/usr/java/jdk1.6.0_21/bin
CLASSPASS=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

JBOSS_HOME=/usr/local/jboss-4.2.1.GA
PATH=$PATH:$JBOSS_HOME/bin


export JAVA_HOME JAVA_BIN PATH CLASSPATH JBOSS_HOME