
linux
iteye_11596
这个作者很懒,什么都没留下…
展开
-
cygmpfr-1.dll
error while loading shared libraries: cygmpfr-1.dll: cannot open shared object file: No such file or directory 安装包libmpfr1原创 2010-09-21 22:33:04 · 157 阅读 · 0 评论 -
linux常用命令
查看发行版本 uname -acat /proc/versioncat /etc/issuelsb_release -a > /dev/null 2>&1 rm -f删除报错,用xargsfind -name "*.log" | xargs rm -f 移动文件find . -name "*" | xargs -i mv...原创 2010-09-25 20:08:40 · 85 阅读 · 0 评论 -
BitTorrent应用
配置nginx.conf location /RPC2 { include scgi_params; scgi_pass 127.0.0.1:5000; #scgi_pass unix:///tmp/rpc.socket; } ~/.rtorren...原创 2012-01-08 20:47:47 · 169 阅读 · 0 评论 -
linux服务器参数
1.ulimit -SHn 51200 2.修改/etc/sysctl.confnet.ipv4.tcp_fin_timeout = 30net.ipv4.tcp_keepalive_time = 300net.ipv4.tcp_syncookies = 1net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_tw_recycle = 1net.ipv4.ip_l...原创 2011-02-04 12:50:41 · 105 阅读 · 0 评论 -
ssh ssh_exchange_identification: Connection closed by remote host
http://www.blogjava.net/Even/archive/2006/08/31/66805.htmlhttp://happyman-bruce.blogbus.com/logs/1729369.htmlldd `which sshd` | grep libwrap# 确认sshd是否支持TCP Wrapper,输出类似:libwrap.so.0 =&...原创 2011-02-12 10:45:10 · 250 阅读 · 0 评论 -
linux使用脚本打包安装包
制作Linux下程序安装包——使用脚本打包bin、run等安装包推荐使用makeself例如./makeself.sh dir xxx.bin "说明文字" ./run.shdir为目录,包含要处理(安装)的文件run.sh为dir下的脚本文件,运行xxx.bin后会将文件释放到临时目录(默认),再运行run.sh...原创 2011-09-28 20:19:07 · 191 阅读 · 0 评论 -
linux头文件引用问题
读文件尾的两个字节, 代码如下: #include <stdio.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <string.h>//#include <unistd.h>#include <...原创 2011-04-08 21:55:22 · 317 阅读 · 0 评论 -
vi常用
.vimrcset nuset autoindentset cindentset tabstop=4 删除Ndd 删除光标下N行:1,10d 删除1到10行:7d 删除第7行 Nyy 复制N行6,9 co 12 复制第6行到第9行之间的内容到第12行后面 ma(开始行) mb(结束行) mc(粘贴行) 复制:'a,'b co 'c 剪切...原创 2012-06-25 13:42:34 · 76 阅读 · 0 评论