Jump to content
xisto Community
the empty calorie

How To Run A Webserver On Darwin ?

Recommended Posts

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 Xisto, look at your cpanel, they say where most of the software's main site are, go there and install everything.
Simply look what Xisto 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 Xisto site ! Just believe me, ask a provider to host your server is far simpler than making your own one!
Yordan

Share this post


Link to post
Share on other sites

lol, i love this...

question:

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

and the first answer given is to

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/

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thats apache.see documents and other help at apache.org

Share this post


Link to post
Share on other sites

You must ask for a fixed IP address or a fixed name for your host.
No-ip.com ( http://www.noip.com/ ) provides this : you go to this site, you register, you choose a name and a password, and then they provide you with a fixed name (choose empty_calore.mytftp.com for instance) and they will give you the way for the fixed name empty_calore.mytftp.com to be always reachable, even if your dinamic IP changes. For instance, on my ftp server, I always have the same fixed name, but when I ping it the IP address changes frequently.
Just try this for fun, it is harmless.
Of course, if nobody connects to your site, after some monthes no-ip people will warn you that you have useless resources, and they will ask you to pay if you still need that unused site name.
Hope this helped.
Yordan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.