Archive for the ‘Debian’ Category.
October 8, 2009, 9:23 am

So, you have just installed Debian GNU/Linux. Good for you! But, what now? All you have is a black screen in front of you with no mouse pointer or application menu or anything! What gives?!
What you need now is to install a Desktop Environment. Don’t fret, it’s actually pretty easy.
Continue reading ‘Install X Window System and a Desktop Environment in Debian’ »
February 13, 2009, 11:50 am

Sometimes, when i see my system got slower, the i open the phpsysinfo. My using memory almost full. Even i restart my PC, the cached memory size still big. I want to clear cached memory but i’m hard to find to solution because i’m scar if it will cause my ubuntu crash.
After browse in many site ( thanks to ubuntuforum ) , I get the solution. It will clear cached memory with no bad effect to your system
Continue reading ‘Clear cached memory in Debian/Ubuntu’ »
February 12, 2009, 10:30 am

Bonding is creation of a single bonded interface by combining 2 or more ethernet interfaces. This helps in high availability and performance improvement.
How to setup dual-dual bonding (two bonds of two interfaces each) on Ubuntu as quickly as possible.
Continue reading ‘Howto SetUp Dual NIC Bonding On Debian & Ubuntu’ »
November 21, 2008, 9:38 am

Security is based on three characteristics: prevention, protection and detection. Grsecurity is a patch for Linux kernel that allows you to increase each of these points.
This howto was performed on a Debian Lenny system. Thus some tools are Debian specific. However, tasks can be performed with other distro specific tools or even with universal tools (make).
Everything will done with root privileges. However, you can perform them with a limited account thanks to sudo and fake-kpkg tools.
Continue reading ‘Hardening The Linux Kernel With Grsecurity on Debian’ »
November 19, 2008, 3:32 pm

In order to make sure that your system has been installed from the real Debian base disks check for the existence of /etc/debian_version file, which contains a single one-line entry giving the version number of the release, as defined by the package base-files
.
Continue reading ‘How to tell what version of Debian you have installed’ »
November 13, 2008, 1:03 pm

Below is a list of how to do things in Ubuntu in comparison on how to do them in OpenSuse.
Continue reading ‘Ubuntu/Debian vs. OpenSuse 10.3 Cheatsheet’ »
November 13, 2008, 9:39 am
November 4, 2008, 8:35 am

Linux has excellent software-based RAID built into the kernel. Unfortunately information on configuring and maintaining it is sparse. Back in 2003, O’Reilly published Managing RAID on Linux and that book is still mostly up to date, but finding clear instructions on the web for setting up RAID has become a chore.
Here is how to install Ubuntu Server with software RAID 1 (disk mirroring). This guide is for Ubuntu Server 6.06 LTS, but the procedure should be nearly the same for newer versions of Ubuntu and even Debian. We’ve also included a few other tips, like how to ensure you can still boot your server when the first drive fails and how to rebuild when replacing a failed drive.
Continue reading ‘Setting up software RAID in Ubuntu Server’ »
November 2, 2008, 7:54 pm

Here are a few tricks for APT, the Advanced Packaging Tool used on Debian and Debian-based distributions like Ubuntu.
Continue reading ‘A few quick tips for apt’ »
October 11, 2008, 9:54 am

Cacti is a web based PHP/MySql graphing solution using the RRDtool engine. Classically, it can graph network bandwidthes with SNMP. But in fact, a lot of different graphs can be done with snmp, shell or perl scripts.
Cacti’s strength lies in the fact that it can be installed and used incredibly easily. You don’t need to be a guru or spend tons of hours on the tool to configure it. Even a beginner can use it very quickly. On the very active Cacti forum, you can share “Cacti templates” with other users which can can save you a lot of time. You can very easily add plugins to the Cacti too enabling the possiblility to integrate other free tools like ntop or php weathermap. In our opinion, this is by far the best RRDtool frontend.
For details about how to use Cacti, see the very good Cacti Manual.
RRDtool is a program developed by the Swiss Tobi Oeticker who was already the creator of the famous MRTG. RRDtool is developed using the “C” programming language and it stores the collected data on “.rrd” files.
The number of records in a “.rrd” file never increases, meaning that old records are frequently removed. This implies that one obtains precise figures for recently logged data, whereas figures based on very old data are mean value approximations. By default, you can have daily, weekly, monthy and yearly graphs.
Some of the advantages of RRDtool over MRTG are the following:
- it is much quicker..
- it can use negative values.
- it can use more than one data source in a graph.
- the generated graphes are very customizable.
- it can be used by a wide variety of front-ends such as Cacti.
- the RRDtool records stored in .rrd files keep the same size and do not increase.
Continue reading ‘How to install Cacti on Debian or Ubuntu’ »