Help - Search - Members - Calendar
Full Version: Webserver on a CD
ieXbeta Board > Tech > Developer Center
Pages: 1, 2, 3, 4
X-Box Man
Okay, this project was born today.
The idea behind it is to have a PHP enabled webserver on a CD with no install or configuration.

I suceeded huh.gif
Anyway, this version only works on windows XP at the moment, and is only for testing the idea, and it works.
ServCD.rar (2.5Mb)

I am going to develop this further, my final goal is to have the latest version pf Apache, PHP and MySQL running from the CD on all win32 Operating Systems.

The current version uses Apache 1.3.20, PHP 4.0.6 and some version of MySQL (I threw it together quickly).

Anyway, feedback would be nice, ideas and such, thanks...

PS: Anyone interested in working on this with me?
cal2002
heres an idea for ya. this runs inside Xp right? could u make the cd bootable with a version of DOS(or something like it) and just have it boot from the cd and run the server.

great job so far, very good idea
Taco Bell
That's awesome X-Box Man!!! biggrin.gif
cal2002
nevermind, got it biggrin.gif
cal2002
running to stop.bat does not shut down all of the services
X-Box Man
I know, i have yet to find a way to fix this.
jpell7
I bet you could run this on CD
http://www.analogx.com/contents/download/n...twork/sswww.htm

Just execute this on the CD and have it preset to the path to the webroot on the CDRom wink2.gif
X-Box Man
QUOTE (Taco Bell @ Apr 22 2003, 22:01)
That's awesome X-Box Man!!! biggrin.gif

Thanks Taco Bell
cal2002
QUOTE (jpell7 @ Apr 23 2003, 00:48)
I bet you could run this on CD
http://www.analogx.com/contents/download/n...twork/sswww.htm

Just execute this on the CD and have it preset to the path to the webroot on the CDRom wink2.gif

Apache, PHP and MySQL are a little more powerful. AnalogX is a great programmer. Mark Thompson is the king of making any program. biggrin.gif . sup Mark biggrin.gif
jpell7
true true, i think SimpleServer has some CGI abilities tho
Betaz
Hmm... thats a REALLY good idea... but you need to toss the seperate OS.. hmm... intersted in a partner on this project? I just got some really good ideas wink2.gif
X-Box Man
QUOTE (cal2002 @ Apr 23 2003, 01:10)
Apache, PHP and MySQL are a little more powerful.

A little laugh.gif biggrin.gif
cal2002
QUOTE (X-Box Man @ Apr 23 2003, 01:12)
QUOTE (cal2002 @ Apr 23 2003, 01:10)
Apache, PHP and MySQL are a little more powerful.

A little laugh.gif biggrin.gif

laugh.gif laugh.gif laugh.gif just a little! not much difference at all laugh.gif laugh.gif
X-Box Man
Im going to edit the config files so it writes the normal logs and such to C:/servcd/temp

Also i am going to upgrade it to the latest versions of Apache, PHP and MySQL...

Time to call an expert, DangerousDave
X-Box Man
Just got an e-mail from sourceforge, project accepted.
jpell7
Good job smile.gif
Dee
QUOTE (X-Box Man @ Apr 23 2003, 22:39)
Just got an e-mail from sourceforge, project accepted.

good job man

congrats

Dee
X-Box Man
I need to design a site for this now...
DangerousDave86
Hey hey, expert has arrived.. wink2.gif i really like the idea of this project, theres so many places u could take it.. FTP, etc.. very nice stuff smile.gif

--- Dave cool2.gif
jpell7
QUOTE (X-Box Man @ Apr 23 2003, 14:29)
I need to design a site for this now...

Xbox, I am a professional site developer (PHP, SQL, design concepts, etc), wanna work something out? PM or reply..... cool2.gif
X-Box Man
PM sent
NAAAARRRRF
let us know when theres an update

im usin the current ver right now, quickest, easiest webserver i ever "set up" (changed the port and turned it on, lol), hell i got an ibf runnin on it...

does it (or will it) support cgi?
Taco Bell
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:26)
let us know when theres an update

im usin the current ver right now, quickest, easiest webserver i ever "set up" (changed the port and turned it on, lol), hell i got an ibf runnin on it...

does it (or will it) support cgi?

Wow, that's impressive. biggrin.gif
NAAAARRRRF
QUOTE (Taco Bell @ Apr 25 2003, 11:27)
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:26)
let us know when theres an update

