#!/bin/bash
echo "安装阿里云ossutil"
mkdir -p /data/monitor
cd /data/monitor
wget http://gosspublic.alicdn.com/ossutil/1.7.7/ossutil64 
chmod 755 ossutil64
echo '
[Credentials]
language=EN
endpoint=oss-cn-shanghai-internal.aliyuncs.com
accessKeyID=xxxxxxxxxxxxxxxx
accessKeySecret=xxxxxxxxxxxxxxxxxxxx
' >>/root/.ossutilconfig

echo "请修改配置文件/root/.ossutilconfig中accessKeyID和accessKeySecret"
