2014年4月28日
摘要: rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 阅读全文
posted @ 2014-04-28 09:20 jeffsun 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1、下载最新稳定版uwsgi,地址为:wget http://projects.unbit.it/downloads/uwsgi-1.9.13.tar.gz2、解压 tar zxvf uwsgi-1.9.13.tar.gz3、cd uwsgi-1.9.13 && make4、移动uwsgi到bin目... 阅读全文
posted @ 2014-04-28 09:18 jeffsun 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1、安装vsftp yum install vsftpd2、配置vsftp 配置文件在 /etc/vsftpd/vsftpd.conf,建议把匿名登录关闭 anonymous_enable=NO3、设置vsftp为开机启动 chkconfig vsftpd on 通过chkconfig –list可... 阅读全文
posted @ 2014-04-28 09:17 jeffsun 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1、确定你要下载的版本:下载地址2、进入你存放下载文件的目录运行wget http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm,我的是32bit的centos5,其他版本可以在上面的路径中找到相... 阅读全文
posted @ 2014-04-28 09:16 jeffsun 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1、安装基本库yum install gccyum install makeyum install zlib-develyum install bzip2-develyum install openssl-develyum install ncurses-devel2、获得python2.7.4wg... 阅读全文
posted @ 2014-04-28 09:16 jeffsun 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 在ubuntn下通过agp-get install nginx就可以按照最新版本的nginx,很方便在ctentos和redhat下需要添加yum 仓库才能安装最新版的nginx,在/etc/yum.repos.d/目录下新建nginx.repo 文件输入以下内容就可以了:[nginx]name=n... 阅读全文
posted @ 2014-04-28 09:15 jeffsun 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 先下载postgresql的python包,选择合适自己的python版本和平台32位还是64位,http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml下载win环境下postgresql接口,http://www.stickpeople.com/projec... 阅读全文
posted @ 2014-04-28 09:14 jeffsun 阅读(418) 评论(0) 推荐(0) 编辑
  2013年12月2日
摘要: # su - postgres$ psql# ALTER USER postgres WITH PASSWORD 'postgres'; 阅读全文
posted @ 2013-12-02 14:05 jeffsun 阅读(223) 评论(0) 推荐(0) 编辑
摘要: vi /var/lib/pgsql/9.2/data/postgresql.conflisten_addresses = '*'vi /var/lib/pgsql/9.2/data/pg_hba.conf 阅读全文
posted @ 2013-12-02 13:55 jeffsun 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: wget http://peak.telecommunity.com/dist/ez_setup.pychmod +x ez_setup.pypython ez_setup.py 阅读全文
posted @ 2013-12-02 12:19 jeffsun 阅读(446) 评论(0) 推荐(0) 编辑