Image.png

云服务器配置

CPU 2核 - 内存 4GB - 系统盘 60GB
Centos7.6

安装docker

#/bin/bash
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo    
sudo yum-config-manager --enable docker-ce-nightly
sudo yum install docker-ce docker-ce-cli containerd.io
systemctl start docker  #启动容器
systemctl enable docker #开机自启
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker --version
docker-compose --version

安装Jumpserver

curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.21.2/quick_start.sh | bash

等待安装完成之后即可访问HOST的地址进行登录管理配置资产