ubuntu14.04安装与配置cloudmonkey

按照官网安装
$ sudo apt-get install python-pip
> $ sudo pip install cloudmonkey
> $ cloudmonkey
> Import error in cloudmonkey.requester : cannot import name connection
出现上述错误


正确安装为
> pip uninstall cloudmonkey
> pip uninstall requests
> apt-get update
> apt-get upgrade
> pip install --upgrade pip
> pip install --upgrade cloudmonkey


编辑配置文件~/.cloudmonkey/config(没有则新建)
[core]
profile = local
asyncblock = true
paramcompletion = true
history_file = /Users/bhaisaab/.cloudmonkey/history
log_file = /Users/bhaisaab/.cloudmonkey/log
cache_file = /Users/bhaisaab/.cloudmonkey/cache
 
[ui]
color = true
prompt = >
display = default
 
[local]
url = http://localhost:8080/client/api
username = admin
password = password
apikey =
secretkey =
timeout = 3600
expires = 600


我的配置文件为
[core]
profile = mgt110
asyncblock = true
paramcompletion = true
history_file = /root/.cloudmonkey/history
log_file = /root/.cloudmonkey/log
cache_file = /root/.cloudmonkey/cache


[ui]
color = true
prompt = > 
display = default


[local]
url = http://192.168.22.110:8080/client/api
username = admin
password = password
apikey = uyzIkq8YCZmoDwef0A3GEIB4-IUuDgiQO6xqU4BQHcUVJTqXK2bdyjrmyI1I4qK_AkJUF1Vi86-_7fPMSyGKgw
secretkey = xUfY3QL644I7cXJ_Bi4cjYTt8AXP35KQtD_fGhjTtFNy6oqKdSlHVvtCcwiB5lRXRCNYILQmXckvWFIX7ltEqA
timeout = 3600
expires = 600
domain = /
signatureversion = 3
verifysslcert = true
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值