Linux Myths Debunked

23 08 2008

When it comes to Linux there are 3 4 kinds of people, those who never heard of it, those who love it, those who are afraid of it, and those who hate it and spread falsities about it. I don’t really care about the first, they probably aren’t really technologically literate anyways, as long as they have E-mail they are content. While the third  group is the result of the actions of the fourth. Let’s hit two birds with one stone shall we?
1-Linux is More Secure Because it Has A Smaller User Base

It is widely argued that Linux is more secure than Windows just because Windows is more popular, so hackers and virus coders tend to focus on the more popular platform. Actually, this is just one side of the story There are so many other things running for Linux security-wise that totally dispels this myth.

First of all, let’s face it, YOU are the weakest link in any OS. The user is the one that wreaks havoc to any OS, with ignorance or miscalculated decisions. Linux users are generally more savvy than the Windows or Mac users out there. We don’t just click on files promising us the latest Hollywood diva nude pictures. Besides, it’s normal practice that Linux users don’t run their systems as root, which is not the case with Windows, this drastically brings down the vulnerability of any system. The question now, will this be the case if Linux gains popularity and more adoption? I don’t really know, but if Linux commanded more than 90% of the market, I believe this argument would be totally false.

Linux with it’s Unix roots is built as a Network Operating System (NOS) and now advancing slowly as a Desktop OS (DOS? ironically). This simple fact helped Linux carry on the legacy of network security model of server/client-user with limited permissions. Whilst an OS like Windows was originally built as a single-user Desktop OS advancing into a NOS and adding security layers on the go.

Finally, just the fact that Linux is Open Source means that more eyeballs can see bugs and vulnerabilities making it easier to patch. Any coder in his/her mom’s basement could issue a fix for the community. It doesn’t need a big fat layer of corporate bureaucracy to issue a fix! Granted that the corporation gives the security flaw enough attention.
2-Installing Applications on Linux is Hard

Well this might have been true in the early days of Linux, but currently it can’t be farther from the truth. As a Linux user, what do I have to do to install an app? Let’s assume I want to this in a a GUI only environment (some get turned off by the mere mention of a command line, for some reason beyond me.) All I have to do is launch the graphical frontend of my package manager (think of it a big ass repository of applications stored on a server some where), then search for the app in mind. Hell if you don’t know the exact name of the application just search for the function! For example if you want to install a Gmail alerter, just type “google” or “gmail”, a plethora of apps will appear, then tick on the one you like and click ok. The package manager will automatically download the required files from the Internet and install it, and place it in your menu!

On the other hand, if you want to install an app on Windows what will you do? Generally you will head to Google and search for the required app or function, swim through hundreds if not thousands of results, randomly choose one which might or might not have what you want. If it does you will be probably asked for a valid email or enter a captcha, then download the file. The file might be huge and if you don’t have a download manager you might lose all what you downloaded because your wireless abruptly decided to disconnect. There are 101 scenarios! If all goes well you double click on the app, click next next, tick on “I Agree”, a couple more nexts and you have the app. Which turns out to be a stripped down trial version, that added a couple of more apps that you didn’t ask for on your desktop and changed a few of your system settings!

Which is easier again?
3-Linux is A Nightmare to Install

Back in 2005 when I first started my Linux adventure, I got my hand on 5 SUSE cd’s from a  Linux Format magazine. Back then I was on XP, I initially wanted to back up my files before I take the plunge just in case. When I looked at the huge amount of files, I got lazy and somewhat careless, and decided just to install SUSE without backing up. 2 hours later I had a magical dual boot system (the whole concept of dual boot was alien to me back then) and all my files were intact!

Why am I telling you this story? Because I think one part of the intimidation of installing Linux is the belief that it might destroy files and end up on an OS that might thats not appealing (hey we are humble to realize it’s not for everyone ;) ) All I am saying it’s piss easy! If I was able to do it with no prior knowledge of Linux then you can too! It just needs some common sense. Trust me!

And if you don’t trust me (I understand you don’t really know me do you?) Why don’t you dabble with Linux using virtualization?

Anyways the whole installation process has been tuned over the years. Distros like SUSE, Ubuntu, and Fedora, are so easy to install it would literally take around 30 minutes to get it up and ready. With almost all the apps a default PC should have. Thing like an Office suite, media player, PDF reader, chat clients…etc Can you really say the same about YOUR system?
4-The Linux Interface is Ugly and Unattractive

