Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jpress
Commits
6788813c
Commit
6788813c
authored
5 years ago
by
fuhai999@gmail.com
Browse files
Options
Download
Email Patches
Plain Diff
v2.0.3
parent
15b5b235
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install-all.sh
+37
-0
install-all.sh
with
37 additions
and
0 deletions
+37
-0
install-all.sh
0 → 100755
+
37
-
0
View file @
6788813c
#!/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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help