Difference between revisions of "AMule"

From ArchWiki
Jump to: navigation, search
(Rework out-of-date page. amule package has systemd services now.)
m (Fix section level. See Help:Style.)
Line 2: Line 2:
 
[[zh-CN:AMule]]
 
[[zh-CN:AMule]]
 
{{Lowercase title}}
 
{{Lowercase title}}
 
 
aMule is an eMule-like client for the eD2k and Kademlia networks, supporting multiple platforms.
 
aMule is an eMule-like client for the eD2k and Kademlia networks, supporting multiple platforms.
  
===Installation===
+
==Installation==
 
aMule can be installed with package {{Pkg|amule}}, available in the [[official repositories]].
 
aMule can be installed with package {{Pkg|amule}}, available in the [[official repositories]].
  
 
'''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.
 
'''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.
  
===Services===
+
==Services==
 
The package provides two systemd services: amuled and amuleweb. They can be started as
 
The package provides two systemd services: amuled and amuleweb. They can be started as
 
  # systemctl start amuled
 
  # systemctl start amuled
Line 17: Line 16:
 
Once '''amulweb''' service is started it is available at {{ic|http://127.0.0.1:4711}} (or with external address of your host). Default admin password is '''amule'''.
 
Once '''amulweb''' service is started it is available at {{ic|http://127.0.0.1:4711}} (or with external address of your host). Default admin password is '''amule'''.
  
===Configuration===
+
==Configuration==
 
At package installation time a new user account '''amule''' created. This account is used to run systemd services.
 
At package installation time a new user account '''amule''' created. This account is used to run systemd services.
  
Line 23: Line 22:
 
* config file for amuled {{ic|/val/lib/amule/.aMule/amule.conf}}
 
* config file for amuled {{ic|/val/lib/amule/.aMule/amule.conf}}
 
* config file for amuleweb {{ic|/val/lib/amule/.aMule/remote.conf}}
 
* config file for amuleweb {{ic|/val/lib/amule/.aMule/remote.conf}}
 
  
 
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.
 
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.
Line 37: Line 35:
 
}}
 
}}
  
===amuleweb===
+
==amuleweb==
 
{{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.}}
 
{{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.}}
====Create configuration files====
+
 
 +
===Create configuration files===
 
Start amuleweb too using the user you just created to create the configuration file:
 
Start amuleweb too using the user you just created to create the configuration file:
 
  $ sudo -u amule amuleweb --write-config --password=''<password here>'' --admin-pass=<web password here>
 
  $ sudo -u amule amuleweb --write-config --password=''<password here>'' --admin-pass=<web password here>
Line 47: Line 46:
 
{{Tip|If the default URL for nodes.dat for Kad network does not work, you can get URL from there: [http://nodes-dat.com]}}
 
{{Tip|If the default URL for nodes.dat for Kad network does not work, you can get URL from there: [http://nodes-dat.com]}}
  
For further info on using the program, continue to [http://wiki.amule.org/index.php/Getting_Started Getting_Started at aMule wiki].
+
== See also ==
 +
* [http://wiki.amule.org/index.php/Getting_Started Getting_Started at aMule wiki].

Revision as of 09:44, 10 June 2013

aMule is an eMule-like client for the eD2k and Kademlia networks, supporting multiple platforms.

Installation

aMule can be installed with package amule, available in the official repositories.

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.

Services

The package provides two systemd services: amuled and amuleweb. They can be started as

# systemctl start amuled
# systemctl start amuleweb

Once amulweb service is started it is available at http://127.0.0.1:4711 (or with external address of your host). Default admin password is amule.

Configuration

At package installation time a new user account amule created. This account is used to run systemd services.

All configuration and temporary files are kept in amule home directory /var/lib/amule among them:

  • config file for amuled /val/lib/amule/.aMule/amule.conf
  • config file for amuleweb /val/lib/amule/.aMule/remote.conf

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.

To re-generate password please run:

$ echo -n <your password here> | md5sum | cut -d ' ' -f 1

The output of the above command is the encrypted password. Now you edit the config file by adding following lines under section [ExternalConnect]:

/var/lib/amule/.aMule/amule.conf
[ExternalConnect]
AcceptExternalConnections=1
ECPassword=<encrypted password>

amuleweb

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.

Create configuration files

Start amuleweb too using the user you just created to create the configuration file:

$ sudo -u amule amuleweb --write-config --password=<password here> --admin-pass=<web password here>

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.

Tip: If the default URL for nodes.dat for Kad network does not work, you can get URL from there: [1]

See also