- 论坛徽章:
- 0
|
apt-get install mldonkey-server
图形界面可以使用sancho
http://sancho-gui.sourceforge.net/
配置mldonkey
终端下执行 ./mlnet,然后运行sancho文件夹下的sancho,命令./sancho,依照配置向导完成即可。
mldonkey初步设置:
max connected servers 500
max hard upload rate 10
max hard download rate 1000
ed2k max connected servers 300
kad网络 选择打勾 (enable kademlia)
此外,还需钩选 Ed2k-force_client_high_id,ED2K-force_client_high_id、ED2K- force_high_id、ED2k-keep_best_server
还可以添加常用的服务器,比如电驴用的http://www.emule.org.cn/server.met,还可以用浏览器控制和观察mldonkey,地址是 http://localhost:4080/
最大服务器数 一般改成50
kad网络 选择打勾 (enable kademlia)
强制高ID 选择打勾 (ed2k force high id)
设置好之后,一般下载速度还是很乐观的。
可以修改~/.mldonkey/downloads.ini文件,来更改默认下载目录
用文本编辑器打开,
$gedit ~/.mldonkey/downloads.ini
找到
shared_directories = [
{ dirname = shared
strategy = all_files
priority = 0
};
{ dirname = "incoming/files"
strategy = incoming_files
priority = 0
};
{ dirname = "incoming/directories"
strategy = incoming_directories
priority = 0
};]
*****浏览器ed2k连接直接点击设置*****
firefox浏览器下输入about:config
添加布尔类型network.protocol-handler.external.ed2k为true
布尔类型network.protocol-handler.warn-external.ed2k为false
字符串类型network.protocol-handler.app.ed2k为/home/user/.mldonkey/submit
编辑/home/user/.mldonkey/submit
#!/bin/bash
echo dllink $*|nc -q 1 127.0.0.1 4000
设置submit这个脚本具有可执行权限
chmod +x submit
测试一下脚本是否可行,运行 mlnet, 然后使用 ./submit "ed2k://********"
看看是否出现在下载队列中
-----------------------------------------------------------------------
mldonkey下再BT文件
startbt ****.torrent
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/30950/showart_1073341.html |
|