<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><ti..
分类:
其他好文 时间:
2014-05-27 03:41:43
阅读次数:
304
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
问题描述
对一个单链表进行插入排序,head指向第一个结点。
代码
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/...
分类:
其他好文 时间:
2014-05-22 10:15:43
阅读次数:
233
打开ssh先停服务sudo ./shutdown.sh删除遗留数据sudo rm -rf
**拷贝文件到指定目录sudo mv xx /xx/xx/xx启动服务sudo ./startup.sh包中修改数据库配置cd config
打开config文件sudo vi server.xml 编辑s.....
分类:
系统相关 时间:
2014-05-22 04:01:02
阅读次数:
359
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
chown递归更新文件所有者chown -cR --from=olduser:oldgroup
newuser:newgroup *chmod 777 *sudo chmod 775 * -Rchgrp root *sudo cp
/usr/share/zoneinfo/Europe/Paris /...
分类:
其他好文 时间:
2014-05-22 02:56:20
阅读次数:
205
原文:ASP.NET MVC学习之路由篇(1)一、前言
作为一个从ASP.NET转入到ASP.NET MVC的开发人员而言,可能在开发ASP.NET网站的时候就已经开始在使用路由了。只不过在ASP.NET
MVC中路由是关键部分,而在ASP.NET中需要自行加进去。下面我们将学习ASP.NET MV...
分类:
Web程序 时间:
2014-05-22 00:55:06
阅读次数:
422
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