# lab ## Getting started To make it easy for you to get started with GitLab, here's a list of recommended next steps. Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! ## Add your files - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: ``` cd existing_repo git remote add origin https://git.impa.br/csr-prova/lab.git git branch -M main git push -uf origin main ``` # lab ## Getting started To make it easy for you to get started with GitLab, here's a list of recommended next steps. Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! ## Add your files - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: ``` cd existing_repo git remote add origin https://git.impa.br/csr-prova/lab.git git branch -M main git push -uf origin main ``` *** # Editing this README Tarefas Configurar NTP: Apontar o servidor NTP para ntp.impa.br. Configurar o Timezone: Definir o timezone do sistema para America/Sao_Paulo. Montar NFS: Montar o diretório NFS 10.1.1.185:/prova/devops-1 no caminho /mnt/prova. Clonar Repositório Git: Clonar o repositório https://git.impa.br/csr-prova/lab.git na pasta /mnt/prova. Instalar Docker e Docker Compose: Instalar o Docker e Docker Compose no sistema. Configurar e Subir Contêineres com Docker Compose: Subir um contêiner Apache com PHP, montando o volume /mnt/prova dentro do contêiner. Subir um contêiner MySQL, realizando o dump do arquivo MySQL fornecido. Configurar o código PHP no contêiner Apache para acessar o banco de dados MySQL.