Can Haiku be used on web server instead of desktop usage?

Hello,
Can Haiku be used on web server instead of desktop usage?
Just like window server 2012?
Regards, Heather

1 Like

Please do not compare Windows to the Haiku OS! In short, they are completely different from the core up and from a philosophical stance as well.

That being said, I do not believe Haiku can be used as one similar to Ubuntu Server’s default setup of a CLI environment only as it is meant to primarily be a minimalistic, unified, GUI-oriented system. I mention this because WS allows for a similar setup should the webmaster/admin/etc. want to do so. And quite frankly, I do not see Haiku as being stable enough to handle the I/O of a functioning, stable workstation or server environment at this time that you would want to host a website or an Intranet network off of as it is still in the development/pre-release stage (the release notes even give a cautionary note of sorts). But the above-mentioned factor depends, of course, on the hardware you’re intending to run it on. And while anything from a custom 32-bit Arduino conglomeration to a full 64-bit Xeon-powered server blade stack can power a server, I’d highly advise that in the 21st century, it’d be 64-bit for varying reasons I won’t detail now; I mention this as a factor as well because while there are x86_64 Nightlies of Haiku that exist, I do not honestly believe them to be ready for the load a server would require. It is, of course, worth a try and I’d definitely say it is possible.

There are apps you can use on Haiku, past and present, to put up a cheap server if you wanted to, or better yet, just compile the latest tarballs for Apache, etc. yourself to stay current and use the terminal to manage your new configuration if you believe your OS can take the load well–you don’t want to have a lot of downtime. So, in summary, it’s not totally recommended but it’s doable, Haiku’s not a final-release-ready system just yet (hopefully the team will get there soon), and again, it’s NOT WS2012 (which, imho, is the worst one to compare Haiku to, actually… if you’re going to run that Redmond ilk, consider WS2012R2 instead or downgrade to WS2008R2).

And I have to, out of good conscience, mention whether the team/community will hate me for this or not, that Haiku doesn’t have a built-in firewall at the moment. So if you do decide to run a server with it, make sure you have a hardware-based firewall to sub for it, or create a custom set of rules yourself.

Good luck; I hope you found this useful in your quest!

Yes. Haiku makes very reliable Samba server and Cherokee server.

Only problem is with hard links.

Sincerely,

Thomas Rolle

– Because that is way I rolle.

This won post twice.

Haiku is envisioned to be used as a desktop or laptop OS. For that reason, the development is focused on providing a fast and simple desktop. The kernel is tuned for desktop usage scenarios in those cases where interactivity and processing are a trade-off.

There are other OSes that are intended for use in a server environment. Windows Server, BSD and Solaris are a few which are coded with the main expectation that they are serving data on a network. You might find that those will perform better for those usage cases as a result.

Hi Heather,

yes you can use haiku as a simple web server.
https://www.haiku-os.org/docs/userguide/en/applications/poorman.html

This said it means a really simple server, no php no mysql and so on.

There is a apacheserver, php and mysql port at haikuware (for the alpha 4 version)
http://www.haikuware.com/directory/view-details/internet-network/servers/apache/139-php/535-mysql/557-rc-bundle

Also so its possible to use Haiku as a web server,it dont support stuff wich you want to have for a productive enivorment.
e.g. a raid system or so.

1 Like

[quote=apgreimann]
And I have to, out of good conscience, mention whether the team/community will hate me for this or not, that Haiku doesn’t have a built-in firewall at the moment. So if you do decide to run a server with it, make sure you have a hardware-based firewall to sub for it, or create a custom set of rules yourself.

Good luck; I hope you found this useful in your quest![/quote]

:smiley: I dont think the community will hate you on this. Even the core developer discussed this on the mailing list several times
eg.: https://www.freelists.org/post/haiku-development/Security,84

topstarnetwork, also there are basic security features

I would still confirm the recommended firewall.
If you really want to go productive, A Hardware firewall is the best choice anyway, even if you are running a server on a nother systems like linux, windows and so on.