Skip to content

1. Docker Installation

Steps

  1. Upload the Compressed Package

    • Upload the downloaded compressed package (reference file: docker-27.2.1.tgz) to the Linux server.
  2. Extract the Compressed Package

    bash
    tar -xvf docker-27.2.1.tgz
  3. Move the Files

    • Move the extracted Docker files to the /usr/bin/ directory:
    bash
    mv docker/* /usr/bin/

    Alternatively, you can use the copy command:

    bash
    cp docker/* /usr/bin/
  4. Register Docker as a Service

    • Create a docker.service file according to your configuration, referring to Attachment 1:
    bash
    vi /etc/systemd/system/docker.service
  5. Start Docker

    bash
    chmod +x /etc/systemd/system/docker.service  # Set permissions
    systemctl daemon-reload                       # Reload the service
    systemctl --now start docker                  # Start Docker
  6. Check Installation

    • Use the following command to check if Docker has been installed successfully:
    bash
    docker version

image


2. Docker-Compose Installation

Steps

  • Place the docker-compose file in the /usr/local/bin/ directory. image

  • Check if docker-compose has been installed successfully:

bash
docker-compose --version

image


3. System Setup

Steps

  • Pull the required images from Docker Hub:
bash
docker pull yuantuo/intalink_nginx:1.23.1
docker pull yuantuo/intalink_service:8_latest
docker pull yuantuo/intalink_mysql:8.0.27
docker pull yuantuo/intalink_redis:6.2.6

image


4. Start the Containers

Steps

  • Place the docker-compose.yaml file in the /home/intalink directory. image

  • Run Docker Compose in the background:

bash
docker-compose up -d

image


5. Accessing the Page