Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Photo
- - - - -

How To Run A Webserver On Darwin ?


12 replies to this topic

#1 the empty calorie

the empty calorie

    Premium Member

  • Members
  • 254 posts

Posted 14 October 2005 - 09:51 PM

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?

Edited by microscopic^earthling, 04 November 2005 - 11:42 AM.


#2 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 14 October 2005 - 10:24 PM

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

#3 qwijibow

qwijibow

    Way Out Of Control - You need a life :)

  • Members
  • 1,366 posts
  • Location:Nottingham England
  • Interests:Computer / nerd related things (who would have guessed)<br />also. the following cartoons...<br /><br />South Park<br />King of the hill<br />Family guy<br />Sponge Bob Square pants<br />Simpsons

Posted 16 October 2005 - 04:32 PM

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/

#4 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 16 October 2005 - 10:05 PM

try Lighttpd http://www.lighttpd.net/

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 ?

#5 qwijibow

qwijibow

    Way Out Of Control - You need a life :)

  • Members
  • 1,366 posts
  • Location:Nottingham England
  • Interests:Computer / nerd related things (who would have guessed)<br />also. the following cartoons...<br /><br />South Park<br />King of the hill<br />Family guy<br />Sponge Bob Square pants<br />Simpsons

Posted 18 October 2005 - 12:06 AM

Darwin is considered the 4th BSD.

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

#6 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 18 October 2005 - 11:29 AM

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.

#7 qwijibow

qwijibow

    Way Out Of Control - You need a life :)

  • Members
  • 1,366 posts
  • Location:Nottingham England
  • Interests:Computer / nerd related things (who would have guessed)<br />also. the following cartoons...<br /><br />South Park<br />King of the hill<br />Family guy<br />Sponge Bob Square pants<br />Simpsons

Posted 23 October 2005 - 03:53 PM

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.

#8 the empty calorie

the empty calorie

    Premium Member

  • Members
  • 254 posts

Posted 02 November 2005 - 06:50 AM

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.

#9 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 02 November 2005 - 09:54 PM

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

#10 the empty calorie

the empty calorie

    Premium Member

  • Members
  • 254 posts

Posted 04 November 2005 - 10:50 AM

I just thought of something...I do have two running darwin-x86 systems that already have httpd...how would i use that?

#11 qwijibow

qwijibow

    Way Out Of Control - You need a life :)

  • Members
  • 1,366 posts
  • Location:Nottingham England
  • Interests:Computer / nerd related things (who would have guessed)<br />also. the following cartoons...<br /><br />South Park<br />King of the hill<br />Family guy<br />Sponge Bob Square pants<br />Simpsons

Posted 04 November 2005 - 11:15 AM

Thats apache.

see documents and other help at apache.org

#12 the empty calorie

the empty calorie

    Premium Member

  • Members
  • 254 posts

Posted 22 November 2005 - 11:23 PM

Well, I haven't had the best of luck...there's not really a good way to access my site, because I'm using dynamic IP, and NAT I believe..Am I stuck or is there something I can do?

#13 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 23 November 2005 - 09:42 AM

You must ask for a fixed IP address or a fixed name for your host.
No-ip.com ( http://www.no-ip.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



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users