在ubuntn下通过agp-get install 
nginx就可以按照最新版本的nginx,很方便在ctentos和redhat下需要添加yum 
仓库才能安装最新版的nginx,在/etc/yum.repos.d/目录下新建nginx.repo 文件输入以下内容就可以了:[nginx]name=n...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 05:01:46   
                                阅读次数:
477
                             
                         
                    
                        
                            
                            
                                1、安装基本库yum install gccyum install makeyum 
install zlib-develyum install bzip2-develyum install openssl-develyum install 
ncurses-devel2、获得python2.7.4wg...
                            
                            
                                分类:
编程语言   时间:
2014-04-30 04:58:42   
                                阅读次数:
400
                             
                         
                    
                        
                            
                            
                                1、 yum install postgresql-libs2、 yum install 
postgresql92-devel.i3863、 wget 
http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.1.tar.gz4、 tar ...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 04:48:22   
                                阅读次数:
511
                             
                         
                    
                        
                            
                            
                                1、确定你要下载的版本:下载地址2、进入你存放下载文件的目录运行wget 
http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm,我的是32bit的centos5,其他版本可以在上面的路径中找到相...
                            
                            
                                分类:
数据库   时间:
2014-04-30 04:47:22   
                                阅读次数:
596
                             
                         
                    
                        
                            
                            
                                1下载驱动库http://sourceforge.net/projects/mysql-python/2,yum install mysql-dev*yum 
install python-dev*3,python setup.py install
                            
                            
                                分类:
数据库   时间:
2014-04-28 05:40:20   
                                阅读次数:
634
                             
                         
                    
                        
                            
                            
                                3.1 Installing mod_pythonTo install mod_python, 
we simply run:yum install mod_python3.2 Configuring ApacheNow we must configure 
Apache so that it can ...
                            
                            
                                分类:
编程语言   时间:
2014-04-28 04:52:46   
                                阅读次数:
735
                             
                         
                    
                        
                            
                            
                                Centos6.5 X86 64 2014-04-27# yum -y install 
corosync pacemaker # yum -y install crmsh-1.2.6-4.el6.x86_64.rpm 
pssh-2.3.1-2.el6.x86_64.rpm # u...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 00:36:48   
                                阅读次数:
717
                             
                         
                    
                        
                            
                            
                                1、安装apache软件包Yum install 
httpd2、启动apache服务/etc/init.d/httpd 
restart3、创建一个目录,内编辑一个index.html文件4、给这个目录设密码(是不是很passwd文件内用户的密码文件很像)5、编辑apache配置文件/etc/http...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 20:54:27   
                                阅读次数:
655
                             
                         
                    
                        
                            
                            
                                问题描述: 
使用CentOS的cp时,对于大文件的拷贝或者mv,需要等待很长时间,现在需要显示cp或mv的进度 问题解决: Advanced copy 
参考官网:http://beatex.org/web/advancedcopy.html 解决方法:
                            
                            
                                分类:
其他好文   时间:
2014-04-27 20:49:46   
                                阅读次数:
970
                             
                         
                    
                        
                            
                            
                                github.com,作为程序员的代码仓库,我们经常会用到。但有时候我们不能直接通过网络链接它,只能通过代理。
这里我有一台代理服务器,起初我以为在终端设置了代理环境就行了,其设置为在你的~/.bashrc里增加以下几行:
export http_proxy="http://proxy-server:3128/"
export https_proxy="http://proxy-server:...
                            
                            
                                分类:
系统相关   时间:
2014-04-27 19:50:27   
                                阅读次数:
1181