
linux
iteye_13038
这个作者很懒,什么都没留下…
展开
-
checking for gcc... no
./configure 后显示checking for gcc... nochecking for cc... nochecking for cl.exe... noconfigure.sh:error:no acceptable C compiler found in $PATHSee 'config.log' for more details. 解决办法:yum -y install...原创 2014-01-13 00:44:34 · 12087 阅读 · 1 评论 -
【转】linux下yum命令出现Loaded plugins: fastestmirror Determining fastest mirrors
转载:http://www.csdn123.com/html/blogs/20131107/94062.htm 1.修改插件的配置文件 # vi /etc/yum/pluginconf.d/fastestmirror.conf enabled = 1//由1改为0,禁用该插件 ............................... 2.修改yum的...原创 2014-04-02 09:39:44 · 229 阅读 · 0 评论 -
linux 文件打开数
修改/etc/security/limits.conf * soft nofile 65535 * hard nofile 65535 * soft noproc 11000 * hard noproc 11000 查看所有进程的文件打开数 lsof |wc -l 查看某个进程打开的文件数 lsof -p pid |wc -l 参考链接:http:/...原创 2014-04-30 18:35:03 · 174 阅读 · 0 评论 -
sed用法
查找WebRoot目录中包含有8082和8081端口的地方 并替换为空 sed -i "s/:8082//g" `grep ':8082' -rl WebRoot` sed -i "s/:8081//g" `grep ':8081' -rl WebRoot` 参考链接 http://wwdhks.blog.51cto.com/839773/869605 http://bbs.li...原创 2014-05-12 01:29:19 · 144 阅读 · 0 评论