Well it depends on the definition of “attractive” doesn’t it? A command line only OS might be a turn off for most people but bliss for some. An interface with wobbly windows, rotating cubes, spherical desktop, fireworks, rain, snow…etc is bliss to a lot and a resource hog to some.

Well Linux provides you both and everything in between! And in a million and one styles!

You can install Compiz, which gives you rotating cubes for different desktops, wobbly windows, animated window behavior just to name a few. You can install Enlightenment, which provides you a sleek looking desktop that you have never seen before. KDE4 is a scene to behold! Anyways I think a picture is worth a thousand words,  here judge by yourself:

Linux and the Compiz Cube It\’s Snowing in Linux Land enlightenment-e17

In fact you can actually make Linux like whatever you want, you can make it even look like Apple or Windows! The sky is the limit ;)
5-There Are No Games on Linux

Actually I am not really a PC gamer, I tend to keep my gaming activities on consoles, but I once installed Football Manager under Linux, worked perfectly.

Seriously, just yesterday I walked into my brother’s room, and  found a collection of PC games on the floor. Me knowing that he uses Linux exclusively, I raised an eyebrow and asked “under Linux?”. He replied positively, “without a hitch!”

Today, there are literally 100’s of games that work under Linux, true they haven’t been ported, but Wine (a program that allows Windows programs to run under Linux) has taken care of that. Just looking at the top 10 list of apps working under Wine, one finds quite a lot of them are games. And a lot of them are VERY popular! Wine could also help in a lot of other games too! You can also purchase Cedega which depends on Wine but makes the experience much more user-friendly. There is a lot of help out there, you just need to open your eyes a bit! And if all fails, virtualization could be a last resort!

Word of Worldcraft Running on Linux using Wine

One could still argue that there are no Linux games, as all that this means that there are no native Linux games. Right? Not really, there are loads of native Open Source Linux games, I can’t really vouch for them, but from the screen shots they do seem cool. Here have a glimpse.
6-Linux Doesn’t Come Preinstalled Like Windows

Whoa! You have been contaminated with a big dose of FUD! Actually Linux comes preinstalled from a lot of different vendors. Some are international brands like Dell and Lenovo. There are also some specialized Linux vendors like System76 or EmprorLinux.

Asus also have created a new trend. Fitting Linux in a new niche market, the Ultra Mobile PC market with the Eee PC. HP, Aspire, MSI, among others are fitting these UMPC’s with Linux.
7-There is No Support for Linux

If you purchased your Linux system from a vendor, then there will probably some kind of support. A quick check on System76 or EmprorLinux would verify that. Also if you bought a distribution from Red Hat or Novell then you will also get support as part of the package.

However in reality, a lot of Linux users are mavericks, they get their support from the Linux community. The Linux community is very supportive (at least that is my experience). The Internet is riddled with forums, guides, howtos, blogs, IRC rooms… etc that would offer anybody an extraordinary amount of help. I don’t think that any other operating system has this kind of community. I am sure when it comes to community other proprietary operating systems do envy us!
8-Linux Doesn’t Have Good Hardware Support

Sometime ago, I blogged about how I suffered to get an HP printer to work on Windows. Long story short, after around 2 hours of trying to get an HP printer to work on XP, I gave up and plugged into an Ubuntu Linux Eee PC, it got recognized in 30 seconds! There are thousands of stories similar to this, just a quick Google would confirm that. Here is an example.

What people fail to realize that in the case of their Windows preinstalled PC’s, they “just works” because the vendors have already done all the work for them. It would be a totally different ball game if these PC’s had no OS on them. Windows wouldn’t come out all that superior, I would even wager that Linux would probably do a better job.

Actually I think that we are at a point where I can say that Linux would work more than 90% of hardware out there! Could Windows or Apple claim that? I don’t know, I stopped being a Windows power user for quite sometime. But what I remember is that a webcam I purchased in 2004 wasn’t “digitally verified” (or something like that) by XP, despite the fact that XP has been around for years!
9-There is No Office Software, or Software At All for Linux

Huh? Under which rock have you been living under in the past decade? Actually there is more Office software for Linux than Windows and Apple combined. It does 95% of what Microsoft Office can do and you don’t need to loose an arm and a leg to get it, its FREE! And let’s face it, most of us don’t really use Microsoft Office to it’s full potential. So why should I pay 100% for only 10% features I need?

As for the rest of software, rest assured that there is replacement for everything you need. And in a lot of cases these apps get the job done in better ways than their propietary counterparts. And before you say: “Photoshop”, you won’t drag me into this conversation, if you are not content with Gimp, you still can get Photoshop on Linux, so please let’s not get into that.
Bonus: Linux is For Geeks!

Ahh, nevermind not really gonna try to refute this one, though I tried to convince people that Linux is sexy, didn’t really do a good job at it! But hey geek is good ;)





10 steps to speed up your linux booting time

30 07 2008

#1: Disable unnecessary services

Depending upon the use of the machine, plenty of services won’t be needed. Using Linux just for a desktop? Then you won’t need sendmail, httpd, and many other services. If your server is only a Web server, you can shut off many services as well. To do this, you can go to the Administration menu and take a look at the Services entry. Just deselect all of the services you don’t want to start.

#2: Disable unnecessary kernel modules

If your desktop is wired to the Ethernet, you don’t need to have a wireless kernel module loaded. This task is a bit more difficult and will require a kernel recompilation, which is not the easiest task to undertake. To do this, you will need the kernel sources. Then, follow the standard steps for compiling a kernel. The difference is that you’re going to go through your system and disable all of the modules you don’t need.

The best way to find out what kernel modules currently install and run on your system is to install Bootchart. Not only will this give you a good list of modules, it will illustrate for you what is happening during your system boot. You can also issue the command chkconfig –list | grep 3:on to find out what services are running. Once you know what loading modules you don’t need, you can remove them during a kernel recompilation. While you’re at it, compile the kernel to exactly match your architecture.

#3: Use a lightweight window manager instead of GNOME or KDE

I plug smaller footprint window managers for a reason — they drastically reduce graphical boot time. Instead of having to wait that extra 30 to 60 seconds for GNOME or KDE to boot up, why not wait two to 10 seconds for Enlightenment or XFCE to boot up? Not only will they save you boot time, they will save your memory and the headache of dealing with bloatware.

#4: Use a text-based login instead of a graphical login

Most of my Linux machines boot to run level 3 instead of run level 5. This will halt at the text-based login, where I only have to log in and issue startx to start my desktop of choice. The graphical logins do two things: increase load times and create headaches trying to recover from an X windows fubar.

#5: Use a lighter-weight distribution

Instead of loading the heavyweight Fedora, why not try a Gentoo, Arch, or Puppy Linux? The boot times for these smaller distributions are far faster than the more bloated Fedora (and even Ubuntu). Of the larger distributions, OpenSuSE claims to boot the fastest, but I have not personally tested this. Between the latest Fedora and Ubuntu, Ubuntu blows Fedora’s boot times away (and that is out of the box).

#6: Use an OpenBIOS

If you’re savvy enough to upgrade your PC’s firmware, you might consider migrating to an open source BIOS. One caveat to using open firmware is that it allows Linux to actually initialize the hardware as it boots (instead of relying on the BIOS). On top of that, many open BIOSes can be configured to meet your machine’s specific needs. If you don’t go the open BIOS route, you can at least configure your BIOS to not search for a floppy drive that’s not there or to boot directly to the first hard drive (instead of the CD drive first).

#7: Avoid dhcp

If you are working on a home network (or a small business network) where address lease isn’t a problem, go with static IP addresses. This will keep your machine from having to call out to a dhcp server to get an IP address. If you take this approach, make sure you configure your /etc/resolve.conf to reflect your DNS server addresses as well.

#8: If you can spare it, get rid of hotplug

Hotplug is the system that allows you to plug in new devices and use them immediately. If you know your server won’t need this system, delete it. This will cut down on boot time. On many systems, hotplugging consumes much of the boot time. Removing hotplug will vary depending upon the distribution you use. NOTE: udev has, for the most part, replaced hotplug. But if you’re running an older distribution, this does apply.

#9: If you are REALLY daring, you could give initng a try

The initng system serves as a replacement for the sysvinit system and promises to drastically decrease boot times in UNIX-like operating systems. If you would like to see the initng system in action, you can give the Pingwinek livecd a try.

#10: Use a hack with Debian

If you’re using Debian, there is a simple hack you can use to switch your startup scripts to run in parallel. If you look at the /etc/init.d/rc script, you will see: CONCURRENCY=none around line 24. Change this line to CONCURRENCY=shell and you should see a reduction in boot times.

That’s about it. Of course there are always more and better hacks out there. But the above should mostly cover everything. The good news is that you’re most likely already running Linux, so the burden of boot times is generally eased by the infrequency of reboots.





