12 2014 档案
摘要:/etc/security/limits.d/nofile.confroot - nofile 10240linghegu - nofile 10240root - nofile 10240linghegu - nofile 10240/etc/security/limits.d/core.conf...
阅读全文
摘要:sudo yum install ncurses-develsudo yum install openssh-clientssudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-deve...
阅读全文
摘要:yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel wget http://archive.apache.or...
阅读全文
摘要:queue_exist=0ps -ef | grep ${PROCESS_PARM} | grep java | awk '{print $2}' | while read piddo queue_exist=1 break;donequeue_exist=1 这句就是不起作用,出了循环之后...
阅读全文
摘要:PS:在grep和sed中,\t和\s都是无效的,要表示制表符和空格,只能直接敲入tab和空格键,这个在shell脚本中还好说,在命令行模式下就比较麻烦了,因为tab默认是会智能补全命令的,所以要在按tab之前按下ctrl+v,就可以把tab打出来了。 cat logcharpter.log | a
阅读全文
摘要:1. 使用vim的比较模式打开两个文件:vim -d file1 file2vimdiff file1 file2 2. 如果已经打开了文件file1,再打开另一个文件file2进行比较::vert diffsplit file2如果没有用vert命令,diffsplit则会分上下两个窗口。 3.
阅读全文
摘要:32位可以在64中运行,反之就不行,建议LZ安装32位python
阅读全文
摘要:1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
阅读全文

浙公网安备 33010602011771号