Sunday, June 28, 2015

The Long Time Distro

As what I've used several Linux distributions, a times come that i need to migrate to a stable for my server that will run for a long period of years runnning  services like APACHE, MYSQL, SAMBA, BIND, DHCP, SSH, SQUID, etc......................
Image below shows about the LTS (Long Time Support) from Ubuntu.
LTR - Long Time Release as what we need to consider in the version of Linux kernel that we used in every Linux that we installed. In my final point of view we know already how to select the distro for our servers or even desktop.

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]