Chinaunix首页 | 论坛 | 博客
  • 博客访问: 39301
  • 博文数量: 8
  • 博客积分: 81
  • 博客等级: 民兵
  • 技术积分: 80
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-10 16:38
文章分类

全部博文(8)

文章存档

2012年(2)

2011年(6)

我的朋友
最近访客

分类: Python/Ruby

2011-12-07 23:21:37

有个vps,一直没怎么用它。本着废物利用的原则,试验安装plone
结果碰到如下:
1 从官网下到plone4.1后,安装的时候说缺openssl
2 yum安装openssl的时候,报错:thread.error: can’t start new thread

于是到网上寻求帮助,找到一个解决方案:
解决办法,禁用fastestmirror,将fastestmirror.conf中的enabled=1改成enabled=0
登陆SSH,编辑下:/etc/yum/pluginconf.d/fastestmirror.conf

然后我就想,直接用yum安装plone应该更省心点吧,结果yum install openssl可以,yum install plone就不行。
看plone的帮助,发现它也只讲命令行通用安装……那就按它的操作来吧:
1 下软件
2 解压
3 ./install.sh starndalone
提示:

Unable to find libssl or openssl/ssl.h.
libssl and its development headers are required for Plone.
If you’re sure you have these installed, and are still getting
this warning, you may disable the libssl check by adding the
–without-ssl flag to the install command line.
Otherwise, install your platform’s openssl-dev libraries and headers
and try again.

然后真晕啊,我用这个命令都报错:
[root@www Plone-4.1.2-UnifiedInstaller]# ./install.sh –without-ssl –with-pyton=/usr/bin/python standalone
发现少打一个字,再来:
[root@www Plone-4.1.2-UnifiedInstaller]# ./install.sh –without-ssl –with-python=/usr/bin/python standalone
提示:

Testing /usr/bin/python for Zope/Plone requirements….
Failed: Python version must be 2.6+.

看来我vps里的python版本太低了,然后一气之下删掉了python,结果傻眼了,发现连yum都被删除了
然后为了装yum,发现lynx和wget也没有了,55555 。多亏ssh还在,赶快传文件上去。
非常非常晕,ssh不能传文件了,然后去整ftp,准备用ftp倒文件…..也许是误操作吧,正在使用的windows关机了,然后ssh也上不去了。

然后去找vps的控制台,结果找了半天也没找到。
怒了,直接退掉该vps了。

这个vps用了大约8个月,流量、负载很小,基本没有宕机过。该vps网站是:
我使用的是第一款,R1 vps,当时是提供8个ip的,现在改了,只提供2个ip了。买的时候是用了半价的优惠码的,所以还算划算的。

ps,终身50%优惠码:  BF50   Mar50

准备以后在vm里再试验下。

阅读(2178) | 评论(2) | 转发(2) |
给主人留下些什么吧!~~

skywalk2011-12-27 10:46:57

呵呵,谢谢
后面用easy_install 安装,就很顺利了

泥亚鳅2011-12-09 00:58:02

失败是成功之母!