Tips

  • user warning: Table 'cache' is marked as crashed and should be repaired query: SELECT data, created, headers, expire FROM cache WHERE cid = 'filter:3:1e97e22ed95d91a99dace81c95f65a9d' in /home/dowdle/public_html/montanalinux/includes/database.mysql.inc on line 121.
  • user warning: Table 'cache' is marked as crashed and should be repaired query: UPDATE cache SET data = '<p>Daylight Savings Time in the US. Is it the end of the world again March 11th 2007? For most of us our Linux boxes will be just fine. The DST change has been fixed in most modern Linux Distros. But if you are still using your 2.4 kernel based ancient distro, you may want to look into fixing it. That isn\'t what this tip is about rather proof that your box is going to make the switch. You should see this when you run the zdump command below:</p>\n<pre><blockquote>zdump -v /etc/localtime | grep 2007\n', created = 1410968281, expire = 1411054681, headers = '' WHERE cid = 'filter:3:1e97e22ed95d91a99dace81c95f65a9d' in /home/dowdle/public_html/montanalinux/includes/database.mysql.inc on line 121.

ClamAV Upgrade Ritual

|

Following the usual 'make uninstall' prior to upgrading my clamav doesn't always ensure I will have no further problems. Generally the next step after you 'make install' your new clamav. Then you want to run a 'freshclam'. But here is where I constantly forget and am now documenting how I fix this LibClamAV Error:

[root@soyo clamav]# freshclam
ClamAV update process started at Wed Nov 14 09:14:50 2007
main.inc is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
daily.inc is up to date (version: 4783, sigs: 35144, f-level: 21, builder: ccordes)


Ready for DST?

Daylight Savings Time in the US. Is it the end of the world again March 11th 2007? For most of us our Linux boxes will be just fine. The DST change has been fixed in most modern Linux Distros. But if you are still using your 2.4 kernel based ancient distro, you may want to look into fixing it. That isn't what this tip is about rather proof that your box is going to make the switch. You should see this when you run the zdump command below:

zdump -v /etc/localtime | grep 2007

Stupid Mouse Trick

|

Short and sweet. Just discovered this trick. In KDE (currently using 3.5.4 FC5) if you move your mouse over the kpanel with more than one application running and over the apps or desktop area... you can use the scrolly mouse wheel to cycle through your apps. from all your desktops. An alternate keyboard method is with Alt+Tab/Ctrl+Tab but those will only alternate between apps. in the current desktop.


Compiling Gaim with Gaim-Encryption

| | |

Friday I decided to finally get caught up with the latest Gaim IM. I'm using FC5 most of the week while at work. I had been using the latest stable 1.5 RPMs. The past couple weeks for me have been a hassle with requests for authorization and tons of spam/bots from foreign lands. For some reason my privacy setting would never stick for ICQ and MSN accounts. Even if I set them for the current session, the spam bots seem to get through still. Who knows!

Who the fdisk?

|

Found another cool time saver tip. For me I find myself looking for partition mount points. So I usually do:

fdisk /dev/hda

The number of cylinders for this disk is set to 4982.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders

Installing Perl Modules the CPAN Way

| |

I have done this many times following various instructions when installing perl modules but for the most part they all tell you to:

download > extract > cd into extracted dir
perl Makefile.PL
make
make install

I remember there was an easier way that went out and fulfilled all dependencies but I could never remember because I just followed the README file. Today I read a post where at least a couple folks gave the same instructions I recalled using:

perl -MCPAN -e shell
install modulename

Much easier!

UPDATE:

Syndicate content