im usin the current ver right now, quickest, easiest webserver i ever "set up" (changed the port and turned it on, lol), hell i got an ibf runnin on it...

does it (or will it) support cgi?

Wow, that's impressive. biggrin.gif

um,...yea ok blink.gif

laugh.gif tongue.gif
Taco Bell
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:38)
QUOTE (Taco Bell @ Apr 25 2003, 11:27)
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:26)
let us know when theres an update

im usin the current ver right now, quickest, easiest webserver i ever "set up" (changed the port and turned it on, lol), hell i got an ibf runnin on it...

does it (or will it) support cgi?

Wow, that's impressive. biggrin.gif

um,...yea ok blink.gif

laugh.gif tongue.gif

I wasn't being sarcastic. I'm serious. That's great how it could be setup so easily, even to do something as complicated as IBF.
NAAAARRRRF
QUOTE (Taco Bell @ Apr 25 2003, 11:41)
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:38)
QUOTE (Taco Bell @ Apr 25 2003, 11:27)
QUOTE (NAAAARRRRF @ Apr 25 2003, 11:26)
let us know when theres an update

im usin the current ver right now, quickest, easiest webserver i ever "set up" (changed the port and turned it on, lol), hell i got an ibf runnin on it...

does it (or will it) support cgi?

Wow, that's impressive. biggrin.gif

um,...yea ok blink.gif

laugh.gif tongue.gif

I wasn't being sarcastic. I'm serious. That's great how it could be setup so easily, even to do something as complicated as IBF.

sorry i thought u were being sarcastic considering how easy they've made the ibf installation...i literally only needed to punch in the db name, user, and pass, set up an admin account (user, pass, and email), then press proceed a couple times....i got it done in the time it took a friend of mine to say (i think) "futurama's on"

how do i change the user and pass for the mysql? i did have the url to my "board" here but then i realized user: root, pass: (none) wasnt very secure, lol
DangerousDave86
when you say CGI NAAAARRRRF, you mean Perl right? i'm pretty certain it will
NAAAARRRRF
QUOTE (DangerousDave86 @ Apr 25 2003, 14:16)
when you say CGI NAAAARRRRF, you mean Perl right?  i'm pretty certain it will

yea thats what i meant...im gonna download some scripts and just see if it works, lol

anybody have like a website manager system that would work with this? (like on my last site i used cpanel and fell in love with it, but i think its only on linux based systems (and costs money))
NAAAARRRRF
also this is gonna sound like a really stupid question but how do i chmod files when they're on my actual computer? :S
Taco Bell
QUOTE (NAAAARRRRF @ Apr 25 2003, 14:35)
also this is gonna sound like a really stupid question but how do i chmod files when they're on my actual computer?  :S

The Windows equivalent to chmod is just the standard permissions settings available from the file/directory Properties.

You may be able to find a 3rd party utility out there though which works like chmod to make things more familiar to you.
X-Box Man
I pretty much threw that together in a hurry, im gonna write a small documentation for it explaining where to change all the settings and such.

But good, thanks for the feedback NAAAARRRRF, and yes i will be implimenting perl, and, i forgot to mention, it doesnt have to run from CD, can be used in the root of any drive tongue.gif
X-Box Man
You don't need to CHMOD for windows, unless you want to restrict write access for a file.
NAAAARRRRF
QUOTE (X-Box Man @ Apr 25 2003, 14:47)
I pretty much threw that together in a hurry, im gonna write a small documentation for it explaining where to change all the settings and such.

But good, thanks for the feedback NAAAARRRRF, and yes i will be implimenting perl, and, i forgot to mention, it doesnt have to run from CD, can be used in the root of any drive tongue.gif

np, and i figured out that part about not running from a cd, i got it in C:\servcd, heh

QUOTE (X-Box Man @ Apr 25 2003, 14:48)
You don't need to CHMOD for windows, unless you want to restrict write access for a file.

ok good to know

PS...i figured out how to change the port from 80, but it would b really great if i could just get around my isp's block of servers on 80...any ideas? smile.gif

edit: the ibf i set up is here... http://141.151.202.97:1338/ibf/index.php ...does it work for u? lol
madTaMsKi
QUOTE (NAAAARRRRF @ Apr 25 2003, 19:03)
the ibf i set up is here... http://141.151.202.97:1338/ibf/index.php ...does it work for u?  lol

