docker 安装 GridStudio
準(zhǔn)備工作:
安裝docker
docker安裝原文鏈接
1、Docker 要求 CentOS 系統(tǒng)的內(nèi)核版本高于 3.10 ,查看本頁面的前提條件來驗(yàn)證你的CentOS 版本是否支持 Docker 。
通過 uname -r 命令查看你當(dāng)前的內(nèi)核版本
uname -r
2、使用 root 權(quán)限登錄 Centos。確保 yum 包更新到最新。
yum update
3.安裝需要的軟件包, yum-util 提供yum-config-manager功能,另外兩個是devicemapper驅(qū)動依賴的
yum install -y yum-utils device-mapper-persistent-data lvm2
4.設(shè)置yum源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- 國外鏡像一般很難訪問,建議配置阿里云鏡像。
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
5.可以查看所有倉庫中所有docker版本,并選擇特定版本安裝
yum list docker-ce --showduplicates | sort -r
6.安裝docker
yum install docker-ce
7.啟動并加入開機(jī)啟動
systemctl start docker
systemctl enable docker
8.驗(yàn)證安裝是否成功(有client和service兩部分表示docker安裝啟動都成功了)
docker version
現(xiàn)在可以安裝Grid Studio了
- 下載gridstudio
mkdir /root/Grid -p
cd /root/Grid
執(zhí)行
git clone https://github.com/ricklamers/gridstudio
- 設(shè)置文件權(quán)限
chmod 777 gridstudio
- 停止firewall,否則外邊瀏覽器無法訪問(該步驟建議暫時不進(jìn)行操作)
systemctl stop firewalld.service
啟動: systemctl start firewalld 關(guān)閉: systemctl stop firewalld 查看狀態(tài): systemctl status firewalld 開機(jī)禁用 : systemctl disable firewalld 開機(jī)啟用 : systemctl enable firewalld- run.sh
. ./run.sh
安裝完成后用自己的服務(wù)器IP + 你的端口號在瀏覽器打開
默認(rèn)賬號密碼都為: admin
結(jié)束
轉(zhuǎn)載于:https://www.cnblogs.com/duoban/p/11399584.html
總結(jié)
以上是生活随笔為你收集整理的docker 安装 GridStudio的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在Delphi中如何创建和使用udl文件
- 下一篇: 项目开发经验谈之:项目到底谁说了算