您的位置:首页 > 其它

ubuntu14.04安装与配置cloudmonkey

2016-01-28 18:41 330 查看
按照官网安装

$ 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: