[Linux] Installation Jboss-centos

Source: Internet
Author: User
Tags jboss

CentOS Install JBoss 7 as method: (Install Java skip)

1. Download the zip file for JBoss 7 as first.

2, use SSH, upload to CentOS. (How to use the wget command download, you can skip a few steps), here upload to the/home directory

3, CD to/home, unzip the zip file.

Command: Unzip Jboss-as-7.1.1.final.zip

4. Start JBoss. CD to directory:/home/jboss-as-7.1.1.final/bin

Command: SH standalone.sh &

Modify JBoss to external access method:

Open File:/home/jboss-as-7.1.1.final/standalone/configuration/standalone.xml

        <Interfacename= "Management">            <inet-addressvalue= "${jboss.bind.address.management:127.0.0.1}"/>        </Interface>        <Interfacename= "Public">            <inet-addressvalue= "${jboss.bind.address:127.0.0.1}"/>        </Interface>

Set 127.0.0.1 to the corresponding IP.

Modify the port of JBoss to 80 method:

Open File:/home/jboss-as-7.1.1.final/standalone/configuration/standalone.xml

<name= "http"  port= "8080"/>

Set 8080 to 80.

Similarly, JBoss's management port is 9990.

To stop JBoss command:

Entry directory:/home/jboss-as-7.1.1.final/bin

sh jboss-cli. sh --connect Command=:shutdown &

Since CentOS has a firewall open by default, 80 ports are inaccessible, open the CentOS 80 port method, see this:

Http://www.cnblogs.com/HD/p/4011323.html

To add JBoss to the boot Start method:

Http://www.cnblogs.com/HD/p/4011479.html

[Linux] Installation Jboss-centos

Related Article

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.