Thursday, August 15, 2013

Installing JBoss Application Server 7.1.1 on Ubuntu 13.04 Desktop OS

Hello There,


Hope you all are doing good..!

Wishing you a very happy and prosperous Independence Day, hope you will remember the people who made this day happen in our life.

Lets get back to the basics..

Today we are here to study about JBoss Application Server Installation in a freshly installed Ubuntu Operating System.

I just recently found out that Ubuntu 13.04 is the best version ever improved, it should as its the latest one at this time.. (15 August 2013). So giving a thought of installing JDK/JRE and JBoss Application server on it.

Lets Start...

Get the necessary files.

You will need jboss-as-7.1.1.Final.zip from  https://www.jboss.org/jbossas/downloads --  download it..!! ( I thought its needless to say ;))

And you might need to download the Linux version of Oracle Java 7 as below.

Step 1. Login to terminal verify if Java is there or not and wait for alternative thoughts.  -- Go to Root.


 Step 2. You might need to download the specific package for this version ( Java 7) of Java.

Step 3. Update the Package Cache and Search in the available packages in Ubuntu package cache with the help of below commands.



#apt-get update

This will get the list of packages available for download and install for Ubuntu.









#apt-cache search ^oracle_java

We see here that required Java 7 Package is not available in the packages list, we may need to update the repository with other ways.

Step 4. Update the repository with below command  - add new repository.





#add-apt-repository ppa:webupd8team/java

This will make the URL passed available to the Package Manager to update the package repository next time you run the update.

Step 5. Run the apt-get update.

This will update the list of available packages with new Java Packages available with the new source we have added recently.

Update is complete, then try to search for Java package in the list.

Here is the result..!!








Step 6. Install Java - #apt-get install oracle-java-installer

This will download, extracts and install the Java package into Ubuntu Operating System.

You might need to agree to the License Agreement which pops out in the same window.





Step 7. Verify the installation.




Downloading is in Progress.









Step 8. Check the Java Version as below.




Verifying the version :

#java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)




Next Steps....!!
 
Installing JBoss Application Server 7.1.1
-----------------------------------------------------------------

Step 1. Copy the downloaded jboss-as-7.1.1.Final.zip file to some secured safe location in your filesystem.

root@shailesh-Inspiron-N4010:/# df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda6      127819492 4303196 117016764   4% /
none                   4       0         4   0% /sys/fs/cgroup
udev             1986872       4   1986868   1% /dev
tmpfs             399024     876    398148   1% /run
none                5120       0      5120   0% /run/lock
none             1995104     160   1994944   1% /run/shm
none              102400      44    102356   1% /run/user

root@shailesh-Inspiron-N4010:/# ls
bin    dev   initrd.img      lost+found  opt   run      srv  usr
boot   etc   initrd.img.old  media       proc  sbin     sys  var
cdrom  home  lib             mnt         root  selinux  tmp  vmlinuz
root@shailesh-Inspiron-N4010:/#


Step 2. I will copy on this to /opt/RedHat/JBoss/AS hope this will be good location for JBoss to hide in.

# mkdir -p /opt/RedHat/JBoss/AS
# cd  /opt/RedHat/JBoss/AS
# cp /home/shailesh/Downloads/jboss-as-7.1.1.Final.zip .

Step 3. Unzip it.

#unzip jboss-as-7.1.1.Final.zip
root@shailesh-Inspiron-N4010:/opt/RedHat/JBoss/AS# ls
jboss-as-7.1.1.Final  jboss-as-7.1.1.Final.zip
root@shailesh-Inspiron-N4010:/opt/RedHat/JBoss/AS#


Rename the file just to refer it refer as our package.

# mv jboss-as-7.1.1.Final jboss-as-7.1.1

Set the JAVA_HOME

root@shailesh-Inspiron-N4010:~# echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle/jre/bin
root@shailesh-Inspiron-N4010:~#


Add this line in standalone.conf in /opt/RedHat/JBoss/AS/jboss-as-7.1.1/bin directory

JAVA_HOME="/usr/lib/jvm/java-7-oracle/jre"


Step 4. Start the JBoss Instance (standalone configuration).



It took value of JBOSS_HOME with the help of simple logic in standalone.sh file.

# Setup JBOSS_HOME
RESOLVED_JBOSS_HOME=`cd "$DIRNAME/.."; pwd`
if [ "x$JBOSS_HOME" = "x" ]; then
  JBOSS_HOME=$RESOLVED_JBOSS_HOME

Step 5. Verify the Configuration start-up.



 
Then try accessing the console for JBoss Application Server.

05:33:35,807 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990


Step 6. Access the console at address : http://127.0.0.1:9990/



We might need to add a user so that we can successfully access the console, let us try that.

 Step 7. Add User details as below, for Testing purpose I have used Admin User.
 



root@shailesh-Inspiron-N4010:/opt/RedHat/JBoss/AS/jboss-as-7.1.1/bin# ./add-user.sh

