$ thought | blog

Place to serialize my thoughts…

Archive for the ‘Ubuntu’ tag

Linux Myth Buster: What is difference in Server and Desktop Linux?

with 2 comments

Disclaimer: This article is too long! This was done to explain lots of historical information which lead to this question. If you are not interested, you can skip to ‘Actual answer begins here…’ section.

Why this question is here?

Linux has been part of my technical life since 2001. I have seen Red Hat Linux 6.x early releases and fall of Red Hat Linux. Rise of Fedora and birth of Ubuntu. This whole journey is very interesting and enjoying in its own way. Linux is today having a position which is not dominating but surely challenging! Linux is not having aim to replace every desktop in the world (… some might say it just can’t!) but surely its putting a smile on people’s faces who have used it for a while. You can’t just put Linux out of the door and wait to disappear, the small tiny tux is now having a great foot tapping parade of people and organizations which will do whatever they need to make this tux growing!

I have been asked a question many times by my friends and colleagues who are new to Linux or just want to learn Linux. They started the question with, “Sachin, I have a stupid question…” this was always one of questions which I answered very religiously. The only reason I never made any nonsense while answering this question was, they were new to Linux and slight wrong answer might put a wrong foundation about Linux Information in their minds. My friend Ashish suggested me to write a blog post about the same so that, people can get right information.

The question is not at all stupid! In fact, most of people don't know the answer and they hesitate to ask this. I would request you to read the whole post and if you have any suggestion or question feel free to post a comment about it.

In technical terms, Linux is simply a ~2 MB sized binary file which has all (…almost all) the stuff necessary to manage file systems, networks, processes etc. Usually Mandrake, SuSE, Fedora, RHEL and all other popular Linux flavors contain this ~2MB binary acting as heart and soul of their distribution. Remember the italicized word in last sentence; we are going to come back to that word shortly. You can obtain Linux in pure form from Kernel distribution site. That’s most pure and raw form of Linux. If you follow all the instructions and put lots of efforts (although targeted audience is not supposed to do that) you might get a text based console at the max!

Remember the word we italicized? Distribution, yes that is a very important term in this world! Since, Linux started way back in 90s and it was free, people started experimenting with it. People wrote tons of applications which could be run on this robust and naive platform. Most of the applications were coming out of university students, startups, research laboratories and programmers who are dying to try new things! This created a huge sea of application, system, utility software which was unmanageable. Clearly, an effort to make Linux easily adoptable was necessary. This problem lead to a solution called as Distribution. The idea was great because of its simplicity. People started delivering Linux along with few must have software nicely wrapped around with a GUI and installer. This contained system, utility, programming, internet and other software categories. A beginner had all things nicely wrapped which were needed a beginner. Soon, the distribution size exploded from few hundred megabytes to 4-5 gigabytes and the size was growing day by day. Tons of software was coming as part of default bundle which was not at all needed by a normal user. To address this chaos and make Linux more targeted to audience, people started creating their own customized distributions! This lead to Live CD, business, small and large sized distributions! Each distribution was targeted for an audience with considering their need of software and applications. Nothing got changed; still a nice GUI and rock solid base functionality was supported. Each distribution (a.k.a. distro) was addressing a very specific problem. There are around 1000+ distributions available to date at the time of writing this post, refer to (distrowatch).

Actual answer begins here…

Linux was really easy to configure and creating a distribution was real fun, which lead to “Problem of Many”. There were unlimited options and unlimited configurations! This created a great amount of chaos and making impossible for new comers to figure out which one of these 1000+ distributions they can use for day-to-day use or what they should use to install a Linux server. When, any organization was supposed to install a Linux powered web server, a ‘Super’ developer used to spend around a week to either create a really custom version of Linux. This used to be based upon some out-of-box distribution which matches close to their criteria. If this doesn't work out well, organization will pay hefty amount of money to purchase Enterprise Linux from vendors like Red Hat or SuSE. Commercial software vendor were giving 24x7 supports and other business terms which were comforting to organization which were new to Linux. Today or another day this was supposed to happen. (Let’s leave the topic here as this might be a good discussion over Slashdot)

In simple terms, Linux is a simple binary. Distributions are nothing but customized suite of application, system software which is solving some business, personal computing problem for most of the cases in ‘out-of-box’ fashion. Server and Desktop versions of distributions are nothing but different set of software packaged together. Yes, that simple it is! Just another distribution might be called Server Linux and others might be called different names as well.

Ubuntu, Kubuntu are today’s most popular Desktop versions of Linux distributions (from my perspective). Ubuntu as well releases a server distribution with same quality of bundling and support.

What can I expect from a Desktop distribution?

You can expect all the functions (perhaps much more than that) supported by a Installed and Configured Standard Windows box from a Linux Desktop distribution. This includes E-mail client, Internet Browser (Mozilla Firefox etc.), Media Player, Media Browser, Games (basic), Network support, Office and Productivity suite etc. There are tons of other features coming which you just need to explore.

What can I expect from a Server distribution?

If you are planning to host a web server which can run database applications written in PHP or Ruby then perhaps this is the distribution you are looking for. This includes Telnet, SSH, FTP, Web and other remote servers. This includes few server applications which are normally needed by web administrators. In all normal cases you don’t need this distribution as you don’t need most of the applications in your day-to-day basis unless you are geek.

I am still confused, which one is right for me today? Will I miss something if I choose a wrong distribution today?

Hell No! There is no such phrase called as ‘can’t happen’ in Linux world! If you choose a desktop or server or for that matter any distribution, you will be able to install any application which can run on Linux. Let us take example of standard desktop distribution of Ubuntu. If you installed the standard 1-CD installation and then want to host a web server, please go ahead. You can always find very nice and friendly applications like ‘Apt’ and ‘Package Manager’ which will help you to install web servers, database server, FTP or SSH servers without typing a single command! You can just click the mouse, make sure you are connected to internet and choose any software from repository of ~25000 applications available for Ubuntu! Doesn’t it sound simple and great? So there is no problem in beginning with any distribution of your choice. There might be few distributions which may not support ‘Apt’ but they might be having some parallel application which does the same job. SuSE have ‘yum’, Red Hat has ‘up2date’ and others have similar tools. You just need to find tool which runs in your distribution.

Thank you for reading a lengthy post. Please help me if there is anything which needs rectification.

Written by Sachin

August 21st, 2007 at 9:06 pm

Posted in Articles

Tagged with , ,

Feature Request: Ubuntu

with 5 comments

I have been using Kubuntu 7.04 (Feisty) from past month and it was unbelievable experience. I have used Windows for using Lotus Notes and Google Talk only. KDE is becoming better day by day. WPA integration in Kubuntu with support for latest drivers for NVidia was a great plus in Feisty release.
I think, if I could run Google Talk somehow in Linux then that will be last nail in my Windows installation and the next day I will format my hard drive to have only one OS. (No need to mention that will be Kubuntu!)

Before that happens, I have one more feature request for Kubuntu / Ubuntu. I have spent lots of time in customizing my installation. Drivers, Beryl, Themes, Development programs and other small stuff. All the programs were installed on ad-hoc basis or when I needed them. I don't want to go through the same cycle again. It will be great to have installation persistence utility. This utility should do following:

  • Remember all the package names which I installed using apt. This should be fairly small file having hundreds of entries of softwares.
  • I don't want to take backup of installed packages /usr or /opt on my external hard drives etc. because if next time I go for 64 bit installation (currently I have 32 bit installation) then all my backup won't work.
  • When next time, I install a fresh system, I should be able to give this configuration file generated by installation persistence utility. The utility should be intelligent enough to pull all the packages to their latest version and make my installation up-to-date. This way, I don't need to repeat the same exercise I did in the last installation.

I know that, with few shell scripts that would have been easily possible, but I don't want to write a custom shell script for that. I want this should be part of my Ubuntu installation. This way, I don't need to port my shell scripts.

Once the basic infrastructure is in place, I would love to see more features like migration of documents and data files. Applying desktop and theme settings on fresh desktop etc. This way, the distribution installation and switches will become very simple.

Thank you Kubuntu!

Written by Sachin

July 11th, 2007 at 9:12 am

Posted in Developer,Programming,Ubuntu

Tagged with ,

