Slashdot Mirror


Apache Binaries Available for PS2 Linux

cant_get_a_good_nick writes: "From ApacheWeek, probably the best net resource for Apache, comes the announcement of a binary build of Apache 2.0.39 for PS2 Linux. You too can have a server farm for web serving, and GTA3. Be nice and don't kill this guy's downloads page."

62 of 183 comments (clear)

  1. Neet. by autopr0n · · Score: 3, Interesting

    Of course, if you really just want low cost, Old PCs or laptops (to get low power consumption) would probably be a better bet. I use an old 200mhz P1 for my linux mail server, and it has more ram then the ps2 :P

    Now as far as coolness factor, OTOH...

    --
    autopr0n is like, down and stuff.
    1. Re:Neet. by jhoffoss · · Score: 2
      Now as far as coolness factor, OTOH...
      You could always take apart the PC and put it together in a pizza box or something for the coolness factor...
      --
      Linux: The world's best text-adventure game.
  2. Webserver by SpatchMonkey · · Score: 2, Insightful

    So what? You might as well get a decent webserver box than waste your PS2s superior graphics capabilities on just dishing out webpages.

    Another bizarre, ridiculous and completely useless application of the technology.

    1. Re:Webserver by PacoTaco · · Score: 2, Funny

      Dude, this is Slashdot. If I got my ass to run Linux, they'd post that too. :)

    2. Re:Webserver by WasterDave · · Score: 5, Insightful

      Another bizarre, ridiculous and completely useless application of the technology.

      Which is exactly why it's so cool.

      Dave

      --
      I write a blog now, you should be afraid.
    3. Re:Webserver by SquierStrat · · Score: 2

      Nobody cares to try it because everyone knows that it is technically impossible. Where's the fun in trying to do something you know you can't do??? :-) Sides, who wants to waste good technology on windows? ;-)

      --
      Derek Greene
    4. Re:Webserver by NanoGator · · Score: 5, Interesting

      "Another bizarre, ridiculous and completely useless application of the technology."

      Only if you have no imagination. At work, there's a rack-mount web server that's basically an appliance that somebody bought for used for $300. They say it originally cost over $2,000. The nice thing about this type of appliance is that it has few parts to go bad on it. However, it does suffer from lack of features. (It's basically just an HTTP server, no PHP support etc...)

      Well, they got Apache running on a PS2. That means that PHP and all those other fun features of it will (presumably) work as well. I don't think it's too far away from burning a DVD, popping it in the PS2, turning it on, and boom you have a webserver running. The neat thing is that this $199 (new, and will always get cheaper) device should, in theory, stay up to date with Apache.

      PS2's will eventually go the way of the Dreamcast, and will reach ridiculously low ($50) prices. Personally, I'd rather set one of those things up once and reboot once in a while rather than having to maintain a machine with failing hard-drives and so on. If the thing breaks, buy it with one of those 1 year warranties for $20 and have them swap out with a new one. Heh. I bet you can't get a web appliance with that kinda guarantee! Setup is a breeze!

      I'm tempted to look into how to build a PC that boots off a flash card so I can remove all of the moving parts from it. That'd last forever, I bet. Actually, if anybody knows of a good place to find that info, fire a link to me. (I'll do a Google search later, but I'd much rather hear from somebody who's gone down that road.) In the mean time, I have finally found an interesting use for a PS2!

      Cheers.

      --
      "Derp de derp."
    5. Re:Webserver by NanoGator · · Score: 2

      Thanks for posting the LART link, I'm looking at it now.

      I envisioned that the pages would be served up from a small 8-meg RAM disk.

      You bring up an excellent point about the limitations of the machine. I wasn't picturing a huge site in my mind, I was picturing something like a small 'brochure' kind of site. Don't they make a 40-gig hard-drive for the PS-2, though?

      --
      "Derp de derp."
    6. Re:Webserver by WasterDave · · Score: 2

      http://www.linuxdevices.com/articles/AT2614444132. html

      http://www.soekris.com/

      Dave

      --
      I write a blog now, you should be afraid.
    7. Re:Webserver by Afrosheen · · Score: 3, Funny

      Yeah the linux ps2 kit comes with a keyboard, mouse, vga-adapter cable, hard drive, toothpaste and sony branded comb. That way you can look as good as you feel.

    8. Re:Webserver by Afrosheen · · Score: 2

      Still begging for a new moderation option folks:

      -1 Stupid

      Posts like the parent are living proof of a dire need for this option. Everyone knows that the ps2 linux kit comes with a hard drive by now, and adding a larger one is probably a trivial task.

    9. Re:Webserver by phunhippy · · Score: 2

      I have finally found an interesting use for a PS2!

      Hmmmm what about PS2 games? :)

    10. Re:Webserver by ceejayoz · · Score: 2

      Doesn't modding your PS2 like this void the warranty, though?

  3. Woah by Anonymous Coward · · Score: 3, Funny

    Now I can set up a webserver on my PS2 and visit it with my Dreamcast! Once they get the Xbox running linux, we'll be all set.

    1. Re:Woah by NanoGator · · Score: 2

      "Now I can set up a webserver on my PS2 and visit it with my Dreamcast! Once they get the Xbox running linux, we'll be all set."

      Three web-servers?

      Can't the Dreamcast handle the load of both your friends visiting it? Heh.

      --
      "Derp de derp."
    2. Re:Woah by NanoGator · · Score: 2

      Heh I figured it was something like that. I was goin for a +1 Funny. Wasn't that funny tho. Oh well... :)

      --
      "Derp de derp."
  4. $W33t by dotgod · · Score: 2, Funny

    bUt wh3n wIll I b3 abl3 to s3rVe mY WaR3z fr0m mY l337 PaNa$0n|c 3D0?

  5. Like that will ever happen by Rob.Mathers · · Score: 2, Funny

    "Be nice and don't kill this guys downloads page."
    That's like standing in front of the running of the bulls and asking for them to spare you -- it's just not going to happen! :P

    --

    My other sig is funny!
  6. I'm waiting for the xBox. by Guspaz · · Score: 2, Insightful

    The PS2 is great and all, but it's cost effectiveness for power is not matched by the XBox. The PlayStation 2 also costs a lot more than an XBox after you consider the cost of both the PS2 _and_ the overly restrictive Linux kit.

    Regards, Adam.

    1. Re:I'm waiting for the xBox. by Afrosheen · · Score: 2

      Wow you have a good point there. The cost effectiveness of the PS2 isn't matched by the XBox, a run-of-the-mill, cut-down pc which COMPLETELY LACKS THE ABILITY TO RUN LINUX OR APACHE at this time.

      If you hadn't noticed yet, the PS2 can run linux and Sony supports it. OTOH, the XBox can't run linux and MS will never support it, in reality, they've done all they can to prevent it thus far.

      Let's do some more comparisons if/when the XBox runs linux and there's a post about Apache running on linux/Xbox ok?

    2. Re:I'm waiting for the xBox. by Bogatyr · · Score: 2

      I believe Esther Dyson said once (going from memory so it may not be a direct quote, but a close paraphrase):
      "If you wait, there will always be a cheaper and faster computer later. But while you wait you have nothing." I see a PS2/Linux box acting as a webserver today. I don't see the XBox doing the same.

    3. Re:I'm waiting for the xBox. by ceejayoz · · Score: 2

      Actually, the X-box runs Linux - there's a /. article about it on the front page as we speak.

      Foot, meet mouth. You're gonna be spending a lot of time together.

  7. Being the one who sometimes submits kernel updates by The+Pi-Guy · · Score: 3, Funny

    now I see it from the flamers' perspective... WOO-HOO. Oh looky looky, someone said the word "Linux". Let's post it on Slashdot! Whoah, someone actually downloaded a file, ran configure, and built a binary? Like everyone else in the world does? WOW! ... Ok. I'm not trying to be flamebait here, but ... it's that easy. ./configure --prefix=~/package/usr make make install tar czvf apache.tgz ~/package/* ... and presto-chango. You have a file called apache.tgz, which you unzip in / and you have apache. /me ducks from the mods, and hopes for well-done M2...

    --pi

  8. comon... by Anonymous Coward · · Score: 2, Funny

    example from /.

    "A guy is running apache on a timex watch!! heres the link to his site"

    5 hits later, the site goes down.

    angry /.'er everwhere:

    a) "its /.'ed"
    b) "heres the google cache, gimme karma now!"

    comon ppl...

    1. Re:comon... by Afrosheen · · Score: 2

      You forgot the other option:

      c) clever link to goatse.cx disguised as a google cache link along with the words "frist pots!!!"

  9. Rack Mount Kit? by peterdaly · · Score: 3, Insightful

    Ok, now its time for someone to come out with the Rack Mount Kit for the Linux edition of the PS2, complete with mounting for HD etc.

    How else is one supposed to make a decent server farm out of these? Has anyone done any serious benchmarking of Linux on this hardware? What's the price/performace for one of these doing (tiff to) pnm to png conversions? (I have the need for small cluster for that, have been looking into AMD's)

    I am only half joking.

    -Pete

    1. Re:Rack Mount Kit? by ImaLamer · · Score: 2

      Well, look at this too: Dreamcast vs. PS2

      Although it is harder to find the broadband adapter. But getting a DC for ~$50 brings the price to $150, plus no mod chip.

  10. All well and good by nakaduct · · Score: 5, Funny

    Does the distribution include mod_chip?

    1. Re:All well and good by jfunk · · Score: 2

      In mod_points, of course.

  11. Awesome! by Wakko+Warner · · Score: 3, Funny

    This is just what I bought my PS2 for!!!!!

    Oh wait.

    No.

    It was to play "Gran Turismo".

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  12. GTA3 and webserving? by NanoGator · · Score: 3, Funny

    "You too can have a server farm for web serving, and GTA3."

    Well you don't really need a PS2 running Linux to do that. Just use a Windows 2000 box running Apache, then you can serve web pages while playing GTA 3.

    You can't do that on a PS2!!!

    --
    "Derp de derp."
    1. Re:GTA3 and webserving? by NanoGator · · Score: 2

      It wouldn't be that bad unless the site got slashdotted. Most of GTA3's slowdown comes from drawing the graphics, not from calculating stuff. A faster video card would = smoother frame rate.

      Too bad the game's not as fancy as Quake when it comes to settings. It does NOT degrade gracefully.

      It wouldn't take much horsepower to get Apache to spit out a page within 90 seconds.

      --
      "Derp de derp."
    2. Re:GTA3 and webserving? by NanoGator · · Score: 2

      I'm running a 1.2 gig Athlon at 640 by 480 by 16, it goes pretty slow too. When things are clear, it goes relatively smooth. Once it starts raining, I get like 5 fps. Seriously. I'm running a Geforce 4 MX.

      I'm sure it's my card.

      --
      "Derp de derp."
    3. Re:GTA3 and webserving? by NanoGator · · Score: 2

      Hmm maybe I'm wrong then.

      The game runs just fine until it starts raining, then the cops come after me with the helicopter.

      Unless P4s behave better with Nvidia drivers. I've heard of other cards with 'special optimizations for P4'. No idea if Geforce 4s are part of that or not, though.

      Or I'm just wrong. :)

      --
      "Derp de derp."
    4. Re:GTA3 and webserving? by NanoGator · · Score: 2

      Hey, I don't feel bad. The card cost me only $150, and I have a fully accellerated dual monitor setup to boot.

      I was running a Matrox G550, and the 3d on it was HORRID. *Not dissatisfied* :)

      --
      "Derp de derp."
  13. That's Cool by tealover · · Score: 2, Insightful

    How much RAM does the PS2 have? I'm just wondering how truly effective it can be as a webserver.

    --
    -- You see, there would be these conclusions that you could jump to
    1. Re:That's Cool by NanoGator · · Score: 2

      According to Sony, it can serve a quarter of a billion "hello world" pages to itself. Based on that number, it's the most powerful web server in the world.

      (Anybody who remembers Sony's 'The PS2 can handle 66 million invisible polys a second' marketing will find that amusing.)

      --
      "Derp de derp."
  14. Brilliant! by toupsie · · Score: 2
    Can you imagine web serving paradigm smashing possibilities of this?!?!!?

    Me either...

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
  15. Ironic by stere0 · · Score: 2, Interesting
    "[Compiled Apache 2 binaries] are currently available from http://www.phi-web.co.uk/ps2-apache/"

    The site www.phi-web.co.uk is running Apache/1.3.22 (Unix) [...] on FreeBSD.

    --
    Trollem mirabilem hanc subnotationis exigiutas non caperet
  16. Be nice? by nochops · · Score: 3, Insightful

    Be nice?

    Why post a link if you don't want people to click on it? Why not include a list of users with the story, so we know who is allowed to click on the link and who is not? This way, we won't exceed our quota.

    That's rediculous, I know. But saying "be nice..." in this context just says to me "hehehe I know all about this thing called the Slashdot effect, but I don't really care. Just to make it a bit funnier, though, I'll tell everyone to 'be nice' in my most sarcastic tone."

    --
    "A terrorist is someone who has a bomb but doesn't have an air force." -William Blum
  17. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  18. Re:Being the one who sometimes submits kernel upda by cant_get_a_good_nick · · Score: 2, Insightful

    it's that easy.

    Read his announcement, it was non-trivial.

    And we had the Lego mathematical models a few days ago, anyone can click Legos. He did it cause it was cool, and thought the community at large would like it. And it's on Slashdot cause using a game machine for doing real work is kinda cool to a geek.

  19. Re:Being the one who sometimes submits kernel upda by The+Pi-Guy · · Score: 2

    Yes, I realize that. Sure, it's kinda cool. Now if they had done something OTHER than just recompiling, like a little bit of porting to get it to run on... say... NewOS (ok, bad example. pick something with a network stack and try again.), that would be REALLY /.-worthy.

    --j

  20. Ever so critical by tlh1005 · · Score: 2, Funny

    Of course this has uses on some levels. Will a bank of PS2's ever be the backbone of EBAY, NO. But it can be a useful hobby/ learning tool for someone who happens to already own a PS2 and not a computer.

    I can't figure out what "makes" a story here, I've seen readers praise less interesting re-invented wheels than this one. I could cure cancer and you guys would say "so", but let some guy setup Linux to auto-flush his toilet and he'd be a hero.

  21. You too can be a computer nerd! by ebbomega · · Score: 2

    All you have to do is pick out three things wrong with this parent!

    --
    Karma: Non-Heinous
  22. Re:GIVE ME A BREAK! by ebbomega · · Score: 2

    Why not?

    --
    Karma: Non-Heinous
  23. Re:Being the one who sometimes submits kernel upda by Cryptnotic · · Score: 3, Insightful
    It IS that easy. Here's his announcement. As far as I can tell, it's only non-trivial if you're brand new to Apache or compiling software in Linux. This guy admits to being "new to all of this".

    The greater benefit of downloading pre-compiled binaries for PS2/Linux is that compiling things on the PS2 takes a very long time. Compiling xmame for example, takes roughly 2-3 hours.


    Hi all.

    I've been a regular user of Apache now for about a year, 1.3 and more
    recently 2.0. Recently Sony released a kit to turn their PlayStation 2
    console into a fully featured Linux machine (hard drive, Ethernet etc etc).
    This kit has been gaining great popularity amongst the Linux community, and
    several users (such as myself) have already decided to use it as a webserver :)

    Anyway: to get to the point: the PS2 only has a 300mhz MIPS processor, and
    the compile time for Apache is quite hefty. Another discouraging factor for
    any would-be Apache on PS2 users is that compiling "anything" can be quite a
    daunting task for many people. For this reason, I've decided to provide
    compiled Apache 2 binaries for download.

    These are currently available from http://www.phi-web.co.uk/ps2-apache/ and
    I will endeavour to provide the binaries for each new release of Apache 2
    within a day or so of it "emerging". I just thought I'd let you guys know
    about this potential (admittedly small) market for Apache. With any luck, by
    making binaries for it more high-profile, more people will purchase the PS2
    kit, and hence get interested in Linux.

    I hope you don't mind me posting here, but it seemed like you guys should be
    the ones to know. Given that I'm quite new to all of this, I compiled it
    using the binbuild.sh script, but this has produced a fairly large (>11megs)
    archive: is this normal? Or is there an alternate method to provide a
    smaller archive?

    Thanks, and keep up the good work.

    Chris Taylor

    chris@phi-web.co.uk - The guy with the PS2 Webserver :)
    --
    My other first post is car post.
  24. In that case... by commodoresloat · · Score: 2
    Now for my latest invention.... hamburger earmuffs!!

    Oh, damn.... it's already been done.

  25. perhaps by martissimo · · Score: 2

    Of course this has uses on some levels. Will a bank of PS2's ever be the backbone of EBAY, NO. But it can be a useful hobby/ learning tool for someone who happens to already own a PS2 and not a computer.


    but for the cost of Sony's Linux kit and a PS2, you could certainly have much more computing power than a 300 MHZ processor if ya knew *anything* about computers...

    And if ya didnt know anything about computers, would ya be running Linux on a PS2?

  26. i look forward to sony's reaction when.... by Miska · · Score: 2, Funny

    they discover the first ps2 mp3/divX site

    .

    --
    -
  27. Irony by Kirby-meister · · Score: 5, Insightful

    It's kind of funny - Sony, known for its extremely successful Playstation, wants the PS2 to be more like a PC. Microsoft, known just about only in computers, wants the Xbox to be seen only as a gaming console (and/or "entertainment hub").

    Sony distributes and supports Linux for its systems, while Microsoft is doing everything they can to stop (non-Microsoft-licensed, therefore not profiting MS directly) PC software from running on their gaming-console/entertainment-hub.

    "Hobbyists" port and program software for the PS2, while "hackers" port and program software for the Xbox. (actually I'm pretty sure hackers are doing/have done more to the PS2 right now)

    Sony's plan is probably to attack MS in the computer market, what with recent announcements of OS experience they've gained from the Linux project and the Vaio and the handheld Clie and the such. Microsoft's plan is to penetrate the entertainment market, a place where Sony, ironically (or coincidentally?), happens to have a strong foothold in (although I prefer Panasonic, myself, but my friend's Sony VVega is nothing to scoff at).

    And through this all, Nintendo sits, GameCube in hand, planning on how to continue in the console gaming market. With the recent retirement of Nintendo mastermind and uber-zombie President Hiroshi Yamauchi, and the recent announcements of the company focusing more on software than hardware, it's anybody's guess as to what is going on at Nintendo of Japan headquarters.

    (Don't even begin on the handheld gaming market - Nintendo owned that market for 10 years with a handheld that could only do spinach green and black sprites, and GBA will probably last at least another 5 on its own).

  28. moving parts that don't break by valmont · · Score: 2

    depending on your budget, if you want reliable hardware with moving parts which do not break, you might wanna look at refurbed or new apple hardware.

    Back in early '96 i bought Apple's first "PCI Mac", the PowerPC 7500/100. The thing has been on 24/7 every single day for the last 6 years and has run a slew of operating systems, and i have crashed the thing many, many times while never corrupting a single hard drive.

    While in college, i used it as a TV, video capture platform, web surfing, web serving, web authoring, C programming tool.

    Then it was used for about 3 years as a dedicated web server on a T1 connection, serving filemaker-pro-db/lasso/webstar-driven sites for multiple clients until they'd migrate to their own boxes.

    And for the last two years it has been happily sitting on my kitchen table running LinuxPPC Q4 2000 24/7 serving some hobby sites of mine off of my DSL connection

    I've upgraded its processor to a 250mhz G3, added an Ultra2 LVD SCSI card, a 9gig 8.5ms 10,000 rpm IBM cheetah hard drive, boosted the ram to 200MB (could be up to 1gig in theory) and other nifty things.

    I've been opening the case and cleaning its guts about once every 2 years whenever i fellt the need to mess with it.

    in any case, it has been my experience that apple hardware just doesn't break, no matter how much i fuck with it. I still see 5 year-old apple laptops still running MacOS 8.5 and allowing you to surf the 'net. Sure the battery no-longer holds a charge, which is to be expected, but once the power supply is plugged-in, they still work.

    and i bet you could get an old 100mhz PPC 7500 CPU for around $300.

    1. Re:moving parts that don't break by valmont · · Score: 2
      no problem! heh :)

  29. Re:I was considering getting a kit by valmont · · Score: 2


    i have no idea what you look like but ... marry me!

  30. Imagine a ... by valmont · · Score: 3, Funny
    ... whole clumsily-arranged, ill-balanced, awkwardly-vertical, babel-tower-defying, sky-scraping beowulf cluster of those!

  31. Re:Smile! by damiam · · Score: 2

    I agree with the AC. It wasn't funny.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  32. cross-compiling by kevin+lyda · · Score: 2

    i'm curious why he doesn't just cross compile the code from a bigger box?

    --
    US Citizen living abroad? Register to vote!
  33. Re:Exactly! by 00_NOP · · Score: 3

    Most console hardware blows chunks.

    This, if I may be so bold, is total garbage. Consoles may not have much hardware, but what they do have smashes all those crappy ia32 machines - armed with a hardware mindset that even Bill Gates was moved to call "brain dead" a decade and half ago (well, almost - 12, 15, who's counting?) - that we are all using into outer space.

    $50 buys you a Dreamcast - better graphics than a PCI graphics card for the same price.

  34. Huh? by detritus. · · Score: 3, Informative

    Uh, Apache (older version) was already ported to the PS2 with the PS2 Linux 1.0 distribution. IMHO, I don't see what the big deal is, especially being that the source doesn't require any modification to compile on the PS2.

    As far as i'm concerned, i'd rather hear about developers porting over applications/libraries/new linux kernels which need modification to run on the PS2 architecture.

  35. Nope. by mindstrm · · Score: 2

    Costa Rica.

    I realized I was thinking of the Xbox.. .a Playstation is only about $500.

    If there's one thing that sucks to buy here it's electronics. Everyone just buys them from the states and sends them here.. way cheaper. It's rather silly.

  36. Re:Exactly! by Cryptnotic · · Score: 3

    Dreamcast ruled. They had better graphics than PS2 over a year before PS2 was released. These graphics included antialiasing and Z-buffering, both of which Sony still doesn't have. Plus, they had an innovative controller that both Microsoft and Nintendo have copied. Sega, with the Dreamcast, is also the first company to ship an internet-ready console to every customer. Each and every Dreamcast came with a modem (well, except for some non-Japan Asian model Dreamcasts that came without a modem).

    Only now, 2 years later, has Sony figured out how to graft on a VGA interface to its PS2. And that VGA interface requires rewriting software and will only work with Sync-On-Green monitors.

    Sega was so far ahead of its time, it's not even funny.

    --
    My other first post is car post.
  37. Re:I second that emotion by valmont · · Score: 2
    yea those xserves sure look yummy. you should check out Steve Jobs keynote on those babies at his developers' conference, *very* interesting stuff, even if you manage to stay away from the reality distortion field.

    back in like '93 i remember visiting some french local cable channel broadcasting company who would constantly rotate local advertising "slides" thru their channel, which would be exclusively handled 24/7/365 by a couple of those early lower-end "AV" macs using Macromedia Director scheduled presentations. one box was like for development/staging/testing, the other one was the live box. the tech guy there told us apple wasn't too thrilled they'd put their hardware thru that kind of stress, but that the thing had been doing just fine for like a year and still not flinching.

    Shit man '93 was like still early versions of "System 7". heh. Back during the days of "windows 3.1", to put things in perspective.