Difference between revisions of "Webserver"

From AMule Project FAQ
Redirect page
Jump to: navigation, search
 
(56 intermediate revisions by 21 users not shown)
Line 1: Line 1:
== How to setup a Webserver with aMule2.0.0rc1 and later: ==
+
#REDIRECT [[aMuleWeb]]
 
+
When you installed your aMule via deb package or rpm, the webserver source is not included.
+
Please visit www.amule.org and download the tar.gz package for your aMule version.
+
 
+
Untar it and copy from the src folder:
+
 
+
-aMule.tmpl
+
 
+
-and the webserver folder
+
 
+
into your /home/usr_running_aMule/.aMule/ directory.
+
 
+
 
+
'''SETUP'''
+
 
+
 
+
1) shutdown your aMule if it is still running
+
 
+
 
+
2) edit your .eMule file:
+
 
+
-locate the "[ExternalConnect]" section and change:
+
 
+
AcceptExternalConnections=1 <-- to enable amule listening for external connections
+
 
+
ECUseTCPPort=1 <-- the use the tcp port! very importand since unix sockets are disabled
+
 
+
 
+
3) restart aMule
+
 
+
 
+
4) go to your aMule preferences and the tab "remote connection":
+
 
+
-enable your webserver
+
 
+
-also setup your passwords here for external connection and webserver login
+
 
+
-when you change your ports for webserver and external connections here make sure to restart aMule!!
+
 
+
 
+
5) after you are done, save your settings, go to console and type
+
-amuleweb
+
 
+
  type in your password. This will startup your aMule webserver. If you changed your external connection port to someting else start amuleweb with
+
 
+
        -amuleweb -p new_port
+
 
+
  at the end it should look something like this:
+
 
+
 
+
Web Server: Started
+
 
+
amuleweb$
+
 
+
WSThread: Thread started
+
 
+
WSThread: created service
+
 
+
WSThread: created socket listening on :4711
+
 
+
 
+
6) to make sure it is working use your favorite browser:
+
 
+
-http://localhost:4711
+
 
+
this is the default port of your aMuleweb. If you connect to 4712 this will not work since it is the external connections port, connecting here will result in error messages by aMule.
+
 
+
For Problems or Questions just report on forum or join channel #amule on IRC Network : FREENODE.
+
 
+
 
+
Stefanero
+

Latest revision as of 01:16, 13 November 2005