http://wiki.amule.org/t/api.php?action=feedcontributions&user=Shakraw&feedformat=atomAMule Project FAQ - User contributions [en]2024-03-29T02:24:56ZUser contributionsMediaWiki 1.23.3http://wiki.amule.org/t/index.php?title=Webserver-1.2.xWebserver-1.2.x2005-07-10T20:06:22Z<p>Shakraw: =Connecting to amuleweb=</p>
<hr />
<div>=== Webserver with [[aMule]] 1.2.8 or earlier ===<br />
<br />
The following is based on the original instruction by BigBob. They guide you on how to modify [[aMule]]'s configuration files to set [[aMuleWeb]] correctly.<br><br />
There is "Preferences"->"Remote Controls" now, but anyway, information is never a bad idea.<br />
<br />
*Shutdown [[aMule]] to avoid overwritting config files while shutting down.<br />
<br />
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the directory ''src/webserver/'' into your ''~/.aMule/webserver/'' directory.<br />
<br />
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the file ''src/aMule.tmpl'' into your ''~/.aMule/aMule.tmpl'' directory.<br />
<br />
*Open a terminal and type (you might have to install ''[http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum]''):<br />
<br />
:''echo -n "'''THEPASWORDYOUWANT'''" | md5sum | cut -d " " -f 1''<br />
:This command will reply with an [[MD4 hash|MD5 hash]]. Something like: 324f85f6095f9e5fe25b6c85af44b445<br />
<br />
*Edit your ''~/.eMule'' file, locate the ''[ExternalConnect]'' section in it and change this fields:<br />
<br />
:''AcceptExternalConnections=1'' <- To enable [[aMule]] to listen for [[External Connections]].<br />
:''ECUseTCPPort=0'' <- Set this to 1 to use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. If disabled [[External Connections]] will fail!!<br />
:''ECPort=4712'' <- Put here the port on which you want [[aMule]] to listen for [[External Connections]].<br />
:''ECPassword=39e5049d0614baf21906500e2261d500'' <- Put here the password for [[External Connections]]<nowiki>'</nowiki> authentications you generated before in terminal (something like 324f85f6095f9e5fe25b6c85af44b445).<br />
<br />
*Edit your ''~/.eMule'' file, locate the ''[WebServer]'' section in it and change fields:<br />
<br />
:''Password=324f85f6095f9e5fe25b6c85af44b445'' <- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for the admin (full privileged users).<br />
:''PasswordLow=1db5a746266e941b3ef7dd3586863ca7'' <- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for "low users" (low privileged users).<br />
:''Port=10000'' <- Put the port you want [[aMuleWeb]] to listen on.<br />
:''Enabled=1'' <- This option has been deprecated and is completly ignored now. Enabling External Connections will enable any application it connects to it, including [[aMuleWeb]].<br />
:''UseGzip=1'' <- Enable compression on communication.<br />
:''PageRefreshTime=120'' <- Put here the web page refresh time (in seconds).<br />
:''UseLowRightsUser=0'' <- 0/1 (disabled/enabled) "low user" access.<br />
<br />
*Restart [[aMule]].<br />
<br />
*Once [[aMule]] is running, start the web interface ([[aMuleWeb]]).<br />
<br />
*Now point your web browser to http://localhost:10000 (or whatever your host and ports are) and authenticate yourself with "Password" (for full privileged user) or "PasswordLow" (for low privileged user, if enabled).<br />
<br />
*That's all :)<br />
<br />
:'''NOTE:'' In latest [[aMule]] 1.2.x releases, the option ''WebTemplateFile'' allows to override the file template to use (thanks to [[User:Stefanero|Stefanero]]. You can set this option in the ''[eMule]]'' section. Example:<br />
<br />
:''WebTemplateFile=eMule.tmpl''<br />
<br />
== Connecting to [[aMuleWeb|amuleweb]] ==<br />
<br />
To run [[aMuleWeb]] run ''<b>amuleweb</b>'' on a terminal. For more information about running [[aMuleWeb]] check the [[aMuleWeb|aMuleWeb document]].<br />
<br />
Once [[aMuleWeb]] is running, open a web browser and connect to:<br />
<br />
''http://host:port''<br />
<br />
where ''host'' stands for your host's name (try with ''localhost'') and port stands for the [[aMuleWeb]] port ('''NOT''' the [[External Connections]] port).<br />
<br />
For example: ''http://localhost:4711''<br />
<br />
''Shakraw''</div>Shakrawhttp://wiki.amule.org/t/index.php?title=Webserver-1.2.xWebserver-1.2.x2005-07-10T20:02:17Z<p>Shakraw: =Connecting to amuleweb=</p>
<hr />
<div>=== Webserver with [[aMule]] 1.2.8 or earlier ===<br />
<br />
The following is based on the original instruction by BigBob. They guide you on how to modify [[aMule]]'s configuration files to set [[aMuleWeb]] correctly.<br><br />
There is "Preferences"->"Remote Controls" now, but anyway, information is never a bad idea.<br />
<br />
*Shutdown [[aMule]] to avoid overwritting config files while shutting down.<br />
<br />
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the directory ''src/webserver/'' into your ''~/.aMule/webserver/'' directory.<br />
<br />
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the file ''src/aMule.tmpl'' into your ''~/.aMule/aMule.tmpl'' directory.<br />
<br />
*Open a terminal and type (you might have to install ''[http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum]''):<br />
<br />
:''echo -n "'''THEPASWORDYOUWANT'''" | md5sum | cut -d " " -f 1''<br />
:This command will reply with an [[MD4 hash|MD5 hash]]. Something like: 324f85f6095f9e5fe25b6c85af44b445<br />
<br />
*Edit your ''~/.eMule'' file, locate the ''[ExternalConnect]'' section in it and change this fields:<br />
<br />
:''AcceptExternalConnections=1'' <- To enable [[aMule]] to listen for [[External Connections]].<br />
:''ECUseTCPPort=0'' <- Set this to 1 to use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. If disabled [[External Connections]] will fail!!<br />
:''ECPort=4712'' <- Put here the port on which you want [[aMule]] to listen for [[External Connections]].<br />
:''ECPassword=39e5049d0614baf21906500e2261d500'' <- Put here the password for [[External Connections]]<nowiki>'</nowiki> authentications you generated before in terminal (something like 324f85f6095f9e5fe25b6c85af44b445).<br />
<br />
*Edit your ''~/.eMule'' file, locate the ''[WebServer]'' section in it and change fields:<br />
<br />
:''Password=324f85f6095f9e5fe25b6c85af44b445'' <- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for the admin (full privileged users).<br />
:''PasswordLow=1db5a746266e941b3ef7dd3586863ca7'' <- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for "low users" (low privileged users).<br />
:''Port=10000'' <- Put the port you want [[aMuleWeb]] to listen on.<br />
:''Enabled=1'' <- This option has been deprecated and is completly ignored now. Enabling External Connections will enable any application it connects to it, including [[aMuleWeb]].<br />
:''UseGzip=1'' <- Enable compression on communication.<br />
:''PageRefreshTime=120'' <- Put here the web page refresh time (in seconds).<br />
:''UseLowRightsUser=0'' <- 0/1 (disabled/enabled) "low user" access.<br />
<br />
*Restart [[aMule]].<br />
<br />
*Once [[aMule]] is running, start the web interface ([[aMuleWeb]]).<br />
<br />
*Now point your web browser to http://localhost:10000 (or whatever your host and ports are) and authenticate yourself with "Password" (for full privileged user) or "PasswordLow" (for low privileged user, if enabled).<br />
<br />
*That's all :)<br />
<br />
:'''NOTE:'' In latest [[aMule]] 1.2.x releases, the option ''WebTemplateFile'' allows to override the file template to use (thanks to [[User:Stefanero|Stefanero]]. You can set this option in the ''[eMule]]'' section. Example:<br />
<br />
:''WebTemplateFile=eMule.tmpl''<br />
<br />
== Connecting to [[aMuleWeb|amuleweb]] ==<br />
<br />
To run [[aMuleWeb]] run ''<b>amuleweb</b>'' on a terminal. For more information about running [[aMuleWeb]] check the [[aMuleWeb|aMuleWeb document]].<br />
<br />
Once [[aMuleWeb]] is running, open a web browser and connect to:<br />
<br />
''http://host:port''<br />
<br />
where ''host'' stands for your host's name (try with ''localhost'') and port stands for the [[aMuleWeb]] port ('''NOT''' the [[External Connections]] port).<br />
<br />
For example: ''http://localhost:4711''<br />
<br />
[[User:Shakraw|Shakraw]]</div>Shakraw