Monday, August 25, 2008

The Linux Knowledge Base and Tutorial

Looking for an in-depth and easy-to-understand introduction to Linux? Then look no further!
We don't just show you how to execute a handful of commands and use a few utilities. The Linux Tutorial goes beyond the basics, providing you with the knowledge necessary to get the most out of your Linux system.

[...] Keep reading in: Linux Knowledge Base and Tutorial

Friday, August 22, 2008

100 Tips and Tools to Set Up Your Own Home LAMP Server

LAMP (Linux, Apache, MySQL and PHP) servers are very popular for their ease of use and flexibility. They’re also easy to initiate, because the components are easy to aquire and there’s a lot of documentation available to help with getting started. Read on to find some of the best resources available for creating your own home LAMP server, from installation to maintenance.
[...]
Keep reading in:
100 Tips and Tools to Set Up Your Own Home LAMP Server

Tuesday, August 19, 2008

Recover /etc/fstab file

If you have deleted the /etc/fstab file it is possible to recover it in the following way:

cat /proc/mounts > /etc/fstab
chmod 644 /etc/fstab

The "proc" filesystem, which is /proc/mounts, is used to handle sytem configuration parameters, it is a virtual filesystem.

Monday, August 18, 2008

Managing links in Linux

Hard and Symbolic links are the two types of files that exist in a Unix Operating System to point to another file.

Hard Links: They are a pointer that is exactly as the same than the file it points to, no mather if it has a different name, any modification done to the pointer are also done to the target file. The hard links can only point to other files, but not directories (though directories are a special kind of files). And the other main difference with Symbolic Links is that hard links MUST reside in the same filesystem than the file they point to, because they have the same inode number.

Symbolic liks: The are a pointer to another file but they contain the name of the file they point to, it can span filesystems (they have a different inode number), and they can point to files or direcoties.

Creating Hard and Symbolic Links:
ln -fs <source> [<target>]

By default ln (without arguments) it creates hard links.
-f, --force : Remove existing destination files.
-s, --symbolic : Make symbolic links instead of hard links.