[admin@obd soft]$ lslibobclient-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.rpmobclient-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.rpmWe trust you have received the usual lecture from the local SystemAdministrator. 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: NOKEYPreparing... ################################# [100%]Updating / installing...1:ob-deploy-1.2.1-9.el7 ################################# [100%]Installation of obd finished successfullyPlease source /etc/profile.d/obd.sh to enable it[admin@obd soft]$ id adminuid=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/.rpmname: libobclientversion: 2.0.0release:2.el7arch: x86_64md5: f73cae67e2ff5be0682ac2803aba33a7ed26430eadd soft/libobclient-2.0.0-2.el7.x86_64.rpm to local mirrorname: obclientversion: 2.0.0release:2.el7arch: x86_64md5: 1d2c3ee31f40b9d2fbf97f653f549d896b7e7060add soft/obclient-2.0.0-2.el7.x86_64.rpm to local mirrorname: ob-deployversion: 1.2.1release:9.el7arch: x86_64md5: 219823e1119d37f59ce2c906b44e45605acfd3f3add soft/ob-deploy-1.2.1-9.el7.x86_64.rpm to local mirrorname: obproxyversion: 3.1.0release:1.el7arch: x86_64md5: 0b17cf0459a3b53c5a2febb6572894d183154c64add soft/obproxy-3.1.0-1.el7.x86_64.rpm to local mirrorname: oceanbase-ceversion: 3.1.2release:10000392021123010.el7arch: x86_64md5: 7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aedadd soft/oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpm to local mirrorname: oceanbase-ce-libsversion: 3.1.2release:10000392021123010.el7arch: x86_64md5: 94fff0ab31de053051dba66039e3185fa390cad5add soft/oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm to local mirror[admin@obd ~]$ obd mirror list local 查看本地仓库软件
在线安装首先在中控机上部署 OBD 软件如果中控机能上网,则可以直接添加 OceanBase 的仓库,使用 YUM 安装yum install -y yum-utilsyum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repoyum install -y ob-deploy
(图片来源网络,侵删)
0 评论