works for me mate!

This is cool. I've just found this thread. Impressive stuff.

Well done X-Box Man, I'm impressed and will be following
this thread more closely now. smile.gif
NAAAARRRRF
QUOTE (madTaMsKi @ Apr 25 2003, 15:31)
QUOTE (NAAAARRRRF @ Apr 25 2003, 19:03)
the ibf i set up is here... http://141.151.202.97:1338/ibf/index.php ...does it work for u?  lol

works for me mate!

sweet smile.gif
cal2002
any updates for the versions of software included yet?
NAAAARRRRF
YAAAY i got perl installed myself, roflmao...its a bitch to change every .cgi file path to c:/servcd/perl/bin/perl.exe, but whatever, i got php invisionboard on it, and now old ikonboard 2.19
dbeck666
I jus wanna say WELL DONE!! I downloaded it, ran launch but it didnt do anything! so I ran the start files instead and then it worked. I had Invision board set up in like 2 minutes!
Sinbad
Awesome Job Xbox...

One request.. is it possible to make an actual loader instead of a bat file so that it loads it into the system tray, so I dont have to leave the command line open?
Its probably too much to soon tongue.gif but its my only request, other than that AWESOME!!!
Sinbad
QUOTE (NAAAARRRRF @ Apr 25 2003, 15:03)
PS...i figured out how to change the port from 80, but it would b really great if i could just get around my isp's block of servers on 80...any ideas? smile.gif

You could make a no-ip name and have it go to someother port instead of 80...

Just a suggestion...
NAAAARRRRF
QUOTE (Sinbad @ Apr 25 2003, 20:49)
QUOTE (NAAAARRRRF @ Apr 25 2003, 15:03)
PS...i figured out how to change the port from 80, but it would b really great if i could just get around my isp's block of servers on 80...any ideas? smile.gif

You could make a no-ip name and have it go to someother port instead of 80...

Just a suggestion...

good idea
Sinbad
Ok, naaaarrrrf, How did you setup IBF, when I go to the installer it says it cannot find install_templates.txt, conf_global.php, and cannot write to conf_global.php.

Edit: Those files are there so thats not the problem....

Anything you did different that I should know about?
cal2002
Here's my addition to the project. i have made an autorun application to start the server. just click one thing and it will run the batch file and bring up the would page. (btw if someone has a place i could upload an image i have a screenshot)
Sinbad
QUOTE (cal2002 @ Apr 25 2003, 21:01)
Here's my addition to the project.  i have made an autorun application to start the server.  just click one thing and it will run the batch file and bring up the would page.  (btw if someone has a place i could upload an image i have a screenshot)

PM sent!

Cal2002's Screen Shot:
NAAAARRRRF
QUOTE (Sinbad @ Apr 25 2003, 21:00)
Ok, naaaarrrrf, How did you setup IBF, when I go to the installer it says it cannot find install_templates.txt, conf_global.php, and cannot write to conf_global.php.

Edit: Those files are there so thats not the problem....

Anything you did different that I should know about?

hm...well 1st make sure conf_global isnt read only...then maybe restart the server (i had ibf crap out on me earlier with some weird mysql error and restarting apache and mysql fixed it)
cal2002
QUOTE (Sinbad @ Apr 26 2003, 01:04)
QUOTE (cal2002 @ Apr 25 2003, 21:01)
Here's my addition to the project.  i have made an autorun application to start the server.  just click one thing and it will run the batch file and bring up the would page.  (btw if someone has a place i could upload an image i have a screenshot)

PM sent!

e-mail sent biggrin.gif
NAAAARRRRF
ok is http://naaaarrrrf.no-ip.com:1338/ibf/index.php or http://naaaarrrrf.no-ip.com/ibf/index.php working for any of u? cuz it didnt seem to take for me :S
Sinbad
First one did, second one didnt...
DarkSoft
The first link worked for me.
NAAAARRRRF
QUOTE (Sinbad @ Apr 25 2003, 21:12)
First one did, second one didnt...

i cant even seem to connect with THAT one, let alone the other 1...i put the other 1 up as a just in case the 1st 1 didnt work, lol

edit: seems to work now...now to figure out how to point http://naaaarrrrf.no-ip.com/ibf/index.php (WITHOUT the port specified) to a different port on my server
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.