下载软件
本章节主要介绍下载并解压obsutil_adapter.zip软件包的操作。
操作步骤
- 以“root”帐号,通过密钥或密码的方式,登录到服务器。
- 在命令行界面,下载解压软件包obsutil_adapter.zip,并解压到/opt/huawei目录下。不同的region软件包下载地址不同,具体请参见表1,此处以华东区域为例:
wget https://obs-sap.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
表1 获取软件包 名称
描述
获取方式
obsutil_adapter.zip
软件包。
华北-北京一:wget https://obs-sap-cn-north-1.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
华北-北京四:wget https://obs-sap-cn-north-4.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
华东-上海一:wget https://obs-sap-cn-east-3.obs.cn-east-3.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
华东-上海二:wget https://obs-sap.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
华南-广州:wget https://obs-sap-cn-south-1.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei
cd /opt/huawei
unzip obsutil_adapter.zip -d obsutil_adapter/
- obsutil_adapter.py:上传脚本,需要执行的脚本文件,会调用obsutil客户端。
- obsutil_adapter.cfg:脚本配置文件。
- obsutil:obsutil客户端。
- Log目录的路径为/var/log/huawei/obsutil_adapter。