Commit 6788813c authored by fuhai999@gmail.com's avatar fuhai999@gmail.com
Browse files

v2.0.3

parent 15b5b235
No related merge requests found
Showing with 37 additions and 0 deletions
+37 -0
#!/bin/bash
# ----------------------------------------------------------------------
# author: yangfuhai
# email: fuhai999@gmail.com
# use : yum install -y wget && wget -O install.sh https://gitee.com/fuhai/jpress/raw/master/install-all.sh && bash install.sh
# ----------------------------------------------------------------------
# 安装docker
sudo yum update
echo y | sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum list docker-ce --showduplicates | sort -r
echo y | sudo yum install docker-ce
# 启动docker和开机自启动
sudo systemctl start docker
sudo systemctl enable docker
# 查看版本
docker version
# 安装docker-compose
pip install --upgrade pip
pip install docker-compose
docker-compose -version
# 安装并运行jpress
wget https://gitee.com/fuhai/jpress/raw/master/docker-compose.yml
docker-compose up -d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment