Debian and MLDonkey
最近一直忙的没空写博客,全是新买的VPS给闹的,VPS的全称是独立虚拟主机,有单独的操作系统,当然我用的Debian,想来想去,感觉这个东西最大用处莫过于BT&emule,也是折腾了好几天,才完全配好,特别把安装过程写下来,给需要的朋友。
Debian的安装我就不说,最基础了,在debian下bt&emule我选mldonkey,操作比较方便。利用debian的apt-get进行安装,由于mldonkey不在stable的版本中,所以先要在/etc/apt/sources.list中加入
deb ftp://debian.linux.org.tw/debian unstable main contrib non-free
然后运行
apt-get update
再运行
apt-get install mldonkey-server
然后停掉这个服务,修改/var/lib/mldonkey中的downloads.ini,
(* list of IP address allowed to connect to the core via telnet/GUI/WEB
for internal command set: list separated by spaces
example for internal command: set allowed_ips "127.0.0.1 192.168.1.2"
or for editing the ini-file: list separated by semi-colon
example for ini-file: allowed_ips = [ "127.0.0.1"; "192.168.1.2";]
wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *)
allowed_ips = [
"192.168.1.255";]
在allowed_ips中加入你的IP,如果你希望使用BT,要将enable_bittorrent的值设置为true,重新启动服务,通过http://serverip:4080/即可进行管理,速度还是不错,最大的好处就是省电、减少夜间噪音。当然,我这么做完全是被逼无奈,处于双重内网之下……


0 评论:
发表评论