ubuntu14.04安装与配置cloudmonkey

来源:互联网 发布:小说改编的网络剧2015 编辑:程序博客网 时间:2024/06/06 03:30
按照官网安装
$ 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
0 0
原创粉丝点击