Latitude-OpenDATA-SIO-Saintbe / setup

0 stars 0 forks source link

Creating a Virtual Machine to Host Docker #27

Closed ClementBobin closed 3 weeks ago

ClementBobin commented 3 weeks ago

As a System Administrator, I want to create and configure a virtual machine (VM) to host Docker, so that I can deploy containerized applications and services efficiently in a controlled environment.

I installed a virtual machine that allows hosting docker containers.

I installed the git tool with command "apt install git" and curl

Git clone command to clone script from repos

Image

Right of access to the file in which I am located :

Image

git clone https://github.com/Latitude-OpenDATA-SIO-Saintbe/AutomatisationScript.git cd AutomatisationScript


Make the scripts executable:

```bash
chmod +x bash/*/script.sh
chmod +x bash/script.sh

Run the main installation script:


    bash bash/script.sh
Follow the prompt: The script will ask you to choose the service you want to install:
   1) Apache
    2) Docker (with Portainer)
    3) Firewall
    4) GLPI

I did the 2