排序
MySQL高效模糊搜索之内置函数locate instr position find_in_set使用详解
常用的一共有4个方法,如下: 1.使用locate()方法 普通用法: SELECT`column`from`table`wherelocate('keyword',`condition`)>0 类似于java的indexOf(); 不过locate()只要找到返回的结果都大...
nginx配置文件详解中文版
nginx默认配置文件 nginx.conf手大部分命令,并加以中文注释说明,实际配置中可能没有这么复杂,这里只能作为一个参考阅读文档! 一、nginx基本配置 #定义Nginx运行的用户和用户组,系统中必须有...
nginx调用php-fpm出错解决方法和nginx配置详解
装完了nginx和php-5.5,配置好了nginx调用php后,就开始启动php-fpm。 使用下面的命令 /usr/local/php/sbin/php-fpm 就可以启动了。 在nginx的目录中创建个php的检测脚本index.php 结果在打开ht...
Nginx Gzip模块启用和配置指令详解
Nginx的gzip模块是内置的,在http中添加如下配置: gzip on; gzip_min_length 5k; gzip_buffers 4 16k; gzip_http_version 1.0; gzip_comp_level 3; gzip_types text/pla...
CentOS如何查看当前系统下的gcc版本命令?
1. gcc -v(Display the programs invoked by the compiler) [root@localhost /]# gcc -v Reading specs from /usr/i386-glibc-2.1-linux/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specs ...
Ubuntu上搭建git server笔记
1.安装配置git服务器 安装git: sudo apt-get install git-core 新加用户git,该用户将作为所有代码仓库和用户权限的管理者: sudo useradd -m git sudo passwd git 建立一个git仓库的存储点: ...












