obd安装方法,倒车轨迹线安装方法obd

首页 > 车主 > 作者:YD1662023-07-09 01:08:29

obd 全称是 OceanBase Deployer,是 OceanBase 社区版的命令行下自动化部署软件。 根据中控机器能否连接公网,提供两个安装方法:离线和在线。二选一。

通过obd进行自动部署时,选择一台服务器作为中控机进行部署obd软件,obd软件支持离线部署和在线部署两种方式,下面分别介绍:

obd服务器没有特殊的资源需求,我的obd服务器配置为内存16G/磁盘40G空间。

离线部署

笔记本提前下载好 OBD 、 OBSERVER 和 OBPROXY 相关软件包。后上传到admin用户家目录下的soft文件夹

下载连接https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/ 根据不同的操作系统选择不动的软件包

[admin@obd soft]$ ls libobclient-2.0.0-2.el7.x86_64.rpm ob-deploy-1.2.1-9.el7.x86_64.rpm oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpm obclient-2.0.0-2.el7.x86_64.rpm obproxy-3.1.0-1.el7.x86_64.rpm oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm

#安装ob-deploy软件 [admin@obd soft]$ sudo rpm -ivh ob-deploy-1.2.1-9.el7.x86_64.rpm We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: warning: ob-deploy-1.2.1-9.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e9b4a7aa: NOKEY Preparing... ################################# [100%] Updating / installing... 1:ob-deploy-1.2.1-9.el7 ################################# [100%] Installation of obd finished successfully Please source /etc/profile.d/obd.sh to enable it [admin@obd soft]$ id admin uid=1001(admin) gid=1001(admin) groups=1001(admin),10(wheel) [admin@obd soft]$ which obd /bin/obd [admin@obd soft]$ source /etc/profile.d/obd.sh [admin@obd soft]$ which obd /bin/obd [admin@obd soft]$

软件复制到本地仓库

[admin@obd ~]$ obd mirror clone soft/*.rpm name: libobclient version: 2.0.0 release:2.el7 arch: x86_64 md5: f73cae67e2ff5be0682ac2803aba33a7ed26430e add soft/libobclient-2.0.0-2.el7.x86_64.rpm to local mirror name: obclient version: 2.0.0 release:2.el7 arch: x86_64 md5: 1d2c3ee31f40b9d2fbf97f653f549d896b7e7060 add soft/obclient-2.0.0-2.el7.x86_64.rpm to local mirror name: ob-deploy version: 1.2.1 release:9.el7 arch: x86_64 md5: 219823e1119d37f59ce2c906b44e45605acfd3f3 add soft/ob-deploy-1.2.1-9.el7.x86_64.rpm to local mirror name: obproxy version: 3.1.0 release:1.el7 arch: x86_64 md5: 0b17cf0459a3b53c5a2febb6572894d183154c64 add soft/obproxy-3.1.0-1.el7.x86_64.rpm to local mirror name: oceanbase-ce version: 3.1.2 release:10000392021123010.el7 arch: x86_64 md5: 7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed add soft/oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpm to local mirror name: oceanbase-ce-libs version: 3.1.2 release:10000392021123010.el7 arch: x86_64 md5: 94fff0ab31de053051dba66039e3185fa390cad5 add soft/oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm to local mirror [admin@obd ~]$ obd mirror list local 查看本地仓库软件

obd安装方法,倒车轨迹线安装方法obd(1)

在线安装

首先在中控机上部署 OBD 软件。如果中控机能上网,则可以直接添加 OceanBase 的仓库,使用 YUM 安装。

yum install -y yum-utils yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo yum install -y ob-deploy

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.