Installation and Deployment Guide
Table of Contents
- Technical Specifications
1.1. Technical Architecture
1.2. Deployment Environment
1.3. Minimum Application Configuration - Installation Manual
2.1. Install MySQL
2.2. Install Nginx - IntaLink System Deployment
1. Technical Specifications
1.1. Technical Architecture
1.2. Deployment Environment
- JDK, MySQL, Nginx
1.3. Minimum Application Configuration
- JDK: 1.8
- MySQL: 5.7
- Nginx: 1.24
2. Installation Manual
2.1. Install Docker Desktop
Download Docker Desktop
Download link: Docker Desktop Download
Click the Download Docker Desktop for Mac button to download the Docker Desktop installer.
Install Docker Desktop
Find Docker in the "Applications" folder and double-click to start.
Upon first launch, Docker will ask for your system password to obtain administrator rights. After installation, the Docker icon will appear in the top menu bar.
Docker Desktop Interface Overview
- Main Navigation Bar: Located on the left, providing quick access to various features.
- Status Bar: Located at the top, showing Docker's runtime status and other information.
- Main Panel: Displays detailed information about containers and images.
Docker Desktop Interface Components
Component | Description |
---|---|
Containers Tab | Lists currently running and stopped containers, allows for starting, stopping, or deleting containers. |
Images Tab | Lists local images, supports pulling, deleting, or viewing image details. |
Settings Tab | Configures various Docker options, such as resource allocation, network settings, etc. |
Status Indicator | Shows Docker's runtime status (e.g., running, stopped, error). |
2.2. Configure Docker Desktop
Configure Resources
Docker Desktop allows you to configure system resources such as CPU and memory. Follow these steps to configure:
- Click the Settings (gear icon) in the top right.
- In the pop-up window, select the Resources tab.
- Adjust the CPU, memory, and swap space settings according to your system configuration.
Recommended resource allocation:
- CPU: Controls how many processor cores Docker can use. Increasing this value can improve performance.
- Memory: Adjust the maximum amount of memory Docker can use, based on needs.
- Disk Image Size: Set the maximum disk space for storing images and containers.
Network Configuration
In the Network tab, configure Docker's network settings:
- In the settings window, select the Network tab.
- Configure DNS server and proxy settings.
2.3. Set Up the System
Pull Images from Docker Hub
Use the following commands to pull the required images:
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
Alternatively, you can extract the docker_images.zip
file and use the following command to load the images into Docker:
docker load -i <path>/yuantuo_intalink_mysql_8.0.27.tar
docker load -i <path>/yuantuo_intalink_nginx_1.23.1.tar
docker load -i <path>/yuantuo_intalink_redis_6.2.6.tar
docker load -i <path>/yuantuo_intalink_service_8_latest.tar
Use the docker images
command to confirm whether the images have been successfully loaded.
Create Docker Compose Folder
Create a folder (e.g., D:\docker-compose
) and create a docker-compose.yaml
file within that folder with the following content:
version: '2.2'
networks:
yuantuo:
driver: bridge
services:
intalink-mysql:
image: yuantuo/intalink_mysql:8.0.27
ports:
- "3306:3306"
volumes:
- D:\docker-compose\mysql:/var/lib/mysql
networks:
- yuantuo
restart: always
intalink-redis:
image: yuantuo/intalink_redis:6.2.6
ports:
- "16379:6379"
volumes:
- D:\docker-compose
edis:/data
command: --requirepass 2RSD.YTXX.INTALINK
networks:
- yuantuo
restart: always
intalink-service:
image: yuantuo/intalink_service:8_latest
ports:
- "9207:9207"
depends_on:
- intalink-mysql
- intalink-redis
networks:
- yuantuo
restart: always
intalink-nginx:
image: yuantuo/intalink_nginx:1.23.1
ports:
- "80:80"
depends_on:
- intalink-service
networks:
- yuantuo
restart: always
2.4. Start Containers
Open PowerShell as an administrator, navigate to the directory where the docker-compose.yaml
file is located, and run the following command to start the containers:
docker-compose up -d
This command will start the containers, and you can see them running in the Docker Desktop interface.
3. IntaLink System Deployment
Access the Application
After deployment, you can access the IntaLink system via the following URL:
Please replace <IP>
with your server's actual IP address.