What type of user do you wish to add?
 a) Management User (mgmt-users.properties)
 b) Application User (application-users.properties)
(a): a

Enter the details of the new user to add.
Realm (ManagementRealm) :
Username : Admin  
Password :
Re-enter Password :
The username 'Admin' is easy to guess
Are you sure you want to add user 'Admin' yes/no? yes
About to add user 'Admin' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'Admin' to file '/opt/RedHat/JBoss/AS/jboss-as-7.1.1/standalone/configuration/mgmt-users.properties'
Added user 'Admin' to file '/opt/RedHat/JBoss/AS/jboss-as-7.1.1/domain/configuration/mgmt-users.properties'
root@shailesh-Inspiron-N4010:/opt/RedHat/JBoss/AS/jboss-as-7.1.1/bin#


Step 8. Restart the standalone server configuration and try accessing the console - Click on Try Again link on console screen.



Here I am done with this tutorial, please let me know if you need any more information, please drop into comments or email me directly.

Hope you have enjoyed the Blog Post.

Regards
Shailesh Dyade

51 comments:

21st Century Software Solutions said...

JBoss admin Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/jboss-admin-online-training-101.html
Introduction 
Application Server Management
Management Interface
User Management
Network and Port Configuration
Data source Management
Configuring Modules
Global Values
Application Deployment
Securing JBOSS EAP 6
Subsystem Configuration
JVM
HTTP Clustering and Load Balancing
contact@21cssindia.com or +919000444287

Nagendra Reddy said...

Thank you for jboss application server installation guide.

Anonymous said...

We have IT expert trainer. We provide Training Material and Software Support. Maximums has successfully conducted 100000+ training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us : Oracle Weblogic Server Training

ganga pragya said...

Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.Block Chain Training in chennai

Block Chain Training in annanagar

Block Chain Training in pune

Block Chain Training in velachery

sathya shri said...
This comment has been removed by the author.
Saro said...
This comment has been removed by the author.
Unknown said...

After seeing your article I want to say that the presentation is very good and also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts like this.

Data Science training in rajaji nagar | Data Science with Python training in chenni
Data Science training in electronic city | Data Science training in USA
Data science training in pune | Data science training in kalyan nagar

Unknown said...

Excellant post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
java training in omr | oracle training in chennai

java training in annanagar | java training in chennai

sai said...

I have picked cheery a lot of useful clothes outdated of this amazing blog. I’d love to return greater than and over again. Thanks! 
python training in pune
python training institute in chennai
python training in Bangalore

gowsalya said...

This is a nice post in an interesting line of content.Thanks for sharing this article, great way of bring this topic to discussion.
Best Devops Training in pune

Anjali Siva said...

Great blog admin, I have learned the installation steps with the help of your blog.
ccna institute in Chennai
ccna Training center in Chennai
Best CCNA Training Institute in Chennai
AWS Training in Chennai
RPA Training in Chennai
RPA courses in Chennai

sathyaramesh said...
This comment has been removed by the author.
Mariam Ahmed said...
This comment has been removed by the author.
sultana said...

I am really enjoying reading your well written articles.
It looks like you spend a lot of effort and time on your blog.
I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..

hadoop training institutes in bangalore
Java Course in Bangalore
Java Training Institutes in Bangalore
Java Institutes in Bangalore
Java Classes in Bangalore

mercyroy said...

Your information's are very much helpful for me to clarify my doubts.
keep update more information's in future.
Selenium Training Institutes in OMR
Selenium Courses in OMR
Selenium Courses in T nagar
Selenium Training Institutes in T nagar

Anonymous said...

This information is impressive; I am inspired with your post. Keep posting like this, This is very useful.Thank you so much. Waiting for more blogs like this.
airport ground staff training courses in chennai
airport ground staff training in chennai
ground staff training in chennai

Aruna Ram said...

Thank you for your nice post. I glad to read your blog. I want to more updates….
SEO Course in Aminjikarai
SEO Training in Vadapalani
SEO Course in Chennai
SEO Classes near me
SEO Training in Karappakkam
SEO Training in Navalur

Hemapriya said...

The blog which you have shared is more informative. Thanks for your information.
JAVA Training Center in Coimbatore
JAVA Training
JAVA Certification Course
JAVA Certification Training
JAVA Training Courses

Kayal said...

Really very attractive article. It was very useful information and post is very creative. Please keeping…
Big Data Hadoop Training institutes in Bangalore
Big Data Hadoop Training institute in Bangalore
Best Big Data Hadoop Training in Bangalore
Big Data Hadoop Course in Chennai
Big Data Hadoop Course in Tambaram
Big Data Hadoop Course in Omr
Big Data Hadoop Training in velachery

sathyaramesh said...

Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
Good discussion.
Ethical Hacking Certification 
Hacking Course 
Learn Ethical Hacking 
Python Training Chennai
Python courses in Chennai
Python and django Training in Chennai

