Original von BigBob
Hi,
1) Shutdown aMule
2) copy from sources of aMule the directory "aMule-1.0.8/src/webserver/" in your "~/.aMule/webserver/".
3) copy from sources of aMule the file "aMule-1.0.8/src/aMule.tmpl" in your "~/.aMule/aMule.tmpl"
4) open a term and type :
echo -n "THEPASWORDYOUWANT" | md5sum | cut -d " " -f 1
This reply something like that :
324f85f6095f9e5fe25b6c85af44b445
5) edit your "~/.eMule" file, locate the "[WebServer]" section and change fields :
Port=10000 <- put the port you want aMule WebServer listen on
Enabled=1
UseGzip=1
Password=324f85f6095f9e5fe25b6c85af44b445 <- put here the password generated in term
6) Restart aMule
A++
OK, I did.
[ksk@KS ksk]$
[ksk@KS ksk]$ amuleweb
amuleweb amulewebDLG
[ksk@KS ksk]$ amuleweb
This is amuleweb (WebServer)
Enter password for mule connection (return if no pass defined):
Creating client...
Now doing connection...
Using host localhost port /home/ksk/.aMule/muleconn
Accepted Connection from amuleweb
---------------------------------
| aMule Web Server |
---------------------------------
Use 'Help' for command list
*** creating web socket and starting listener!
Web Server: Started
aMule[web]$ *** WebServer: Using port: 30000
aMule[web]$
Why 30000, I don't know.
I defined port=10000 in /home/ksk/.eMule
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$ tail -n 20 /home/ksk/.eMule | head -n 9
[WebServer]
Port=10000
Enabled=1
UseGzip=1
Password=324f85f6095f9e5fe25b6c85af44b445
PasswordLow=
PageRefreshTime=10
UseLowRightsUser=0
[Razor_Preferences]
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$ netstat -natep | grep -i listen | grep -i amule
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:30000 0.0.0.0:* LISTEN
507 315752216 28297/amuleweb
tcp 0 0 0.0.0.0:65011 0.0.0.0:* LISTEN
507 315623983 19672/amule
[ksk@KS ksk]$
[ksk@KS ksk]$
My problem is, that every www browser freezes. So amuleweb doesnt' work.
lynx localhost:30000
HTTP request sent; waiting for response.
opera, mozilla was also only waiting...