# Etapa 1

Antes de instalar o GitLab, é importante instalar o software que ele utiliza durante a instalação e continuamente. O software necessário pode ser instalado a partir dos repositórios de pacotes padrão do Ubuntu.

Primeiro, atualize o índice de pacotes local:

```
sudo apt update
```

Em seguida, instale as dependências digitando este comando:

```
sudo apt install ca-certificates curl openssh-server postfix tzdata perl
```

Você provavelmente já terá alguns desses softwares instalados. Para a instalação do `postfix`, selecione **Site da Internet** quando solicitado. Na próxima tela, digite o nome de domínio do seu servidor para configurar como o sistema enviará e-mails.

Agora que você tem as dependências instaladas, está pronto para instalar o GitLab.


---

# 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://liedsons-organization.gitbook.io/gitlab-no-ubuntu/instalacao-e-configuracao-script/etapa-1.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.
