Difference between revisions of "HowTo get aMule web interface"

From AMule Project FAQ
Jump to: navigation, search
m (=Configureation of the aMule-daemon=)
(Set aMule web interface)
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
This guide will only work with the 2.x-version of the aMule client. All commands stated are do be run in a terminal, such as konsole or gnome-terminal. In most cases you will have to compile aMule yourself if you want amuleweb, if not you can jump directly to <i>"Configuration of the aMule daemon"</i> section of this guide.
+
<center>
 +
'''English''' |
 +
[[HowTo_get_aMule_web_interface-de|Deutsch]] |
 +
[[HowTo_get_aMule_web_interface-es|Espa&ntilde;ol]] |
 +
[[HowTo_get_aMule_web_interface-no|Norsk]]
 +
</center>
  
aMule source code can be grabbed [http://www.amule.org/dl/index.php here].
+
== Set aMule web interface ==
  
== Installation of the aMule daemon ==
+
This guide will only work with the 2.x-version of the aMule client. All commands stated are to be run in a terminal, such as konsole or gnome-terminal. In most cases you will have to compile aMule yourself if you want amuleweb, if not you can jump directly to ''"Configuration of the aMule daemon"'' section of this guide.
 +
 
 +
aMule source code can be grabbed [http://www.amule.org/files/details.php?file=179 here].
 +
 
 +
=== Installation of the aMule daemon ===
 
Extract and run
 
Extract and run
  $ <tt>./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --prefix=/home/<i>user</i>/bin/</tt>
+
  $ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --prefix=/home/''user''/bin/
  $ <tt>make</tt>
+
  $ make
  $ <tt>make install</tt>
+
  $ make install
where the --prefix= parameter is to be replaced by the path of where amule is to be installed.
+
where the ''--prefix='' parameter is to be replaced with the path of where amule is to be installed.
  
If you wish to install the client system wide, rather that the users own home directory, the '--prefix=' parameter can be removed.
+
If you wish to install the client system-wide, rather that the user's own home directory, the '--prefix=' parameter can be removed.
  
== Configureation of the aMule-daemon ==
+
=== Configuration of the aMule-daemon ===
Go to the path where aMule was installed, which in our case is <tt>~/bin/bin</tt> and run <tt>./amuled</tt>. When this is done, the configuration file <tt>~/.aMule/amule.conf</tt> is created.
+
Go to the path where aMule was installed, which in our case is ''~/bin'' and run ''./amuled''. When this is done, the configuration file ''~/.aMule/amule.conf'' is created.
  
Quit the daemon again. Find and replace the follwoing lines in <tt>~/.aMule/amule.conf</tt>.
+
Quit the daemon again. Find and replace the follwoing lines in ''~/.aMule/amule.conf''.
 
* AcceptExternalConnections=1 <-- To let aMule listen to external connections.
 
* AcceptExternalConnections=1 <-- To let aMule listen to external connections.
 
* ECPassword=56f491c56340a6fa5c158863c6bfb39f <-- MD5 of the password you wish to use.
 
* ECPassword=56f491c56340a6fa5c158863c6bfb39f <-- MD5 of the password you wish to use.
  
Use the command <tt>md5sum</tt> to create a MD5-string of a password:
+
Use the command ''md5sum'' to create a MD5-string of a password:
  $ <tt>echo -n password | md5sum</tt>
+
  $ echo -n password | md5sum
 
  56f491c56340a6fa5c158863c6bfb39f -
 
  56f491c56340a6fa5c158863c6bfb39f -
  
== Configuration of the aMule web interface ==
+
=== Configuration of the aMule web interface ===
The program <tt>amuleweb</tt> is used to get the web interface running. To create a configuration file for this program, the following parameters are used, where <tt>--password</tt> is the password used in the amule daemon configuration and <tt>--admin-pass</tt> is the password to access the web interface itself.
+
The program ''amuleweb'' is used to get the web interface running. To create a configuration file for this program, the following parameters are used, where ''--password'' is the password used in the amule daemon configuration and ''--admin-pass'' is the password to access the web interface itself.
  $ <tt>./amuleweb --write-config --host=localhost --password=password --admin-pass=anotherpassword</tt>
+
  $ ./amuleweb --write-config --host=localhost --password=password --admin-pass=anotherpassword
  
 
Then you just have to start amuleweb, and you're done. Be aware that the amule daemon must be running.
 
Then you just have to start amuleweb, and you're done. Be aware that the amule daemon must be running.
  $ <tt>./amuleweb</tt>
+
  $ ./amuleweb
 +
 
 +
=== Connecting from your web browser ===
 +
Go to the web address ''http://hostname:4711'', where hostname is the name of the computer running amuleweb and 4711 is the port amuleweb is using. In most cases this should be ''http://localhost:4711''.
 +
 
 +
== More information == 
  
== Connecting from your web browser ==
+
* [[aMuleWeb|aMule web article]]
Go to the web address <tt>http://hostname:4711</tt>, where hostname is the name of the computer running amuleweb and 4711 er porten amuleweb is using. In most cases this should be <tt>http://localhost:4711</tt>.
+
* [http://www.linuxguiden.no/index.php/AMule aMule original article www.linuxguiden.no (norwegisch)]

Latest revision as of 17:11, 5 January 2009

English | Deutsch | Español | Norsk

Set aMule web interface

This guide will only work with the 2.x-version of the aMule client. All commands stated are to be run in a terminal, such as konsole or gnome-terminal. In most cases you will have to compile aMule yourself if you want amuleweb, if not you can jump directly to "Configuration of the aMule daemon" section of this guide.

aMule source code can be grabbed here.

Installation of the aMule daemon

Extract and run

$ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --prefix=/home/user/bin/
$ make
$ make install

where the --prefix= parameter is to be replaced with the path of where amule is to be installed.

If you wish to install the client system-wide, rather that the user's own home directory, the '--prefix=' parameter can be removed.

Configuration of the aMule-daemon

Go to the path where aMule was installed, which in our case is ~/bin and run ./amuled. When this is done, the configuration file ~/.aMule/amule.conf is created.

Quit the daemon again. Find and replace the follwoing lines in ~/.aMule/amule.conf.

  • AcceptExternalConnections=1 <-- To let aMule listen to external connections.
  • ECPassword=56f491c56340a6fa5c158863c6bfb39f <-- MD5 of the password you wish to use.

Use the command md5sum to create a MD5-string of a password:

$ echo -n password | md5sum
56f491c56340a6fa5c158863c6bfb39f -

Configuration of the aMule web interface

The program amuleweb is used to get the web interface running. To create a configuration file for this program, the following parameters are used, where --password is the password used in the amule daemon configuration and --admin-pass is the password to access the web interface itself.

$ ./amuleweb --write-config --host=localhost --password=password --admin-pass=anotherpassword

Then you just have to start amuleweb, and you're done. Be aware that the amule daemon must be running.

$ ./amuleweb

Connecting from your web browser

Go to the web address http://hostname:4711, where hostname is the name of the computer running amuleweb and 4711 is the port amuleweb is using. In most cases this should be http://localhost:4711.

More information