954,170 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

linux or windows?

hello,
im sorta new to building web servers. i have a couple of domains and i would like to build my won web server...so i can host my websites from home...i want to start by asking what people would recomment using lynux or windows server 2003.....im gonna be running a classified php type sites and i guess i need to know everything there is to make it all work....starting from like just purchasing a depp poweredge or something.....every piece of advice is greatly appretiated
Thank You

achevchenko
Newbie Poster
1 post since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

Unless you want to get super crazy with performance down to the whatever smallest amount possible, PHP will run on both Windows and the Linux operating systems. Everyone has an opinion about which server environment is better. That being said, I would think that your decision would come down to which of those two choices you're going to be more comfortable administrating. Are you happier with the point-and-click or with typing instructions at a command prompt?

Bill

BillBrown
Junior Poster in Training
61 posts since Dec 2006
Reputation Points: 10
Solved Threads: 2
 

who said linux cannot be point-and-click?

http://howtoforge.com/perfect-server-ubuntu8.04-lts

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

Nobody said can't be. :-) If you'd like to use the GUI, most current distributions, including (K)Ubuntu, offer a grand assortment of of GUI administration tools ranging from user management to configuring daemon runtime configuration.

To cut down on disk and resource usage however, sometimes a server's administrator will choose to not install the GUI environment, instead choosing to edit config files and such manually from a command prompt.

Bill

BillBrown
Junior Poster in Training
61 posts since Dec 2006
Reputation Points: 10
Solved Threads: 2
 

It's all about what you're comfortable with!

Linux can be point-and-click, or you can do it all at command line. I'll also say that if you're running Linux as a web server (with php/mysql/whatever) with light to medium traffic, hardware specs aren't really an issue (I mention this since you were talking about purchasing a server). I have a colocated Linux server running ~70 domains on a Pentium 3 with 512 MB of RAM :) That includes web traffic (php/perl/mysql/etc) email, ftp, irc, and shell (for trusted users) services!

Windows offers the point and click interface, true, but the way IIS works isn't that intuitive to me. But if that's what you're familiar with, I'd say go for it. For the application that it sounds like you're talking about, though, I think Linux offers more "bang for the buck".

Hope this helps!
-G

Gromit
Posting Whiz in Training
212 posts since Sep 2008
Reputation Points: 47
Solved Threads: 31
 

Couldn't agree more. Thanks Gromit. :-)

BillBrown
Junior Poster in Training
61 posts since Dec 2006
Reputation Points: 10
Solved Threads: 2
 

How about performance???
As far as desktops go, Windows is top notch compared to all other OS's on the planet. But, when it comes to web-servers, does Linux or some Unix version leave Windows in its dust?

michinobu_zoned
Light Poster
44 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Windows Server is a lot more expensive. And its web edition sucks. Go for standard edition, but like I said, it costs a lot.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 
How about performance??? As far as desktops go, Windows is top notch compared to all other OS's on the planet. But, when it comes to web-servers, does Linux or some Unix version leave Windows in its dust?

Most Linux servers leave Windows IIS in its dust. If you need to run Windows, try using Apache instead of IIS. Apache is free, fast and typically deals with the loads better than IIS would.

The server hardware will be much cheaper for a Linux environment because it uses less RAM, CPU etc to get the same results as a more expensive server running Windows. Linux was more or less developed for being servers whereas it seems like more of an afterthought for Microsoft.

SevenL
Newbie Poster
5 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

Windows server 2008 is actually really really fast

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

Really? I haven't played with Server 2008. I take it that it was written from the ground up?

SevenL
Newbie Poster
5 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

The networking stack was. The 64 bit edition also includes HyperV - which is like Xen is on linux.

2008s file transfer speed is significantly faster, specifically with windows vista and IIS seems to be much more scalable.

On my network file transfers between Vista SP1 and server 2008 were about 20+ times faster, making loading roaming profiles etc.... much better.

Its also much much more secure by default and has better hardware support, a nice scriptable shell akin to bash, a modular OS structure, and hot patching.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

1. hyperV is very far from Xen
2. scriptable powershell is only available on the full version, none on the core version
3. transfer speeds are the same as before, the bottleneck is as usual - bandwidth and disk access times

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

The core version is designed for remote management hence no powershell

secondly, transfer rate is faster if client and server both support remote differential compression, which speeds up replication and profile syncs significantly

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

no powershell in core is due to the impossibility of installing .net framework.

