Centos6.5安装Seafile,遇到的问题处理记录。
问题1:启动Seafile安装脚本时,提示找不到MySQL-python模块,使用yum安装成功也提示未安装该软件包
问题1解决方法:需要通过 python 的工具pip来安装MySQL-python ,执行pip install MySQL-python
---------------------------------------------------------------------------------------------------------------------------------------------
问题2:说找不到pip
[root@CentOS setuptools-.6c11]# pip install pillow moviepy
Traceback (most recent call last):
File "/usr/bin/pip", line , in <module>
from pip import main
ImportError: No module named pip
问题2解决方法
[root@CentOS Downloads]# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
---- ::-- https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
Resolving pypi.python.org... 151.101.72.223, 2a04:4e42:::
Connecting to pypi.python.org|151.101.72.223|:... connected.
WARNING: certificate common name “www.python.org” doesn’t match requested host name “pypi.python.org”.
HTTP request sent, awaiting response... OK
Length: (1.0M) [application/octet-stream]
Saving to: “pip-1.5..tar.gz” %[=====================================================================================================================================================================================>] ,, .2K/s in 23s -- :: (45.1 KB/s) - “pip-1.5..tar.gz” saved [/] [root@CentOS Downloads]# tar -xzf pip-1.5..tar.gz
[root@CentOS Downloads]# cd pip-1.5.
[root@CentOS pip-1.5.]# python setup.py install ..........略去无用内容....... [root@CentOS /]# python -m ensurepip
Requirement already satisfied: setuptools in /usr/local/lib/python2./site-packages/setuptools-.6c11-py2..egg
Collecting pip
Installing collected packages: pip
Successfully installed pip-9.0.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
问题3:说SSL没安装,实际装了
[root@CentOS /]# yum install openssl-devel -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 6.3 kB :
* base: mirrors.btte.net
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.btte.net
base | 3.7 kB :
extras | 3.3 kB :
nginx | 2.9 kB :
updates | 3.4 kB :
Setting up Install Process
Package openssl-devel-1.0.1e-.el6.i686 already installed and latest version
Nothing to do
问题3 解决办法 编辑Python安装配置文件,加入红色字部分,然后重新编译安装Python
[root@CentOS Python-2.7.]# vi Modules/Setup
# -*- makefile -*-
# The file Setup is used by the makesetup script to construct the files
# Makefile and config.c, from Makefile.pre and config.c.in, .......省略无数行....... # Another example -- the 'xxsubtype' module shows C-level subtyping in action
xxsubtype xxsubtype.c # Socket module helper for socket(2)
_socket socketmodule.c timemodule.c # Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
#SSL=/usr/local/ssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
"Modules/Setup" 510L, 18799C written
[root@CentOS Python-2.7.]#make
[root@CentOS Python-2.7.14]#make install
Centos6.5安装Seafile,遇到的问题处理记录。的更多相关文章
- CentOS上安装seafile
一.安装python2.7.14(CentOS7上python默认版本是Python 2.7.5 ,不需要安装)1.安装依赖包[root@web01 ~]# yum -y install zlib z ...
- vmware Centos6.6安装64位
Centos6.6安装64位 必须开启BIOS中的虚拟化技术 首先开机进入BIOS,一般机器是按F2,我的T420是按F1,然后进入Security,Virtualization,选择Enable即可 ...
- Gitlab完美安装【CentOS6.5安装gitlab-6.9.2】
摘要: 拆腾了几天,终于在今天找到了快速安装Gitlab的方法.CentOS6.5安装gitlab-6.9.2 参考网址:https://gitlab.com/gitlab-org/omnibus-g ...
- CentOS6.5安装Tomcat
安装说明 安装环境:CentOS-6.4 安装方式:源码安装 软件:apache-tomcat-7.0.56.tar.gz 下载地址:http://tomcat.apache.org/download ...
- Centos6 yum安装openldap+phpldapadmin+TLS+双主配置
原文地址:http://54im.com/openldap/centos-6-yum-install-openldap-phpldapadmin-tls-%E5%8F%8C%E4%B8%BB%E9%8 ...
- centos6.5安装oracle11g_2
centos7安装oracle数据库不成功,换成centos6.5安装,可以安装成功,记录一下 安装系统时,主机名如果不是用localhost,安装成功后,要用主机名和ip做映射,修改/etc/hos ...
- CentOS6.6安装vmware workstation报错
本人系统用的是centos6.6,安装了vmware workstation,启动后一直如下图报错,相关内核已经安装了的,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.
- CentOS6.6安装virtualbox4.1.44
本人用的是centos6.6,安装了virtualbox 4.1.44,启动后一直如上图报错,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.
- [转]CentOS-6.3安装配置cmake
CentOS-6.3安装配置cmake zhoulf 2013-02-03 原创 安装说明 安装环境:CentOS-6.3安装方式:源码编译安装 软件:cmake-2.8.10.2.tar.gz下 ...
随机推荐
- CLLocationManagerDelegate的解说
1.//新的方法.登陆成功之后(旧的方法就无论了) - (void)locationManager:(CLLocationManager *)manager didUpdateLocatio ...
- Hadoop Web项目--Friend Find系统
项目使用软件:Myeclipse10.0,JDK1.7,Hadoop2.6,MySQL5.6.EasyUI1.3.6.jQuery2.0,Spring4.1.3. Hibernate4.3.1,str ...
- 你要的 React 面试知识点,都在这了
摘要: 问题很详细,插图很好看. 原文:你要的 React 面试知识点,都在这了 作者:前端小智 Fundebug经授权转载,版权归原作者所有. React是流行的javascript框架之一,在20 ...
- @synthesize和@dynamic区别
在声明property属性后,有2种实现选择 @synthesize 编译器期间,让编译器自动生成getter/setter方法. 当有自定义的存或取方法时,自定义会屏蔽自动生成该方法 @dynami ...
- BZOJ 4771 主席树+倍增+set
思路: 因为有深度的限制,并且我们是在线段树上维护权值,所以我们把点按照dep排序,然后一个一个修改...主席树的下标就是dfs序,子树的查询就是区间查询... 但是发现这样怎么去维护LCA呢...因 ...
- Super超级ERP系统---(5)采购管理--采购入库
采购商品完成后,下一步要进行入库操作.为了做到精细化管理,入库操作主要分以下几个步骤,采购到货确认,采购入库,入库完成.接下来我们看看这些步骤是怎样实现的. 1.到货确认 采购商品到达仓库后,仓库收货 ...
- SQLServer 行转列,统计,二次分组
create table test ( bizdate datetime, --日期 classes varchar(50), --班次 '白班' 或 '夜班' qty int --产量 ...
- 让break跳出外层循环的方法
demo //在里层循环里面,想办法让外层循环的条件不成立,就可以控制外层循环结束. for(var i = 0 ; i < 10; i++){ alert(i) for(var j = 0 ; ...
- 第六课: - GroupBy函数
第 6 课 让我们看一看 groupby 函数. In [1]: # Import libraries import pandas as pd import sys In [2]: print(' ...
- java中参数传递实例
//在函数中传递基本数据类型, 2. public class Test { 4. public static void change(int i, in ...