主机参考:VPS测评参考推荐/专注分享VPS服务器优惠信息!若您是商家可以在本站进行投稿,查看详情!此外我们还提供软文收录、PayPal代付、广告赞助等服务,查看详情! |
我们发布的部分优惠活动文章可能存在时效性,购买时建议在本站搜索商家名称可查看相关文章充分了解该商家!若非中文页面可使用Edge浏览器同步翻译!PayPal代付/收录合作 |
主要是增加了推送,不多说,需要安装 oci。
支持请求统计,需要自行注册使用 https://www.stathat.com/
没有把全部参数变量化,图个方便勿喷
- export PATH=/home/name/bin:$PATH
- [[ -e “/home/name/lib/oracle-cli/lib/python2.7/site-packages/oci_cli/bin/oci_autocomplete.sh” ]] source “/home/name/lib/oracle-cli/lib/python2.7/site-packages/oci_cli/bin/oci_autocomplete.sh”
- log_path=’/root/oracle.log’ # log dir
- python_version=’3′ #Python by default
- # stat_user=’mail@mail.com’
- # stat_project=’Oracle KR’
- response=$(/root/bin/oci compute instance launch
- –availability-domain kWIa:AP-SEOUL-1-AD-1
- –image-id ocid1.image.oc1.ap-seoul-1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- –subnet-id ocid1.subnet.oc1.ap-seoul-1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- –shape VM.Standard.E2.1.Micro
- –assign-public-ip true
- –metadata ‘{“ssh_authorized_keys”: “ssh-rsa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kDme8T+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+Y/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa== rsa 2048-091719”}’
- –compartment-id ocid1.tenancy.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2>1)
- # echo ‘Variable’
- # echo ${response}
- status=$(python${python_version} -c “import sys, 复制代码
各路大神的回复:
注册: 没账号啊没账号,只有一个日本东京的账号,用来DNS解锁NF了
Reynard: 感谢分享,收藏下先
skyland: 老哥厉害了
这几篇文章你可能也喜欢:
- 暂无相关推荐文章
本文由主机参考刊发,转载请注明:终于!刷到两台韩国,公布改进过后的脚本( https://zhujicankao.com/15676.html
评论前必须登录!
注册