wget断点下载和文档合并
0 个评论
默认情况下,wget是支持断点下载的,假如在下载过程中出现网络故障发生中断,待网络连接恢复后,wget会自动从前面中断点继续下载。
例如在网络条件恶劣的条件下下载10G文档all-20100424.tar.bz:
wget http://www.unixidc.com/all-20100424.tar.bz
假如中间间断了两次,则下载完毕后当前目录下会有三个文档,分...
阅读全文
Cannot find autoconf. Please check your autoconf installation
0 个评论
If this error occurs when you are trying to install a PHP Pecl extension, the chances are you don’t have autoconf installed on your system:
root@unixidc:/usr/src/php-5.2.6# pecl install pdo
WARNING: channel “pecl.php.net” has updated its protocols, use “channel-update pecl.php.n...
阅读全文
Linux下监控网卡流量的软件iftop
0 个评论
1. download source package from http://www.ex-parrot.com/~pdw/iftop/
2. untar package
3. cd dir(untar dir)run:./configure
and there is an error:
configure: error: can’t find pcap.h
cause libpcap or libpcap-devel not installed,
4. run: rpm -qa | grep libpcap.
find that l...
阅读全文
SSH Secure Shell 用public key认证登录
1 个评论
启动SSH Secure Shell Client
Edit->settings->Keys
点击“Generate New”->下一步->
选择RSA,默认2048即可
File 文件名随便什么都可以,Comment也可以随便写,Passphrase可以设置也可以为空
在这里,我们先要用“密码认证方式登录一下”
登录后,再到Edit->Settings->key下,选择”upl...
阅读全文