1 Star 0 Fork 1.9K

dwxxd / jpress

forked from JPressProjects / jpress 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
install-all.sh 1.15 KB
Copy Edit Web IDE Raw Blame History
开源海哥 authored 2019-08-23 17:08 . v2.0.8
#!/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
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
sudo yum install docker-ce
# 启动docker和开机自启动
sudo systemctl start docker
sudo systemctl enable docker
# 查看版本
docker version
# 安装docker-compose
pip install --upgrade pip
if [ $? -ne 0 ]; then
curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
else
pip install docker-compose
fi
docker-compose -version
# 安装jpress
wget https://gitee.com/fuhai/jpress/raw/master/docker-compose.yml
docker-compose up -d
rm -f install.sh

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/dwxxd/jpress.git
git@gitee.com:dwxxd/jpress.git
dwxxd
jpress
jpress
master

Search