Tuesday, June 23, 2015

Linux JOB ReqJBOSS

First time to explore about JBOSS from Redhat Linux...
As I started to used JBOSS, this is my preparation:
My primary OS Linux Ubuntu Server 14.04 LTS purely CLI mode..

Step 1:   Download JBOSS @ SourceForge and I've downloaded JBOSS 6.0
Step 2.   Install JAVA  
Step 3.   CREATE JBOSS USER AND SET PASSWORD
      #useradd -d /home/jboss -s /bin/bash -m jboss
      #passwd jboss
Step 4.   COPY JBOSS ZIPFILE AND UNZIP
viewed using lynx -- other photos

      #cp jboss-AS.zip /home/jboss
      #cd /home.jboss
      #unzip jboss-AS.zip
Step 5.   RENAME THE FOLDER AND CHANGE OWNERSHIP
      #mv jboss6.0.Final jboss-6.0
      #chown -R jboss:jboss /home/jboss/jboss-6.0/
      #chmod -R 775 /home/jboss/jboss-6.0
       
Step 6.   SET THE JBOSS AND JAVA PATH
      #su -l jboss
      # vi .bashrc
             add the ff. lines:    export JBOSS_HOME=$HOME/jboss-6.0
                                           export JAVA_HOME=/usr/lib/jvm/java-7-oracle
     Step 7.   THE JBOSS AND LOGIN TO WEB PORTAL
      #cd jboss-6.0/bin
     #./run.sh
                access to jboss web portal using any web browser  [  http://localhost:8080]



No comments:

Post a Comment