It’s not the Gates, it’s the bars – RMS

6 07 2008

By Richard Stallman
Founder, Free Software Foundation

To pay so much attention to Bill Gates’ retirement is missing the point.
What really matters is not Gates, nor Microsoft, but the unethical
system of restrictions that Microsoft, like many other software
companies, imposes on its customers.

That statement may surprise you, since most people interested in
computers have strong feelings about Microsoft. Businessmen and their
tame politicians admire its success in building an empire over so many
computer users.

Many outside the computer field credit Microsoft for advances which it
only took advantage of, such as making computers cheap and fast, and
convenient graphical user interfaces.

Gates’ philanthropy for health care for poor countries has won some
people’s good opinion. The LA Times reported that his foundation spends
five to 10% of its money annually and invests the rest, sometimes in
companies it suggests cause environmental degradation and illness in the
same poor countries.

Many computerists specially hate Gates and Microsoft. They have plenty
of reasons.

‘Solicit funds’

Microsoft persistently engages in anti-competitive behaviour, and has
been convicted three times. George W Bush, who let Microsoft off the
hook for the second US conviction, was invited to Microsoft headquarters
to solicit funds for the 2000 election.

Many users hate the “Microsoft tax”, the retail contracts that make you
pay for Windows on your computer even if you won’t use it.

In some countries you can get a refund, but the effort required is daunting.

There’s also the Digital Restrictions Management: software features
designed to “stop” you from accessing your files freely. Increased
restriction of users seems to be the main advance of Vista.

‘Gratuitous incompatibilities’

Then there are the gratuitous incompatibilities and obstacles to
interoperation with other software. This is why the EU required
Microsoft to publish interface specifications.

This year Microsoft packed standards committees with its supporters to
procure ISO approval of its unwieldy, unimplementable and patented “open
standard” for documents. The EU is now investigating this.

These actions are intolerable, of course, but they are not isolated
events. They are systematic symptoms of a deeper wrong which most people
don’t recognise: proprietary software.

Microsoft’s software is distributed under licenses that keep users
divided and helpless. The users are divided because they are forbidden
to share copies with anyone else. The users are helpless because they
don’t have the source code that programmers can read and change.

If you’re a programmer and you want to change the software, for yourself
or for someone else, you can’t.

If you’re a business and you want to pay a programmer to make the
software suit your needs better, you can’t. If you copy it to share with
your friend, which is simple good-neighbourliness, they call you a “pirate”.

‘Unjust system’

Microsoft would have us believe that helping your neighbour is the moral
equivalent of attacking a ship.

The most important thing that Microsoft has done is to promote this
unjust social system.

Gates is personally identified with it, due to his infamous open letter
which rebuked microcomputer users for sharing copies of his software.

It said, in effect, “If you don’t let me keep you divided and helpless,
I won’t write the software and you won’t have any. Surrender to me, or
you’re lost!”

‘Change system’

But Gates didn’t invent proprietary software, and thousands of other
companies do the same thing. It’s wrong, no matter who does it.

Microsoft, Apple, Adobe, and the rest, offer you software that gives
them power over you. A change in executives or companies is not
important. What we need to change is this system.

That’s what the free software movement is all about. “Free” refers to
freedom: we write and publish software that users are free to share and
modify.

We do this systematically, for freedom’s sake; some of us paid, many as
volunteers. We already have complete free operating systems, including
GNU/Linux.

Our aim is to deliver a complete range of useful free software, so that
no computer user will be tempted to cede her freedom to get software.

In 1984, when I started the free software movement, I was hardly aware
of Gates’ letter. But I’d heard similar demands from others, and I had a
response: “If your software would keep us divided and helpless, please
don’t write it. We are better off without it. We will find other ways to
use our computers, and preserve our freedom.”

In 1992, when the GNU operating system was completed by the kernel,
Linux, you had to be a wizard to run it. Today GNU/Linux is
user-friendly: in parts of Spain and India, it’s standard in schools.
Tens of millions use it, around the world. You can use it too.

Gates may be gone, but the walls and bars of proprietary software he
helped create remain, for now.

Dismantling them is up to us.

Richard Stallman is the founder of the Free Software Foundation. You can
copy and redistribute this article under the Creative Commons Noderivs
license.

This article is published on BBC News online. Please share this link
with your friends and family, and post it to any blogs, link sharing or
social sites you think may find it interesting.

http://news.bbc.co.uk/2/hi/technology/7487060.stm