今天在学习鸟哥的菜的时候,发现自己linux不可以启用vim命令,错误为:bash: vim: 
command not found。 机器环境:VMWare8+RED HAT Enterprise5 解决方法: 发现问题的根源在于没有安装好vim 输入 
rpm -qa|grep vim ...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:12:56   
                                阅读次数:
993
                             
                    
                        
                            
                            
                                //华为编程:筷子,找到第一个单对的筷子#include #define max 37int 
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n); 
if(n>max) { printf("...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:12:15   
                                阅读次数:
325
                             
                    
                        
                            
                            
                                引入:#include#includevoidfun(char**q){exit;}voidmain(){char**p,a[6][8];p=a;fun(a);}编译不能通过!ERROR:不能将”char(*)[8]”类型的值分配到”char**”类型的实体。ERROR:”char(*)[8]”类型...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:11:34   
                                阅读次数:
313
                             
                    
                        
                            
                            
                                http://anthon-lx.iteye.com/blog/811460完整的错误信息如下:java.sql.SQLException: 
Listener refused the connection with the following error:ORA-12505, 
TNS:listene...
                            
                            
                                分类:
数据库   时间:
2014-07-22 23:09:35   
                                阅读次数:
430
                             
                    
                        
                            
                            
                                $.ajax({type:"get", url:"http://", 
data:"name="+userid+"&password="+password,async:true, 
error:function(request){alert("Connectionerror"); }, success:...
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:06:54   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                这几天在centos5.5下装mysql5.5,这里记录一下安装的过程,方便以后查阅。Mysql5.5安装需要cmake,5.6版本开始都需要cmake来编译,5.5以后的版本应该也要装这个。文章讲述在centos5.5下装mysql5.5安装过程及遇到问题的解决方法...
                            
                            
                                分类:
数据库   时间:
2014-04-28 10:36:43   
                                阅读次数:
403
                             
                    
                        
                            
                            
                                出现“CHECK_NRPE: Error - Could not complete SSL handshake.”的错误。
      问题解决的步骤:
   1. 确保openssh , openssl, openssl-devel版本一致。
在centOS 上,可以运行:
yum install openssl openssl-devel
    2. nagios监控端的允许地址和...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 22:18:19   
                                阅读次数:
988
                             
                    
                        
                            
                            
                                " checking for SSL headers... configure: error: Cannot find ssl headers"
       原因是缺少openssl-devel,安装这个库就可以解决问题。
    yum -y install openssl-devel...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:32:05   
                                阅读次数:
283
                             
                    
                        
                            
                            
                                相信其它的地方大家都懂,这里重点说下面红色粗体部分 参数设置必须与系统的 ulimit -Sn 参数一致,并且 php-fpm.conf,nginx,conf中的设置要一致,否则会出现诸多历史遗留问题以及不和谐的ERROR WRING问题以下是nginx.conf里的一些 配置信息,重点说红色部分#user  nobody;
user www www;
worker_processes  auto...
                            
                            
                                分类:
Web程序   时间:
2014-04-27 21:21:06   
                                阅读次数:
734
                             
                    
                        
                            
                            
                                Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!     
     解决方法:
setenforce 0...
                            
                            
                                分类:
移动开发   时间:
2014-04-27 21:18:05   
                                阅读次数:
450