Tuesday, March 17, 2009

Secure Your Box

Security is a very important feature of Linux. Virus or worms can't install themselves on Linux. But are there any trojans for Linux? Here is a myth-buster for you: THERE ARE.

Trojan is a malware which rely totally on social engineering to work. Remember the trojan horse legend of the Greeks. It was trickery and social engineering. A trojan fools you into thinking that it is something useful and you end up installing it. Any 12 years old kid can create a trojan. It doesn't take much of programming mastery. Creating virus or worm is much more complex.

A virus affects other file or program and replicate itself without user intervention. A worm doesn't require another file. It exists as stand-alone file and can replicate itself, once again, without user intervention.

No software can install itself on Linux and hence there can be no virus or worm for it. But since trojans rely upon user intervention, there exists trojans for Linux. Following are some tips (and they are not limited to Linux users) to secure up your PC:

-> Don't login as root, unless it is absolutely necessary.
-> Don't install any package if you are not sure about its origin. Check if the packages are digitally signed.
-> Keep all network-related packages up-to-date and regularly update the OS.
-> Turn off any network feature you don't require. It is not necessary to connect your laptop to any network if you are not using the network.
-> Create backups. It protects you from your own mistakes. I learnt the lesson the hard way when I accidently deleted 20 GB of priceless pictures of family and friends.
-> Use firewall to enhance the security features provided by tcpd.
-> The most powerful antivirus software ever created is your common sense. Use it.

Tuesday, March 10, 2009

muLinux, a tiny distribution

I met a guy on IRC who wanted to install Xubuntu on his unusually obsolete system. In order to help him (keeping in tune with the Linux community's helpfulness), I began searching the net for an ultra-lightweight distribution. And I stumbled upon muLinux.

muLinux was created by Michele Andreoli, an Italian mathematics and physics professor, to run on old and obsolete computers. It can run from a floopy drive (Yups... a floopy drive). Based on Linux kernel version 2.0.36, the main drawback of the distribution is that it has very limited features and some of the codes and packages dates back to 1998. It can run with 8 MB RAM (4 MB, if installed on HDD), 20 MB HDD and an Intel 80386 (or later) processor. The last stable version was 14r0 and it was released on 2004-02-10.

I should warn you that it doesn't have a GUI (but you can install X11 in it). And you have to install packages like TCL, GCC, Perl, etc. in order to use them. Anyone who is new to Linux should stay away from it as it would be too complex and might give you a wrong impression about the user-friendliness and ease of using Linux.

Because of it being very small, I am thinking of downloading it's source code and modifying it to the extent that I can. I will keep updating about my progress of the project on this blog. Anyone interested in helping me should mail me.

-------------------------------------------
"Linux is only free if your time has no value" - Jamie Zawinski.

-------------------------------------------
Update: I downloaded the tgz files and browsed through the packages. I poked into the source code too, but didn't screw around too much.

Sunday, March 8, 2009

Ubuntu 9.04 [Jaunty Jackalope] Alpha 5 - Download, use and report

The Alpha 5 version of Ubuntu 9.04 (Jauntu Jackalope) is up for download.


To upgrade from Ubuntu 8.10
1. Press Alt+F2
2. Type update-manager -d
3. Click Upgrade and follow the on-screen instructions.

Download it, test it and report any bug you encounter to http://bugs.launchpad.net/ubuntu

ISOs and torrents can be downloaded from http://cdimage.ubuntu.com/releases/jaunty/alpha-5/

More information available on the Ubuntu website.



One of the incoming logo for the project

Go Live

What if you are scared of getting out of your comfort zone of using Windows, but still want to try Ubuntu? What if you don't have enough spare space in your HDD and don't want to lose valuable data by installing Ubuntu (or any other distro, for that matter)? In other words, what if you want to use Ubuntu without actually installing it?

Voila. Its possible. Use a live CD. Download the iso of the live CD from the Ubuntu website. A live CD loads the kernel into the computer's memory, without affecting the HDD, and runs itself by utilizing the memory and the CD drive.

I don't know much about how Linux live CDs (although I've used Ubuntu live CD on several occassions) work, but I am trying to gather info (thanks to the very large and helpful Linux community available online) about it and I'll post more on it as soon as possible.


-----------------------------------
"Software is like sex. It's better when it's free." - Linus Trovalds, creator of Linux.

Thursday, March 5, 2009

Ubuntu, Kubuntu or Xubuntu? Part One.

KDE or GNOME? That's the question almost every Linux newbie asks. In Ubuntu lingo, that question translates into: Ubuntu or Kubuntu?

Ubuntu uses GNOME desktop while Kubuntu comes with KDE by default. And both of them are equally good, as both have their own areas of niche. So the choice is totally yours. You should use the environment in which you are comfortable.

The college in which I am studying uses Fedora with KDE. KDE's interface is lot more like Windows' than GNOME's. So anyone who has migrated recently from Windows would be at ease with KDE, but also remember that KDE uses more resources than GNOME and if your system has less than 256 MB of RAM, you should stick to the latter (or better still use Xfce. More on that later).

Each desktop environment comes with its own applications. GNOME has Nautilus (a file browser) and f-spot (a photo management software) among others, while KDE comes with Konquerer (a very good web browser) among others. But applications should not be a problem because GNOME applications can run on KDE and vice-versa.

If you use a really screwed up system with very poor resources, I'd suggest XFCE for you. It is small and lightweight (15 MB size as compared to GNOME's 180 MB or KDE's 250 MB). It doesn't come with bundled applications (which is actually a good thing as you can use any KDE or GNOME applications in it.)

So, should you use Ubuntu, Kubuntu or Xubuntu? That's really your call. Choose the one you like working in. I opt for GNOME because of its ease, look and stability.


All these nonsense about looks and beauty reminded me of an article I read somewhere which said that we should never get attracted to a girl only because of her looks. The whole point being that we should never judge a book by its covers. But the question is... Who wants to bang a book?

Monday, March 2, 2009

Codecs! Codecs! And CODECS!

Don't we all wish there were something like k-lite media pack for Linux? Don't we? Tell me, don't we? Yes, we do. And actually there is something in that line. And it was created just for us by the community which created Mplayer. And above all, downloading and installing it is all child's play.

Follow the steps and you should be done in a few minutes.
1. Log in as root or use 'su' to check whether the directories /usr/local/lib/codecs and /usr/lib/win32 exists. If they don't, create them. (And please don't forget that Linux is case-sensitive. Double check the spelling.)
2. Download the .tar.bz2 file from http://tinyurl.com/lincodecs
3. Unpack the file using 'tar' command and copy and paste the unpacked files to the two directories.
4. You can now watch the porn videos you downloaded.

The file contains codecs to play mpeg and variants, DivX, Real Formats, Windows formats, Cinepak and Intel formats, Ogg formats and Quick time formats for audio and video playback.

But if you are still not satisfied and want something exactly like k-lite codec pack, then download it (Yes, it is available for Linux too. But saying that earlier would have killed all the fun.) from http://tinyurl.com/klitelinux. Download it tar file, unpack it and place the unpacked files in the two folders.

P.S. If the links fail for any reason, Google it. And while googling it, don't forget to thank Sergey Brin and Larry Page. And if you don't know who they are, just google them. :D

Codec unavailability? I have VLC media player.

I am a music freak and I needed something in which I could play music files and videos after installing Ubuntu. Of course, Kaffeine and Mplayer exists by default (in almost all Linux distros I know), but the mp3, avi and other propriety codecs are not provided (This is the reason you hate Linux, right?). And I didn't want to download just the codecs. So I downloaded the Open Source player that I have been using for the last 2 years on my Windows system. VLC media player is small, useful and incredibly sexy.
I downloaded the source code and compiled it myself. This because I had to install the software on another system running Fedora. (This is a huge advantage about downloading source tarballs. You can use the same source code files to install a software in different OSes. Also I like reading the humorous cookie file which comes with the VLC source code files in its source tarball.) But if you want to install it only in Ubuntu, then use 'apt-get' or download the .deb package from http://www.videolan.org/vlc (Details about installation and use are provided in the documentation in the website.)



The interface is similar to its Windows version. The only difference in the interface which I noticed was that instead of 'File' menu there is 'Media'. All said about the interface. If you have used VLC in Windows can use it in Ubuntu. (Actually, anybody who has ever touched a computer can operate VLC. It is that simple... :) )
However, it doesn't run as smoothly here as it does on Windows, as the Linux version still lacks a few codecs. You can also install the Windows version using Wine. (No, I am not asking you to get drunk. Wine is a software with which you can run Windows applications inside Linux. More on that later.)
That is all for now. I am dying to watch a few music videos. S.O.A.D is awesome. They should regroup and release more albums.
Powered By Blogger