2

Amule 不完全上手体验及基础教程

 2 years ago
source link: https://johnrosen1.com/2022/04/13/amule/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Amule 不完全上手体验及基础教程

由于最近过于无聊,所以折腾了一下ed2k链接的下载(指正当方法,迅雷不算),因此有了本文。

本文基于Debian Linux

安装 Amule

项目地址:Github

apt update
apt upgrade -y
apt install amule-daemon -y

我们不使用自动安装的Systemd,因为配置不方便。

systemctl disable amule-daemon --now

初始化配置

设置Systemd

mkdir /etc/amule/
which amuled
nano /etc/systemd/system/amule.service

写入以下配置

[Unit]
Description=Amule Service
Wants=network-online.target
After=network-online.target nss-lookup.target

[Service]
Type=simple
User=root
ExecStart=/usr/bin/amuled -c /etc/amule/
TimeoutStopSec=infinity
LimitNOFILE=infinity
#Restart=always
#RestartSec=3s

[Install]
WantedBy=multi-user.target

初始化配置文件

systemctl start amule

由于配置文件中需要填入md5 hash过的密码,所以需要手动生成。

echo -n admin|md5sum|cut -d ' ' -f1
root@debian:~# echo -n admin|md5sum|cut -d ' ' -f1
21232f297a57a5a743894a0e4a801fc3

这串字符就是填入配置文件的密码了。

修改配置文件

nano /etc/amule/amule.conf

建议使用ctrl+w进行寻找工作。

  1. 找到ECPassword=,改为ECPassword=21232f297a57a5a743894a0e4a801fc3,这串字符为上述hash过的密码。
  2. 找到[WebServer],Password,改为Password=21232F297A57A5A743894A0E4A801FC3,也是一样的格式。
  3. 找到IncomingDir=/etc/amule/Incoming,这个目录为最终下载保存路径,改成你想要的。
  4. 找到TempDir=/etc/amule/Temp,这个目录为临时下载保存路径,改成你需要的。
  5. 找到AcceptExternalConnections=0改为1
  6. 找到[WebServer],将Enabled=0改为1
  7. 找到IPFilterURL=,改为IPFilterURL=http://upd.emule-security.org/ipfilter.zip
  8. 找到KadNodesUrl=,改为KadNodesUrl=http://upd.emule-security.org/nodes.dat
  9. 找到Ed2kServersUrl=,改为Ed2kServersUrl=http://upd.emule-security.org/server.met
  10. 找到IsClientCryptLayerRequired=0,改为1
  11. 找到SlotAllocation=2,改为100
  12. 找到UPnPEnabled=0,改为1
  13. 找到SafeServerConnect=0,改为1
  14. 找到Serverlist=0,改为1
  15. 找到SeeShare=2,改为0

下载Kad节点数据库

cd /etc/amule/
curl -LO https://upd.emule-security.org/nodes.dat

启动 Amule

systemctl enable amule --now
  1. Webui 打开http://ip:4711即可。

但这玩意的 Webui 是废的,因此建议拿Amule gui连接。

  1. Amule GUI

下载地址Github

密码输入hash之前的即可。

出现高IDKad: 已连接则成功

结论就是这玩意拿来玩玩可以,真拿来下东西速度堪忧。不过好像也没有什么高质量的ed2k资源了,我就知道一个msdn itellyou,2333。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK