Language Selection

English French German Italian Portuguese Spanish

HowTos

Bandwidth monitoring with vnStat

Filed under
HowTos

If you want to monitor and manage your Internet bandwidth, perhaps to make sure your ISP is not overbilling you, try vnStat, an open source, Linux-based application that gives you a clear picture of your bandwidth usage. This command-line application is simple to install and easy to use.

Gaim nicer notifications with libnotify on Ubuntu 6.10 Edgy

Filed under
HowTos

Gaim (now renamed to Pidgin, but the version I’m using isn’t that new) comes with a “guifications” plugin to do “notifications”, those little popup “toast” messages to tell you that someone’s messaged you, someone’s logged on or off, all that sort of thing.

How To Build A New Freetype

Filed under
HowTos

I've had several requests for my RPM for freetype2 including sub-pixel rendering for openSUSE 10.2. So here are instructions on how to build your own, including my modified SPEC file. If you're in the USA it might be illegal to download my file, so this file is only for people who live in free countries. Or at least semi-free countries, like the UK.

1. Download freetype2 source rpm

Disabling unused daemons to speed up your boot sequence

Filed under
HowTos

Many Linux distros usually start a lot of daemons when booting, resulting in a long wait before you can get to work after powering on your machine. Some of those daemons are rarely used (or even not al all) by the majority of users. This tutorial describes how to disable unused or rarely used daemons in a proper way, resulting in faster boot sequences and less CPU load.

debug a currently running program with GDB

Filed under
HowTos

Here is a quick tips of GDB. There is a time when I was working on a module that was written in c/c++ hangs in the middle of execution. I have no clue how it happens, and it happens quite rare. I keep guessing and try to feed in more debug print lines to search for the cause of the hangs. Spend few days with no luck, but suddenly I thought of GDB.

Upgrade Debian Sarge to Debian Etch

Filed under
HowTos

Before upgrading your system, it is strongly recommended that you make a full backup, or at least back up any data or configuration information you can’t afford to lose. The upgrade tools and process are quite reliable, but a hardware failure in the middle of an upgrade could result in a severely damaged system

Command line tips - seeing how much disk space is left with df

Filed under
HowTos

t’s time for another command line tip today - and that is how to see how much disk space you have left overall on a particular partition.

It’s always good to know how much space you have left, especially when you’re about to leap into a backup, wget a big file or do some other process which needs a lot of space.

Administrating SElinux on Red Hat Enterprise Linux

Filed under
HowTos

audit2allow is a nice tool for understanding AVC denials. On RHEL4, all AVC denials are logged to the kernel ring buffer. The command dmesg will show these, and audit2allow -d will interprit them, and output the SELinux rules needed to allow these denials.

Recover MySQL Database root password

Filed under
HowTos

By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. However, if you have set the password for root and forget or unable to recall the password, then you will need to reset the root password for MySQL.

Linux Iptables — Easy and Simple guide

Filed under
HowTos

So you just installed linux and is wondering for a good rule set for a secure firewall which does not interfere with your basic internet usage? Well no difficult at all…The following configuration is good to be implemented for a Workstation.

First lets flush all the previous iptables rules:

[root@linux ~]# iptables -F
[root@linux ~]# iptables -X
[root@linux ~]# iptables -t nat -F

Syndicate content

More in Tux Machines

Dangling the Linux Carrot

Sometimes the direct sell method isn’t the best way to close the deal. How do you think the whole “play hard to get” thing got traction throughout the years? That method is successful in any number of applications. And really, I wasn’t wearing my Linux Advocacy hat that evening…I was just a guy relaxing after a day’s work. Read more

Red Hat Sets New 12-Month High at $61.97 (RHT)

They now have a $70.00 price target on the stock, up previously from $57.00. Three equities research analysts have rated the stock with a hold rating and eighteen have issued a buy rating to the company’s stock. Red Hat has an average rating of “Buy” and an average price target of $63.50. Read more

Systemd 216 Piles On More Features, Aims For New User-Space VT

Lennart Poettering announced the systemd 216 release on Tuesday and among its changes is a more complete systemd-resolved that has nearly complete caching DNS and LLMNR stub resolver, a new systemd terminal library, and a number of new commands. The systemd 216 release also has improvements to various systemd sub-commands, an nss-mymachines NSS module was added, a new networkctl client tool, KDBUS updates against Linux 3.17's memfd, networkd improvements, a new systemd-terminal library for implementing full TTY stream parsing and rendering, a new systemd-journal-upload utility, an LZ4 compressor for journald, a new systemd-escape tool, a new systemd-firstboot component, and much more. Read more

Desktop Obsessions, Steam Sacrifices, and LibreOffice Review

We've been reading a lot about the desktop lately and we're not stopping tonight. We have three stories tonight on the desktop. In other news, the kernel repositories beef-up security and Alienware says Steam Machine users will "sacrifice content for the sake of Linux." The new Linux version of Opera is making progress and CNet has a review of LibreOffice 4.3. This and more in tonight's Linux news. Read more