> For the complete documentation index, see [llms.txt](https://avbravo-2.gitbook.io/jakartaee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avbravo-2.gitbook.io/jakartaee/glassfish-server/instalar-glassfish.md).

# Instalar GlassFish

En esta oportunidad utilzaremos Glassfish versión 6.2.23

desde el sitio oficial

{% embed url="<https://glassfish.org/download>" %}
ç
{% endembed %}

Descomprimir el archivom y luego ingresar al directorio bin

```shell-session
cd glassfish6/glassfish/bin  
```

ejecutar

```shell-session
./asadmin start-domain domain
```

en el navegador ingresamos a la dirección&#x20;

```
http;//localhost:4848
```

Nos muestra la ventana de administración

![](/files/IQvPjWJvAwmYGSEOGRxw)

**Administración de Glassfish**

Crear nuevos dominios

```
./asadmin create-domain nombredominio
```

Agregar usuarios a Glassfish

```
 ./asadmin change-admin-password --user admin  
```

Nos solicita una nueva contraseña.

Dejamos vacía la contraseña actual y damos enter y luego ingresamos la nueva contraseña.

![](/files/otydnpLUcY6hANXJyj5b)

Ingresamos desde el navegador a la dirección

```
http://localhost:8484/
```

Nos muestra la ventana de autentificación

![](/files/wonNAgPRxGDFaKPkngWu)

Ingresar las credenciales

```
username: admin
password: 
```

Con las credenciales ingresamos al panel de administración

![](/files/62637t6raV3flkhbwdTq)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://avbravo-2.gitbook.io/jakartaee/glassfish-server/instalar-glassfish.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.