Kubuntu 7.04 Feisty Fawn – Getting right resolution

with 4 comments

Yesterday, on first day of vacation, I installed Kubuntu Feisty Fawn release. This time, I wanted to try something else than Ubuntu. I faced lots of usability issues with Ubuntu. It had some problems in auto detecting my network settings. I use my laptop in various network environments, office, home and public places. I had to every time select the proper network adapter to get running. I never figured out whether there is some other way to do things but out-of-box configuration didn't allow that. There were similar problem on other grounds too.

Kubuntu was amazing in these regards, I plugged my WD passport drive and immediately it shown me the dialog (like windows :) ) to open or view pictures. I liked the way they picked up good features of windows. When I plugged in my network cable, it automatically configured itself to proper device and I had to do nothing except waiting for couple of seconds! So my first impressions of Kubuntu are really good!

I faced only one issue with Kubuntu, getting 1440x990 resolution my Dell Latitude D620. Laptop configuration is as follows:
* Core 2 Duo T7200 CPU (2 64-bit 2.00 GHz processors)
* WXGA+ screen, 1440*900
* NVidia Quadro 110M Turbo Cache
* 1GB RAM
* Integrated bluetooth, usual ports and networking (Wi-Fi etc.)

The problem I faced was, NVidia Quadro 110M has 64 MB onboard memory and it can use shared memory upto 256 MB. Somehow the out-of-box driver with Kubuntu was not able to allocated shared memory which was forcing me to use lower resolution than 1440x900. I hate that resolution as there comes some weird shadow effect around text characters and even the desktop seems to be skewed a little bit.

I was also facing problem in having widescreen display and was forced to use 4:3 display. I tried to google for the problem but no luck there too. I searched for Adept Installer for "nvidia" and I could see two packages in the "System" category.

Adept Installer Nvidia Snapshot

I selected the second binary driver (as shown in the image) and applied the changes. Later, I restarted the X-Server by (Ctrl+Alt+Bksp) and I could see the NVidia logo which was sign that the driver is in action. After login, I could go to "System Settings" and in administrator mode, I set my monitor to be "16:9". Then I restarted the X server again. Later I could set the proper resolution to 1440x900 and it needed another restart of X server.

There might be some optimal way of doing that in one restart (e.g. editing the xorg.conf file manually) but I prefer to use wizards whenever possible to avoid syntax errors in the configuration files.

Finally I can use my laptop in 1440x900 resolution. :)

Written by Sachin

April 24th, 2007 at 11:39 am

Posted in Developer,Ubuntu

Tagged with , ,

What Ubuntu User say?

with 2 comments

I was on vacation for last few days. :) I got chance to talk to once of my friend who is using Ubuntu on his laptop. He was using Breezy Badger distribution and the laptop was little old and upgraded one. I was curious to have a talk with him regarding his suggestion / feedback.

He was also going through same cycle of happiness which I experienced before! What made me more curious was, he was using a 3-4 years old laptop which was upgraded in terms of RAM and other hardware. That was IBM Thinkpad with earlier Pentium 4 processors. He said, he could run it smoothly and there were no hardware issues at all! He could install everything very easily and comfortably. That is a reason for toast!

He was happy with performance and also features. I would like to mention his one quote, which everybody will agree... "It is better than Windows XP!"

Written by Sachin

June 27th, 2006 at 4:04 pm

Posted in Personal,Ubuntu

Tagged with , ,

Ubuntu – Painful re-install

with 5 comments

I installed ubuntu 6.06 LTS on my machine. I was on the ride of happiness :) I liked everything, right from the starting sound to shutting down screen! Some notable features are -

  • Package manager - This really helps. You can choose which packages / libraries to download / install and just download them. That really gives you lot of choice to work with.
  • Device support - I experienced the seamless operation of many devices. My thumb-drive and digital camera were instantly installed and ready to use. No more website searching for drivers.
  • DVD, Mp3 & other playback - Though I was required to download libraries to run non-free media formats, but that's OK. I could finally listen to my songs while I work ;)

Read the rest of this entry »

Written by Sachin

June 9th, 2006 at 11:05 pm

Posted in Ubuntu

Tagged with , ,