Anonymous said...

Very good information provided, Thanks a lot for sharing such useful information.
airport management courses in bangalore
airport management course
airline management courses
airline and airport management

Anjali Siva said...

Excellent and useful blog admin, I would like to read more about this topic.
Appium Training in Chennai
Best Appium Training institute in Chennai
Appium Certification in Chennai
Appium Training in Velachery
Appium course in Tambaram

jefrin said...

Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
Data science Course Training in Chennai | Data Science Training in Chennai
RPA Course Training in Chennai | RPA Training in Chennai
AWS Course Training in Chennai | AWS Training in Chennai

jefrin said...

Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
Data science Course Training in Chennai | Data Science Training in Chennai
RPA Course Training in Chennai | RPA Training in Chennai
AWS Course Training in Chennai | AWS Training in Chennai

Joe said...

Great Work. Amazing way of writing things. Thanks for Posting.
Informatica MDM Training in Chennai
informatica mdm training
Informatica MDM Training in Tambaram
Informatica MDM Training in Anna Nagar
Informatica MDM Training in T nagar

VenuBharath2010@gmail.com said...

Great Post. Extra-ordinary work. Looking for your future blogs.
Informatica Training in Chennai
Informatica Training Center Chennai
Informatica Training
Learn Informatica
Informatica course
Informatica Training in Velachery
Informatica Training in Anna Nagar
Informatica Training in Tnagar

Manipriyan said...
This comment has been removed by the author.
Mr Appliance said...

I must admit I have popped in a read a good number of your blogs but I have no idea how to post a response over there, so I'll tell you now how good you are at describing the stuff your at - I must admit I find it insightful to read your blogging. Keep up the good work. If you want to know more about a sites, please visit our website
Fridge repair in Dubai

vivekvedha said...

"The provided information’s are very useful to me.
Digital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery

"

divya said...

Hi there I am so thrilled I found your website, its a fantastic post , Besant technology offerPython training in chennai good opage
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

aarthi said...

Useful blog.Thank you for giving such an information.
Java training in Chennai

Java training in Bangalore

Java training in Hyderabad

Java Training in Coimbatore

Java Online Training

IoT Course in Raipur - 360DigiTMG said...

Excellent blog found to be very impressive to come across such an awesome blog. I really appreciate the blogger for the efforts they have made to bring such an awesome for all the curious readers who are in very keen of learning an innovative content all the way. Eventually, this blog brings an amazing experience while going through this blog. Thanks a lot and keep sharing the content in further as well.

360DigiTMG Artificial Intelligence Course

Unknown said...

its very nice blog!
window ac cover

Unknown said...


it’s very nice blog! Ac covers online

Unknown said...


ITS VERY NICE BLOG FOR MEwindow ac cover

Unknown said...


ITS VERY NICE BLOG! split ac cover online

Unknown said...

ITS VERY NICE BLOG! AC cover online

Unknown said...


It’s very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!window ac cover

Unknown said...


It’s very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!AC Covers

Unknown said...


It’s very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!AC Covers

Selva said...

Thanks for sharing this wonderful information. I too learn something new from your post..
Informatica Training in Chennai

raghu said...

Really you have done a good job. Thanks for sharing this valuable information....
Inplant Training in Chennai
Inplant Training in Chennai For CSE
IPT in Chennai
PLC Training in Chennai
PLC Course in Chennai
PLC Training Institute in Chennai

INFYCLE TECHNOLOGIES said...

Infycle Technologies, the best software training institute in Chennai offers the leading Python course in Chennai for tech professionals, freshers, and students at the best offers. In addition to the Python course, other in-demand courses such as Data Science, Cyber Security, Selenium, Oracle, Java, Power BI, Digital Marketing also will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7504633633 to get more info and a free demo.

karthick said...

This post is so helpfull and attractive.keep updating with more information...
Data Science Future
Career In Data Science

Reshma said...
This comment has been removed by the author.
Reshma said...


This post is so interactive and informative.keep update more information...
Advantages of Cyber Security
Importance of Cyber Security

Pavithra Devi said...

This post is so interactive and informative.keep update more information...
Android Training in Tambaram
Android Training in Chennai

traininginstitute said...

I am impressed by the information that you have on this blog. It shows how well you understand this subject.
full stack developer course with placement

Farah Noor said...

R-Studio Crack is one of the most powerful software for disk recovery. The software offers an integrated environment for its users.R-Studio Data Recovery Full Version Download

haseeb said...

SoftMaker Office Professional 2021. Includes Zotero support, EPUB export, group policies, German grammar checking and an integrated research function for .Softmaker Office Professional 2021 Free Download

OnlineReviews said...

This post is so interactive and informative.keep update more information...RR Technosoft is the Devops training institute in hyderabadand it provides Class room & Online Training by real time faculty with course material and Lab Facility.