Difference between revisions of "Webserver"

From AMule Project FAQ
Redirect page
Jump to: navigation, search
 
(36 intermediate revisions by 14 users not shown)
Line 1: Line 1:
=== Previous notes ===
+
#REDIRECT [[aMuleWeb]]
 
+
If you installed [[aMule]] via [http://www.debian.org deb] or [http://www.rpm.org RPM] package, the [[aMuleWeb|webserver]] source is not included.
+
Since some few files are needed from the sources to set-up [[aMuleWeb|amuleweb]], please visit http://www.amule.org and download the tar.gz package for your [[aMule]] version.
+
 
+
== Set a [[aMuleWeb|Webserver]] with [[aMule]] ==
+
 
+
[[Webserver-1.2.x|Webserver with aMule 1.2.8 or earlier]]
+
 
+
=== Webserver with [[aMule]] 2.0.0-rc1 or later ===
+
 
+
*[http://www.gnu.org/software/tar/tar.html Untar] the sources and copy '''''src/aMule.tmpl''''' and '''''src/webserver/''''' into your '''''~/.aMule/''''' directory. The following (run from the sources directory), should do so:
+
:''cp -r src/aMule.tmpl src/webserver/ ~/.aMule/''
+
 
+
*Go to "Preferences"->"Remote Controls" (in [[aMule]]) and...
+
**Enable "Accept External Connections".
+
**Enable "Use TCP ports instead of unix local sockets".
+
 
+
::'''NOTE:''' On some early [[aMule]] 2.0.0-rcX versions the above two options weren't available (or didn't work). If you are using such [[aMule]] version and you don't wish to upgrade, then do the following:
+
 
+
::Shutdown [[aMule]] if it is still running.
+
::Edit your ''~/.eMule'' file, locate the ''[ExternalConnect]'' section and change:
+
:::''AcceptExternalConnections=1'' <-- To enable [[aMule]] listening for [[External Connections]].
+
:::''ECUseTCPPort=1'' <-- To use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. Very important since [http://www.unix.org Unix] sockets are disabled.
+
 
+
*Restart [[aMule]]
+
 
+
*Go to your "Preferences"->"Remote Controls" (in [[aMule]]) and setup your passwords here for [[External Connections]] and [[aMuleWeb|webserver]] login.
+
::'''NOTE:''' When you change your [[aMuleWeb|webserver]] and [[External Connections]] ports here, make sure to restart [[aMule]].
+
::'''NOTE:''' that ''"Enable [[aMuleWeb|Webserver]]"'' has no effect and will be renamed in 2.0.0rc8. [[aMuleWeb|Webserver]] is always enabled as long as you have [[External Connections]] enabled.
+
::'''NOTE:''' For users running [[aMuled|aMule Daemon]] you have to edit the ''.eMule'' file like shown above. For a way to setup a password check the [[Webserver-1.2.x|1.2.8 aMule HowTo]]. You can still do it in the same way.
+
 
+
*Now you're done! You are ready to run [[aMuleWeb|amuleweb]] and connect to it.
+
 
+
'''[[User:Stefanero|Stefanero]]'''
+
 
+
== Connecting to [[aMuleWeb|amuleweb]] ==
+
 
+
To run [[aMuleWeb]] run '''''amuleweb''''' on a terminal. For more information about running [[aMuleWeb]] check the [[aMuleWeb|aMuleWeb document]].
+
 
+
Once [[aMuleWeb]] is running, open a web browser and connect to:
+
 
+
''http://host:port''
+
 
+
where ''host'' stands for your host's name (try with ''localhost'') and port stands for the [[aMuleWeb]] port ('''NOT''' the [[External Connections]] port).
+
 
+
For example: ''http://localhost:4711''
+
 
+
== Standard ports ==
+
 
+
The ports can be set to anything, but this are the most used (the standard ones):
+
 
+
*[[External Connections]]: 4712
+
*[[aMuleWeb|amuleweb]]: 4711
+
 
+
Make sure you do not confuse with what each of them is.
+
 
+
== Where to report problems and questions? ==
+
 
+
For Problems or Questions just report on http://forum.amule.org forum or join [[IRC]] channel [irc://irc.freenode.net/amule #amule] at [irc://irc.freenode.net irc.freenode.net]
+

Latest revision as of 01:16, 13 November 2005