1 Star 0 Fork 2.7K

journeyIT/jpress

forked from JPressProjects/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install-all.sh 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/journeyIT/jpress.git
git@gitee.com:journeyIT/jpress.git
journeyIT
jpress
jpress
master

搜索帮助