aMule Forum

English => aMule Help => Topic started by: Surge on November 01, 2004, 01:52:18 AM

Title: standalone webserver
Post by: Surge on November 01, 2004, 01:52:18 AM
Hello,

just installed and configured aMule - amazing. :)
I have one question though.. I want to run aMule on my "server" where I prefer not to have any GUI running most of the time. I wonder if there are any plans to make a stand-alone webserver possible that is:

1. Run as a special user and started during system init.
2. Not require any GUI running in parallel


Also, I have noticed that web interface is not very responsive, I wonder if this is only happening here or a widely known problem...

Thank you.
Title: RE: standalone webserver
Post by: Seagull on November 01, 2004, 11:57:44 AM
Use the daemon, amuled.

Check this link: http://www.amule.org/wiki/index.php/FAQ_aMule#Is_there_any_way_to_start_aMule_with_no_graphical_interface?
Title: Re: standalone webserver
Post by: phoenix on November 01, 2004, 12:00:53 PM
Surge,

The new versions of amuleweb are much more responsive, since the implementation of the external connection protocol, version 2.0. Current CVS is pretty much ok for me, next release should have this code.

Cheers!
Title: Re: standalone webserver
Post by: Surge on November 01, 2004, 02:39:26 PM
Yahoo! I will check amuled, however it seems that I got compilation errors when I enabled it - I will recheck tonight (my server is Slackware-current).

One question, so aMule is all based on wxWidgets, including threading, networking and (for sure) GUI? Or there is some Linux only code inside here and there?

Would be good idea to checkout tonight CVS and compile it instead of rc7?
Title: Re: standalone webserver
Post by: phoenix on November 01, 2004, 03:02:02 PM
Surge,

Better try it tomorrow, because today cvs tarball is probably broken (compilation) for a problem we had yesterday. Anyway, if you try and it compiles, go ahead!

Cheers!
Title: Re: standalone webserver
Post by: Surge on November 01, 2004, 04:48:45 PM
Hi, where can I find instructions on how to grab current CVS and not prepared tarballs? Also, it seems that tarballs on download page are from Oct 26.. which is quite old, imho :)

What about my wxWidgets question?
Title: Re: standalone webserver
Post by: lfroen on November 01, 2004, 04:48:52 PM
Quote
Or there is some Linux only code inside here and there?

I don't know what you mean "Linux code" - but for sure there's some posix code here and there. This  do creates some compilation problems on not-linux unix'es (solaris etc), but i think it compiles ok on all linuxes. Have includes provided of cause
Title: Re: standalone webserver
Post by: phoenix on November 02, 2004, 03:29:26 PM
Quote
Originally posted by Surge
Hi, where can I find instructions on how to grab current CVS and not prepared tarballs? Also, it seems that tarballs on download page are from Oct 26.. which is quite old, imho :)

What about my wxWidgets question?

Latest CVS tarballs: http://amule.hirnriss.net/
Title: Re: standalone webserver
Post by: Kry on November 02, 2004, 06:19:47 PM
About wx: yes, we use as much wx code as possible. Network, threads, sockets, gui, etc....
Title: Re: standalone webserver
Post by: Surge on November 04, 2004, 05:34:15 AM
Just downloaded, compiled and installed Nov 3, CVS... It doesn't seem like webserver is any faster :(
Windows' eMule Web interface is like 10 times faster... any reasons why?

Edit: Just tried to use Unix sockets (which in theory must be MUCH faster then inet sockets), and amuleweb was not even able to connect (was trying 4112) :(
So I wonder if amuleweb can connect only via TCP sockets?
Title: Re: standalone webserver
Post by: lfroen on November 04, 2004, 08:54:36 AM
Quote
Windows' eMule Web interface is like 10 times faster... any reasons why

Of course there's reasons "why" - this is the way amuleweb built (not the best one). We are working on changing that.

Quote
So I wonder if amuleweb can connect only via TCP sockets

You wanted to say "IP" sockets :) (there's no such beast TCP sockets)

But yes, it uses only IP. I wonder why this option still exist :)
Title: Re: standalone webserver
Post by: Surge on November 04, 2004, 02:12:26 PM
Ok, ok.. :)

By saying TCP socket I meat to contrast the difference in the name of the option, more then anything else :)

How many pplz now develop aMule? 20
Title: Re: standalone webserver
Post by: deltaHF on November 05, 2004, 03:57:15 AM
Quote
Originally posted by Surge
How many pplz now develop aMule? 20

~5-7