Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> How To Run A Webserver On Darwin ?
the empty calori...
post Oct 14 2005, 09:51 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 254
Joined: 28-December 04
Member No.: 1,884



Okay, I am wanting to create a webserver on an x86 (or PPC) machine running Darwin.
I have never made a webserver before, how would I go about this?

This post has been edited by microscopic^earthling: Nov 4 2005, 11:42 AM
Go to the top of the page
 
+Quote Post
yordan
post Oct 14 2005, 10:24 PM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,886
Joined: 16-August 05
Member No.: 7,896



QUOTE
I have never made a webserver before, how would I go about this?

I also would like to create a web server. Unfortunately I did not find a couple of free hours for that. But I have a couple of ides of what I would like to do, and how I would perform it.
If you have no AIX system (waf, waf, waf...) first install Linux, let's say Mandrake, on your X86 machine. I think that Mandrake installs the webserver by itself, if you choose another distro go on the web and look for a webserver environment, i would say Apache or Jonas.
Then install your database, I would say that you should choose mysql first.
Then, add phpbb2, a photo gallery, etc...
Simply have a look at astahost, look at your cpanel, they say where most of the software's main site are, go there and install everything.
Simply look what astahost people did. And if you work hard, you will be able to do almost as good as they did.
And if you don't have a lot of time or don't want to spend so much time, do just like me, simply create your website on the ready-for-use astahost site ! Just believe me, ask a provider to host your server is far simpler than making your own one!
Yordan
Go to the top of the page
 
+Quote Post
qwijibow
post Oct 16 2005, 04:32 PM
Post #3


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



lol, i love this...

question:
QUOTE
Okay, I am wanting to create a webserver on an x86 (or PPC) machine running Darwin.


and the first answer given is to
QUOTE
first install Linux,


Dont worry, linux isnt the only operating system, Darwin will work fine.
I would recopmend risisting the usual newbie tempations to install Apache2.
for your first web-server try Lighttpd http://www.lighttpd.net/

there are no pre-compiled binaries for Darwin, so you woul need to compile yourself the usual way.

configureing lighttpd is very easy, and its default asettings are also the most secure (unlike apache)

By default, lighttpd is a simple httpd server, bt can also do some more complicated things like cgi-scripts etc etc.

once its running, making your web-site is as simple as saving your html files to /var/www/htdocs/

Go to the top of the page
 
+Quote Post
yordan
post Oct 16 2005, 10:05 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,886
Joined: 16-August 05
Member No.: 7,896



QUOTE

Nice, I will give lighttpd a try.
I was rather disappointed by httpdlite, but it's quite a different story.
By the way, what is Darwin ? Is it a kind of Unix ?
Go to the top of the page
 
+Quote Post
qwijibow
post Oct 18 2005, 12:06 AM
Post #5


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



Darwin is considered the 4th BSD.

Darwin is basically MacOSX with X11 instead of Aqua. The open source components of the Macintosh.

Go to the top of the page
 
+Quote Post
yordan
post Oct 18 2005, 11:29 AM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,886
Joined: 16-August 05
Member No.: 7,896



QUOTE
Darwin is considered the 4th BSD.

Oh, I see.
So it will look familiar for Unix people as well as for Mac people. But it will not be purely linux, nor purely System V, it will look closer to a BSD system.
Go to the top of the page
 
+Quote Post
qwijibow
post Oct 23 2005, 03:53 PM
Post #7


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



its got nothing to do with linux.

Its based on FreeBSD, but with a re-written Open Kernel used in MacOSX.
and without Aqua.

to the best of my knoledge anyway.
Go to the top of the page
 
+Quote Post
the empty calori...
post Nov 2 2005, 06:50 AM
Post #8


Premium Member
Group Icon

Group: Members
Posts: 254
Joined: 28-December 04
Member No.: 1,884



Good, good...I will hav to give this a try.. Also, I've wondered, what about if I want to serve FTP as well, would lighttpd also serve FTP, or is there something else I would want to use as well? Figure maybe I can use it like a portable/public access hard drive.
Go to the top of the page
 
+Quote Post
yordan
post Nov 2 2005, 09:54 PM
Post #9


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,886
Joined: 16-August 05
Member No.: 7,896



QUOTE
lighttpd

with such a name, it should be a httpd... serving only http.
If you want to serve ftp, you will need to have a ftp server.
I know it's not a Linux, however, all the standard Unix systems (including probably freeBSD) have an embedded ftp server, just as Linux does.
So, first look if darwin doesn't happen to simply have an embedde auto-installed ftp server.
Regards
Yordan
Go to the top of the page
 
+Quote Post
the empty calori...
post Nov 4 2005, 10:50 AM
Post #10


Premium Member
Group Icon

Group: Members
Posts: 254
Joined: 28-December 04
Member No.: 1,884



I just thought of something...I do have two running darwin-x86 systems that already have httpd...how would i use that?
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Smallest Webserver(14)
  2. Webserver(5)
  3. The Stella Awards - As Good As The Darwin Awards(6)
  4. Run A Webserver From Usb-stick On Windows Guide(2)
  5. Hosting A Webserver On Your Computer, If You Have A Dynamic Ip(2)
  6. Port Forwarding For Webservers(0)
  7. Dpserver(0)


 



- Lo-Fi Version Time is now: 7th July 2008 - 12:19 AM