1、下载mysqlhttp://mysql.ntu.edu.tw/pub/MySQL/Downloads/选了5.1.70版本mysql-5.1.70.tar.gz2、解压安装(1)建立用户useradd-s/sbin/nologin-Mmysql(2)解压tarzxfmysql-5.1.70.tar.gz(3)编译cdmysql-5.1.70./configure--prefix=/application/mysq--with-unix-socket-pa..
分类:
数据库 时间:
2014-12-19 19:17:10
阅读次数:
228
[转载]关于mysql error.log报"Using unique option prefix myisam-recover instead of myisam-recover-options ..."转载:http://blog.csdn.net/cloud_xy/article/detail...
分类:
其他好文 时间:
2014-12-19 17:06:46
阅读次数:
181
Write a function to find the longest common prefix string amongst an array of strings.
方法一,单个字符横向全体比较,纵向逐个的收集。
class Solution {
public:
string longestCommonPrefix(vector &strs) {
i...
分类:
其他好文 时间:
2014-12-19 15:48:20
阅读次数:
142
通配符和正则表达式查询
wildcard查询和prefix查询类似,也是一个基于词条的低级别查询。但是它能够让你指定一个模式(Pattern),而不是一个前缀(Prefix)。它使用标准的shell通配符:?用来匹配任意字符,*用来匹配零个或者多个字符。
以下查询能够匹配包含W1F 7HW和W2F 8HW的文档:
GET /my_index/address/_search
{...
分类:
其他好文 时间:
2014-12-19 12:14:46
阅读次数:
201
创建新项目File-New-New Project shift+command+NProduct Name(产品名称)+Company Identifier(公司标识)Xcode会将这两项结合起来,为应用程序生成一个唯一的Bundle IdentifierClass Prefix(类名前缀),这里应...
分类:
其他好文 时间:
2014-12-18 20:25:15
阅读次数:
311
系统环境:CentOSrelease6.2(Final)软件版本:php-5.3.13php安装的编译参数:./configure--prefix=/usr/local/php5--with-config-file-path=/usr/local/php5/etc--with-mysql=/usr/local/mysql-5.5.23/--with-mysqli=mysqlnd--with-pdo-mysql--with-apxs2=/usr/local..
分类:
Web程序 时间:
2014-12-18 15:23:26
阅读次数:
181
系统环境:CentOSrelease6.2(Final)软件版本:php-5.3.13php安装的编译参数:./configure--prefix=/usr/local/php5--with-config-file-path=/usr/local/php5/etc--with-mysql=/usr/local/mysql-5.5.23/--with-mysqli=mysqlnd--with-pdo-mysql--with-apxs2=/usr/local..
分类:
Web程序 时间:
2014-12-18 15:22:57
阅读次数:
183
1、准备工作yuminstall-ygccgcc-c++#安装gccyum-yinstallperl#安装perlsetenforce0#关闭selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/g‘/etc/selinux/configserviceiptablesstop#关闭iptableschkconfigiptablesoff2、安装apr./configure--prefix=/usr/local/aprmake&..
分类:
Web程序 时间:
2014-12-16 19:30:42
阅读次数:
206
工具地址:http://www.percona.com/doc/percona-toolkit/安装依赖工具yum install perl-Time-HiRes编译安装perl Makefile.PL PREFIX=/usr/local/pt-toolsmakemake install
分类:
数据库 时间:
2014-12-16 19:08:14
阅读次数:
264
首先安装apache、mysql和php,依次顺序安装。1.apache、mysql的安装比较简单,略过2. php的安装,我安装的是php5.3.6内置了php-fpm,所以不需要再单独下补丁了。./configure –prefix=/usr/local/php5 /--with-mysql=/...
分类:
Web程序 时间:
2014-12-16 16:51:08
阅读次数:
209