附录
更新时间:2021-09-22
本附录适用于未自动安装或未正常运行BCM-Agent的BEC虚机。
Linux平台
前提条件:
输入service bcm-agent status
查看相关服务是否存在,如果不存在,请您手动安装。
-
Ubuntu/Debian
// 下载deb安装包 // 64位操作系统 # wget https://bec-yum.bj.bcebos.com/deb/dists/all/main/binary-amd64/avalokita_1.0.1.1-1_amd64.deb # wget https://bec-yum.bj.bcebos.com/deb/dists/all/main/binary-amd64/bcm-agent_1.0.29.0-1_amd64.deb // 32位操作系统 # wget https://bec-yum.bj.bcebos.com/deb/dists/all/main/binary-i386/avalokita_1.0.1.1-1_i386.deb # wget https://bec-yum.bj.bcebos.com/deb/dists/all/main/binary-i386/bcm-agent_1.0.29.0-1_i386.deb //安装 bcm-agent # dpkg -i avalokita_${version}.deb # dpkg -i bcm-agent_${version}.deb //卸载 bcm-agent # dpkg -r bcm-agent //启动/停止 # service bcm-agent start/stop/restart //未正常运行bcm-agent需执行 curl https://bec-access.bj.bcebos.com/bec/bcm-agent/bcm.sh?authorization=bce-auth-v1%2F4a38ca1e16c04fbab434066b9fcb5583%2F2021-09-10T08%3A47%3A24Z%2F-1%2Fhost%2F504610748c8e1af4c778b5c117882f845172934de716b69dbd26889bde6073f8 | bash
-
Centos
// 下载rpm安装包 // 64位操作系统 # wget http://bec-yum.bj.bcebos.com/yum/Packages/avalokita-1.0.1.1-1.x86_64.rpm # wget https://bec-yum.bj.bcebos.com/yum/Packages/bcm-agent-1.0.29.0-1.x86_64.rpm // 32位操作系统 # wget https://bec-yum.bj.bcebos.com/yum/Packages/avalokita-1.0.1.1-1.i386.rpm # wget https://bec-yum.bj.bcebos.com/yum/Packages/bcm-agent-1.0.29.0-1.i686.rpm //安装 bcm-agent # rpm -ivh avalokita-${version}.rpm # rpm -ivh bcm-agent-${version}.rpm //卸载 bcm-agent # rpm -e bcm-agent //启动/停止 # service bcm-agent start/stop/restart //未正常运行bcm-agent需执行 curl https://bec-access.bj.bcebos.com/bec/bcm-agent/bcm.sh?authorization=bce-auth-v1%2F4a38ca1e16c04fbab434066b9fcb5583%2F2021-09-10T08%3A47%3A24Z%2F-1%2Fhost%2F504610748c8e1af4c778b5c117882f845172934de716b69dbd26889bde6073f8 | bash