CMAKE方式编译安装Mysql5.51、源码cmake方式编译安装MySQL5.5.32安装前先安装:yuminstallncurses-devel-y1.1下载Mysql和cmake安装包:wgethttp://wwwNaNake.org/files/v2.8/cmake-2.8.8.tar.gz1.2查看系统环境cat/etc/redhat-releaseuname-runame-m1.3安装cmake包tarzxfcmake-..
分类:
数据库 时间:
2014-05-27 03:26:20
阅读次数:
368
grep -2 -iIr "err\|warn\|fail\|crit" /var/log/*
查找日志中的所有问题grep . filename >filename1 移除空行cat site.log | grep -i unica | tail
-n 10find /path -name \*....
分类:
其他好文 时间:
2014-05-22 03:42:01
阅读次数:
306
编辑/etc/apt/sources.list文件root@debian:~#cat/etc/apt/sources.list##debcdrom:[DebianGNU/Linux7_Wheezy_-OfficialSnapshotamd64LIVE/INSTALLBinary20131013-23:23]/wheezymain#debcdrom:[DebianGNU/Linux7_Wheezy_-OfficialSnapshotamd64LIVE/INSTALLBinary20131013-23:2..
分类:
其他好文 时间:
2014-05-21 13:03:37
阅读次数:
408
Description
Facer's pet cat just gave birth to a brood of little cats. Having considered the health of those lovely cats, Facer decides to make the cats to do some exercises. Facer has well designe...
分类:
其他好文 时间:
2014-05-21 10:36:57
阅读次数:
297
AIX访问LinuxNFS共享错误案例系统环境:操作系统:RedHatEL4、AIX5.3错误现象:Linux作为NFSServer,AIXhost作为NFSClient;[root@aix211/]#mount/backupmount:givingupon:bksrv:/backup/cuug11/storage21vmount:NotownerNFSServer配置:[root@rhel152~]#cat/etc/hosts192.1688..
分类:
系统相关 时间:
2014-05-21 02:05:11
阅读次数:
397
从mysql.com下载了一个最新的mysql.5.6.17后安装后,因原机器安装过mysql,启动总是报错检查了一下mysql的原安装目录里面有个一新的myql-new.conf。对比了下原/etc/my.conf和mysql-net.conf在mysql.5.6.17这个版本下有很大不同原my.conf配置内容[root@nginx01bin]#cat/etc/my.cnf..
分类:
数据库 时间:
2014-05-21 01:38:08
阅读次数:
421
var arr1=[1,2,3,4];var
arr2=arr1;arr2.push(5);console.log(arr1);//和arr2一样console.log(arr1==arr2);//trueconsole.log(arr1===arr2);//truefunction
Cat(nam...
分类:
Web程序 时间:
2014-05-18 00:19:28
阅读次数:
275
既有环境:1)下载安装p4merge2)安装git下面是配置p4merge为git
mergetool的步骤1. /usr/local/bin下创建extMerge文件:$ cat >>
/usr/local/extMerge#!/bin/sh/Applications/IDE/p4merge.ap...
分类:
其他好文 时间:
2014-05-17 21:41:46
阅读次数:
354
0.学习时间 2014-05-161.命令格式 nl [参数]
文件名 (文件名也缺省的情况下, 从标准输入中读入)2.命令参数 -b t 空行不加行号(默认) -b a 空行也加行号(类似于cat -n) -n ln
设置行号显示左对齐 -n rn 设置行号显示右对齐(默认) ...
分类:
系统相关 时间:
2014-05-17 20:51:26
阅读次数:
299
console.log()console.warn() 警告console.error()
错误console.group() 分组 console.grounpEnd() 分组结束console.dir() 输出所有信息var cat =
{};cat.name = "mm";cat.sex .....
分类:
其他好文 时间:
2014-05-17 19:41:31
阅读次数:
370