transfer rates are not faster, profile sync algorithm is improved to transfer less. these are different things.

try to transfer large files, or use ping -l for large icmp packet transfer to check for differences

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

GNU/Linux vs Windows?

It's depend on your purpose with your computer. If you would like build up a stable good server from your machine GNU/Linux can be a good choice for you. If you are in an office and would like setup an OS for your employee M$ Windows is better. In fact according to the statistic of netcraft dot com the operation system of server machines in the top most cases is the GNU/Linux.

hotelaudit
Newbie Poster
16 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 
Windows server 2008 is actually really really fast


You're right, I keep telling every body what's been written in my textbook, that Windows is proven to outperform everyone else in terms of throughput and response time in interactive systems.
For one, Windows implements some microkernel designs (ideal for webservers) whereas Linux is strictly monolithic (nicknamed "the Big Mess"). And, everything gets done faster with Windows than with Linux. In terms of open-source software, Linux isn't that great either, it's just much over-hyped. Solaris has also been proven to outperform Linux in terms of speed as well, and is actually POSIX-compliant - making it a UNIX system. Hell, even Windows comes closer than Linux to being a UNIX system using Interix. And, Open Solaris is open source and free so you can use it on your cheap web server without having to spend a dime!

I myself, use Linux for programming and to get away from Windows because much of the free opensource software out there doesn't run on Solaris. And, rather than scratching my head to figure out how to get it to work on Solaris (also a common problem on Linux) I just stick with a system which already works. It's not that I hate Linux or think it's a terrible system, it's just that it's over-hyped (much like those mac computers). Like, the mass populace are going to immediately cling to something, never willing to explore anything else, while all the Linux-fanatics spout their propaganda, preventing any up and coming mind which is willing to explore other options, from ever exploring anything else.

michinobu_zoned
Light Poster
44 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 
You're right, I keep telling every body what's been written in my textbook, that Windows is proven to outperform everyone else in terms of throughput and response time in interactive systems.


examples please? windows server systems are in most cases much slower than *nix based systems, used for the same tasks on the same hardware.
even windows native smb/cifs is outperformed by properly tuned samba on linuxFor one, Windows implements some microkernel designs (ideal for webservers) whereas Linux is strictly monolithic (nicknamed "the Big Mess").
and that is why apache is the most popular http server in the world?And, everything gets done faster with Windows than with Linux.
everything? I really find it hard to believe. I am currently working on migrating several solutions between platforms, and every time a simple bash script solves a ton of work I would have to do manually in windows, I like linux more. In terms of open-source software, Linux isn't that great either, it's just much over-hyped.
what OSS exactly aqre you talking about? because no other system has the possibility of installing hundreds of thousands OSS packages, without doing anything but a few clicks or a simple command Solaris has also been proven to outperform Linux in terms of speed as well, and is actually POSIX-compliant - making it a UNIX system.
solaris has its own issues. And, Open Solaris is open source and free so you can use it on your cheap web server without having to spend a dime!
can say the same about any linux distrowhile all the Linux-fanatics spout their propaganda, preventing any up and coming mind which is willing to explore other options, from ever exploring anything else.
like what? OS/2? VMX? Netware?

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 
and every time a simple bash script solves a ton of work I would have to do manually in windows

Um, no. I find windows systems far far easier to manage than linux systems. Also, you can get extremely good scripting using PowerShell, WMI etc..what OSS exactly aqre you talking about? because no other system has the possibility of installing hundreds of thousands OSS packages, without doing anything but a few clicks or a simple command

BSD, Opensolaris, ReactOS, list goes on...solaris has its own issues.

Like what. For server appss it seems to benchmark much higher in terms of speed.while all the Linux-fanatics spout their propaganda, preventing any up and coming mind which is willing to explore other options, from ever exploring anything else.

- like what? OS/2? VMX? Netware?

ReactOS for example.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 
Um, no. I find windows systems far far easier to manage than linux systems. Also, you can get extremely good scripting using PowerShell, WMI etc..


have you used powershell or WMI? the scripts are much longer and extremely complex. nothing easy or convenient about them, especially if you're used to bash or (just to keep things in proportion) pythonBSD, Opensolaris, ReactOS, list goes on...
I don't see anything MS made in that listLike what. For server appss it seems to benchmark much higher in terms of speed.
like compatibility with other systems, hardware issues, very basic GUI, the list goes on...ReactOS for example.
15 years in IT, and I have never seen that in production.

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: