Ubuntu Install JBoss

Source: Internet
Author: User
Tags jboss

First, install the Java environment

Install JDK, configure environment variables, not detailed here, see

Ubuntu installation JDK

Ii. installation of JBoss

1. JBoss is compatible with Windows and Ubuntu platforms. You can put the normal jboss under Windows into Ubuntu, for example, I put it in Ubuntu's/opt directory. Or go to Http://www.jboss.org/jbossas/downloads to choose the right version to download.

2. Unpack the TAR Package

[Plain]View PlainCopy
    1. TAR-ZXVF archive_name.tar.gz

This unpacking command will unlock the document under the current directory. Of course, you can also use this command to squeeze the path of the unpacking:

[Plain]View PlainCopy
    1. TAR-ZXVF archive_name.tar.gz-c/tmp/extract_here/

3. Setting Environment variables
Modify the/etc/profile file to increase the environment variables required by JBoss at the end of the file.

[Plain]View PlainCopy
    1. Jboss_home=/opt/jboss-4.2.3.ga
    2. Path= $PATH:/opt/jboss-4.2.3.ga/bin
    3. Export Jboss_home PATH
Of course, the setting of environment variables in Linux is more than this one way, can choose other ways, here is no longer detailed.

4, test the installation is successful

To the Jboss_home/bin directory, execute the command

[Plain]View PlainCopy
    1. SH run.sh
Or

[Plain]View PlainCopy
    1. ./run.sh

When successful, the http://localhost:8080 in the browser proves that the JBoss installation was successful.

Note: If you encounter various permissions problems, use sudo chmod 777xxx command to modify the permissions, see the details

Ubuntu Change folder and subfolder permissions

Ubuntu Install JBoss

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.