# Setting up the JBOSS server

Setting JBOSS\_HOME

1. Set the env variable JBOSS\_HOME. $ export JBOSS\_HOME = path to jboss
2. Check the exported path using the following command. *$ echo $JBOSS\_HOME*

## Accessing the WildFly administration console

1. From the command line, navigate to WildFly’s bin directory.
2. Run the jboss-cli.sh script with the --connect optio&#x6E;**.** *./jboss-cli.sh --connect*

## Creating a management user

1. To open the administration console, go to <http://localhost:9990/console>.
2. From the instructions displayed in the console, create a management user.
3. Go to the bin folder and run the following command: *# add-user.sh*
4. Follow the instructions on the console to create the management user.

## Managing the server using a web interface

**WildFly** provides an option to access the application server from a web-based console.

* By default, the **WildFly** administration console can be accessed at <http://localhost:9990/console.>
* You can sign in using the management user you have created.

![WildFlly Application Server](/files/-M-J14MGX_WtIo-NIrSk)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/setting-up-the-cloudio-platform/platform-installation/installing-the-servers/installing-and-configuring-the-jboss-wildfly-server/setting-up-the-jboss-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
