aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: standalone webserver  (Read 4127 times)

Surge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
standalone webserver
« 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.
Logged

Seagull

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 154
RE: standalone webserver
« Reply #1 on: November 01, 2004, 11:57:44 AM »

Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: standalone webserver
« Reply #2 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!
Logged

Surge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: standalone webserver
« Reply #3 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?
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: standalone webserver
« Reply #4 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!
Logged

Surge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: standalone webserver
« Reply #5 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?
Logged

lfroen

  • Guest
Re: standalone webserver
« Reply #6 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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: standalone webserver
« Reply #7 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/
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: standalone webserver
« Reply #8 on: November 02, 2004, 06:19:47 PM »

About wx: yes, we use as much wx code as possible. Network, threads, sockets, gui, etc....
Logged

Surge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: standalone webserver
« Reply #9 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?
« Last Edit: November 04, 2004, 05:41:14 AM by Surge »
Logged

lfroen

  • Guest
Re: standalone webserver
« Reply #10 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 :)
Logged

Surge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: standalone webserver
« Reply #11 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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: standalone webserver
« Reply #12 on: November 05, 2004, 03:57:15 AM »

Quote
Originally posted by Surge
How many pplz now develop aMule? 20

~5-7