今天在服务器上部署Python程序,发现服务器上缺Requests库,于是设法装上,CentOS版本怎么安装Python的pip,我之前给出的Ubuntu下apt-get的方法
首先看下服务器系统版本
# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
首先需要先安装下pip
yum install py...
分类:
系统相关 时间:
2014-09-10 10:50:50
阅读次数:
351
Linux红帽NFS服务器配置什么是FNS?NFS是1980年由SUN发展出来在UNIX/Linux系统间实现磁盘文件共享的一种方法,支持应用程序在客户端通过网络存取位于服务器磁盘中数据的一种文件系统协议。1.场景某单位需要配置NFS服务器,为另外一台运行Oracle数据库的Linux服务器提供备份存储..
分类:
系统相关 时间:
2014-09-10 02:57:30
阅读次数:
792
yum默认没有nginx的安装包需要先下载好RPM包wgethttp://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm默认用yum-yinstallnginx安装好之后就可以用http://ip去访问nginx如果想访问http://ip/contentweb/怎需要修改vim/etc/nginx/conf.d..
分类:
其他好文 时间:
2014-09-10 02:54:40
阅读次数:
185
ARC forbids explicit message send of ‘release‘ ‘release‘ is unavailable: not available in automatic reference counting mode 今天,遇到了这么样的问题。 很显然,是ARC的问题。 错误原因:因为我们设置...
分类:
其他好文 时间:
2014-09-09 23:11:09
阅读次数:
920
org.springframework.data spring-data-commons 1.4.1.RELEASE org.springfram...
分类:
数据库 时间:
2014-09-09 17:32:29
阅读次数:
238
一、查看进程端口 # 查看所有打开的端口及服务名(注意这里显示的服务名只是标准端口对应的服务名,可能并不准确)nmap localhost# 查看哪些进程打开了指定端口port(对于守护进程必须以root用户执行才能查看到)lsof -i:port # +sudo比较好# 查看哪些进程打开了指定端口...
分类:
其他好文 时间:
2014-09-09 15:03:58
阅读次数:
241
1、下载 spring 包,http://www.springsource.org/download 我下的是spring-framework-4.0.6.RELEASE2、新建 web项目,在/WebRoot/lib 导入.jar包(/spring-framework-4.0.6.RELEASE....
分类:
编程语言 时间:
2014-09-09 12:26:58
阅读次数:
281
最近工作中需要用到mock,这里介绍两种安装方式。本文的环境为CentOS 6.4 x86_64。一,使用yum安装mock安装第三方yum源RPMForgeCentos5 64位 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-r....
分类:
其他好文 时间:
2014-09-09 12:06:58
阅读次数:
255
[root@kypulolampp]#rpm-qa|grepmysqlmysql-community-release-el6-5.noarchmysql-community-client-5.6.20-4.el6.i686mysql-community-libs-5.6.20-4.el6.i686mysql-community-common-5.6.20-4.el6.i686mysql-community-server-5.6.20-4.el6.i686[root@kypulolampp]#yumremove..
分类:
数据库 时间:
2014-09-08 10:58:57
阅读次数:
512
》 Linux安装: (下次装再写。)》 Windows安装: 下载windows版redis(github, 此版本目录bin/release/redis-x.x.x.zip下为windows版,解压, 改 redis.windows.conf 为 redis.conf)。 运行 redis...
分类:
其他好文 时间:
2014-09-06 19:58:53
阅读次数:
197