https://wiki.archlinux.org/api.php?action=feedcontributions&user=The9ull&feedformat=atomArchWiki - User contributions [en]2024-03-28T08:37:32ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=AMule&diff=275974AMule2013-09-18T19:16:23Z<p>The9ull: typo</p>
<hr />
<div>[[Category:Internet Applications]]<br />
[[zh-CN:AMule]]<br />
{{Lowercase title}}<br />
aMule is an eMule-like client for the eD2k and Kademlia networks, supporting multiple platforms.<br />
<br />
==Installation==<br />
aMule can be installed with package {{Pkg|amule}}, available in the [[official repositories]].<br />
<br />
'''amuled''' is a full featured aMule daemon, running without any user interface (GUI). It is controlled by remote access through aMuleGUI (GTK), aMuleWeb, or aMuleCmd.<br />
<br />
==Services==<br />
The package provides two systemd services: amuled and amuleweb. First you need to configure it. You need to provide passwords for external connection and admin password for amuleweb. Please see section below for more config information.<br />
<br />
Then services be started as<br />
# systemctl start amuled<br />
# systemctl start amuleweb<br />
<br />
Once '''amulweb''' service is started it is available at {{ic|http://127.0.0.1:4711}} (or with external address of your host).<br />
<br />
==Configuration==<br />
At package installation time a new user account '''amule''' created. This account is used to run systemd services.<br />
<br />
All configuration and temporary files are kept in amule home directory {{ic|/var/lib/amule}} among them:<br />
* config file for amuled {{ic|/var/lib/amule/.aMule/amule.conf}}<br />
* config file for amuleweb {{ic|/var/lib/amule/.aMule/remote.conf}}<br />
<br />
At the package instalation time pacman generates a simple amule.conf file with preset external connection password. The same password is used for amuleweb config file. One can use the password for connecting amule from other remote clients such as amule-gui.<br />
<br />
To generate password please run:<br />
$ echo -n <your password here> | md5sum | cut -d ' ' -f 1<br />
<br />
The output of the above command is the encrypted password. Now you edit the config file by adding following lines under section [ExternalConnect]:<br />
{{hc|1=/var/lib/amule/.aMule/amule.conf|2=<br />
[ExternalConnect]<br />
AcceptExternalConnections=1<br />
ECPassword=<encrypted password><br />
}}<br />
<br />
Do not forget that all files under {{ic|/var/lib/amule}} should be owned by '''amule''' user.<br />
# chown amule:amule -R /var/lib/amule<br />
<br />
==amuleweb==<br />
{{Note|amuleweb provides much less features than amulegui (and displays much less info on downloads), and it has to ask for password quite often (unless your browser could save it). It is therefore advisable to use amulegui instead (which starts up very fast as well), and if you decide to do so, you could skip this step.}}<br />
<br />
===Create configuration files===<br />
Start amuleweb too using the user you just created to create the configuration file:<br />
$ sudo -u amule amuleweb --write-config --password=''<password here>'' --admin-pass=<web password here><br />
<br />
Note that here, the <password here> is the unencrypted password you used to configure amuled. <web password here> is the unencrypted for the log in on the web interface. This command will write configuration file as such.<br />
<br />
{{Tip|If the default URL for nodes.dat for Kad network does not work, you can get URL from there: [http://nodes-dat.com]}}<br />
<br />
== See also ==<br />
* [http://wiki.amule.org/index.php/Getting_Started Getting_Started at aMule wiki].</div>The9ull