Installing DB2 on Linux

A few links I found useful while installing DB2 on Debian/Gentoo, etc:


Understanding Memory Usage On Linux

Have you ever wondered why a simple text editor on Linux can use dozens of megabytes of memory? A recent blog posting explains how the output of the ps tool is misleading and how you can get a better idea of how much memory a process really uses.

How do I crash Linux?

Benefits of Linux

Linux can give you:

1. A modern, very stable, multi-user, multitasking environment on your inexpensive PC hardware.

2. Standard platform. Linux is VERY standard–it is essentially a POSIX compliant UNIX.

3.Unsurpassed computing power, portability, flexibility, and customizibility.

4. Advanced graphical user interface.

5. Dozens of excellent, free, general-interest desktop applications.

6. Thousands of free applets, tools, and smaller programs. “Small is beautiful” goes well with Linux philosophy.

7. Hundreds of specialized applications built by researchers around the world.

8. Support for commercial programs including all the big databases (Not Windowz).

9. A truly great learning platform.

10. Excellent networking capability.

11.Connectivity to Microsoft, Novel, and Apple networks. Reading/writing to your DOS/MS Windows and other disk formats.

12. Programming languages and tools for development.

13. Freedom from viruses, “backdoors”

14. Linux is not owned

And many many more …

Recovering damaged Superblock

Making ISO image from CD

Installing packages using ports in FreeBSD

Suppose you want to install package lsof

# cd /usr/ports/sysutils/lsof 

Once inside the lsof directory, you need to compile, or “build”, the port. This is done by simply typing make at the prompt. Once you have done so, you should see something like this:

# make
[extraction output snipped]
>> Checksum OK for lsof_4.57D.freebsd.tar.gz.
===> Patching for lsof-4.57
===> Applying FreeBSD patches for lsof-4.57
===> Configuring for lsof-4.57
[configure output snipped]
===> Building for lsof-4.57
[compilation output snipped]

The next step is to install the port. In order to install it, you simply fire the make command

# make install
===> Installing for lsof-4.57
[installation output snipped]
===> Generating temporary packing list
===> Compressing manual pages for lsof-4.57
===> Registering installation for lsof-4.57
This port has installed the following binaries
which execute with increased privileges.

You are done :)