Windows & Linux for Workstation & Servers

Windows is generally perceived as being easier to use and administer and mostly with good reason. Most companies choose Windows as their desktop environment and often for their intranet servers too. And yet some companies selected Linux as the desktop and server platform for their massive infrastructure upgrade. In the following paragraphs I will explain the rationale for the decision.

As Sever Machines: Linux VS Windows

For Example: we have embarked on a massive upgrade of our infrastructure with the addition of several 24/7 servers with RAID 1, QA automation machines, order processing machine and redundant internet connections. Each server machine will have RAID 1 and also have hot backup. The choice was between Windows server and Linux. Choose Linux for our server machines for the following reasons:

1. Web server runs on Linux for strategic and security reasons. It only makes sense to have the same server operating system and environment here to simplify maintenance.

2. There should have two machine (one for hot backup) to provide internet connection. The same machine will also host DNS server, Web server and database (for the applications). In short we should make it a near duplicate of our web server machine. The idea is to be able to use this machine to act as a emergency backup of our live server(s). Both the machines (files and database) will be synched several times a day. This machine can also act as backup DNS provider. However this cannot be used to distribute load under normal situations because the upload bandwidth is low as is normal in ADSL and Cable connections. Even then this should provide me with some peace of mind. It only makes sense to have similar configurations in this machine as our current web server machine(s).

3. High cost of Windows server machines for multiple licenses and complicated licensing schemes. The cost of procuring and ensuring that we are compliant is very high for small organizations, not simply in dollar value but also in terms of resource allocation. They will use commodity hardware and they will have to replace them from time to time. However, with Linux they can keep several hot backups and not worry about breaking their licenses. In intend to use Fedora Core as our experience with them has been very positive.

4. RAID 1 support: Both Windows 2003 server and Linux provide software RAID 1 support and also other RAID levels. Unfortunately Windows XP Pro or Windows 2000 do not provide RAID 1 support (mirrored). You must purchase the server version. Both operating systems work with hardware RAID 1. However at this time we choose the software route as it fits well with our strategy of using commodity hardware and having spare backup machines; also it is cheaper without compromising data integrity and availability. Generally in software RAID the performance is expected to be lower. Also in Windows RAID support you will first have to install the operating system on a non-RAID device before RAID can be enabled. Linux provide all the RAID support through software and for free. Their RAID support appears more configurable and all encompassing.

5. The server applications like Apache HTTP server, Subversion, MySQL, DNS Server runs equally well on both platforms.

As Workstations: Linux VS Window

Development & QA Automation Machines

These need to be high end machine. For Example: we use a code editor for php and Eclipse IDE for Java. Both of them are available in Linux as well as Windows XP. Linux comes with Bash shell which is significantly superior to cmd prompt in terms of scripting and task automation. Java and PHP work in Linux as well as on Windows platform.

Blogging Machine

As a blogger we simply need a web browser and a convenient feed reader. There are several PHP-MySQL based feed readers which will suitably serve our requirements. Firefox works fine with Linux as well as Windows. So you see Windows do not have any advantage here.

Email

Any machines require email access. In my experiments Thunderbird came slightly ahead of Microsoft Outlook for pure email purposes especially due to built in Naive Bayesian filter and close integration with Firefox, our web browser. For additional requirements like Calendar, Sunbird is a good choice.

Security

Linux is traditionally ahead of Windows in terms of security. We can get a reasonable protection with iptables alone. ClamAV serves as a decent anti-virus solution for Linux among others. Frankly Internet Explorer will not be missed.

Office Productivity Suite

Star Office competes well against Microsoft Office in this department.

Linux lacks behind in ease of use and requires more upfront training. However the increased security, availability of software RAID 1 (mirroring) and lack of licensing hassles give it a strong advantage over Microsoft Windows. This is just my opinion.

Read More