Difference between revisions of "HowTo get aMule web interface"

From AMule Project FAQ
Jump to: navigation, search
(Set eMuleWeb interface)
(Setear la interfaz web de aMule)
Line 3: Line 3:
 
</center>
 
</center>
  
== Setear la interfaz web de aMule ==
+
=== Set aMule web interface ===
  
Esta guia sólo funcionará con las versiones 2.x del cliente aMule. Todos los comandos que se encuentran a continuación debes introducirlos en una terminal, como por ejemplo konsole o gnome-terminal. En el mayor de los casos tendrás que compilar aMule por ti mismo si quieres disponer de amuleweb, si no puedes pasar a la sección ''"Configuracion de aMule daemon"' de esta guía.
+
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.  
  
Puedes obtener el código fuente de aMule de [http://dl.amule.org aquí].
+
aMule source code can be grabbed [http://dl.amule.org here].
  
=== Instalación de aMule daemon ===
+
=== Installation of the aMule daemon ===
Extrae y ejecuta
+
Extract and run
 
  $ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --prefix=/home/''user''/bin/
 
  $ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --prefix=/home/''user''/bin/
 
  $ make
 
  $ make
 
  $ make install
 
  $ make install
donde el parámetro ''--prefix='' se tiene que remplazar por la ruta donde aMule debe ser instalado.
+
where the ''--prefix='' parameter is to be replaced with the path of where amule is to be installed.
  
Si deseas instalar el cliente system-wide, por supuesto que el directorio home del usuario, el parámetro '--prefix=' puede ser eliminado.
+
If you wish to install the client system-wide, rather that the user's own home directory, the '--prefix=' parameter can be removed.
  
Cierra el daemon de nuevo. Sustituye las siguientes lineas en ''~/.aMule/amule.conf''.
+
=== Configuration of the aMule-daemon ===
* AcceptExternalConnections=1 <-- Para permitir a aMule escuchar conexiones externas.
+
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.
* ECPassword=56f491c56340a6fa5c158863c6bfb39f <-- El MD5 de la contraseña que desees usar.
+
  
Usa el comando ''md5sum'' para crear una MD5-string de una contraseña:
+
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
 
  $ echo -n password | md5sum
 
  56f491c56340a6fa5c158863c6bfb39f -
 
  56f491c56340a6fa5c158863c6bfb39f -
  
=== Configuración de la interfaz web de aMule ===
+
=== Configuration of the aMule web interface ===
El programa ''amuleweb'' es usado para conseguir que funcionene el interfaz web. Para crear un fichero de configuración para este programa, puedes usar los siguientes parámetros, donde ''--password'' es la contraseña usada en la configuración de amule daemon y ''--admin-pass' es la contraseña para acceder a la interfaz web por sí mismo.
+
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=otracontraseña
+
  $ ./amuleweb --write-config --host=localhost --password=password --admin-pass=anotherpassword
  
Entonces sólo tienes que arrancar amuleweb, y ya está. Estate alerta de que se está ejecutando amule daemon.
+
Then you just have to start amuleweb, and you're done. Be aware that the amule daemon must be running.
 
  $ ./amuleweb
 
  $ ./amuleweb
  
=== Conectándote desde tu navegador ===
+
=== Connecting from your web browser ===
Ve a la página web ''http://hostname:4711'', donde hostname es el nombre del ordenador donde está ejecutándose amuleweb y 4711 es el puerto que amuleweb está usando. En la mayoría de los casos suele ser ''http://localhost:4711''.
+
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''.
  
 
== Más informacion ==
 
== Más informacion ==

Revision as of 18:49, 19 December 2007

English | Norsk | Deutsch

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.

Más informacion