amp

How to Optimize and repair all mysql databases at once

There is a really handy MySql utility called mysqlcheck that allows you to do a number of actions to all databases on your mysql server at once. I am writing this specifically for Linux, but I’m sure windows and Unix versions are very similar if not exactly the same. Run this command as root Repair [...]

How to find drivers for Unknown Devices

Every device has a Vendor and Device id associated with it. If you can find this ID, you can find the manufacturer. In Windows it’s easy to find the vendor and device id. Open Device Manager (Control Panel>System>Hardware>Device Manager) The hardware whose drivers are missing will appear as Unknown device, so it’s easier to locate [...]

How to Install VLC (VideoLAN Client) on Fedora

Multimedia can be the achilles heel of Linux, but with just a little work you should be able to play just about anything your friends can. Besides Mplayer the other great video player is called VLC. It too is trivially easy to install once you have your repositories set up: # yum -y install vlc [...]

How to Install MP3 Plug-in in Fedora

To automatically install the MP3 plug-ins for xmms and Rhythmbox like this: # yum -y install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly \ gstreamer-plugins-bad libmad libid3tag While you’re here you might as well install my personal favorite (this week at least) music player Banshee: # yum -y install banshee The -y flag is to automatically answer yes [...]

How to Upgrade your Fedora

One of the great new features is to be able to do a live upgrade from an older Fedora release to Fedora 9. You simply have to install the new package called preupgrade and run the program as root: # yum -y install preupgrade # preupgrade This process does take a LONG TIME, requires a [...]

How to Install and Configure Diskless Clients using NFS and PXE in Centos

This guide will help you setup an NFS server to dish out diskless clients on your network. This is useful if you want to bring up workstations quickly, without the hassle of hard drives, and or worrying about multiple installations along the way. Some of the commands are from the official Red Hat Docs. This guide [...]

How to Connect SCSI Devices Without Restarting Windows

One of the great things about SCSI technology, besides plug & play that actually works, is the ability to plug in or turn on a SCSI device and use it without having to restart your computer. However, since Windows doesn’t automatically refresh your SCSI card, you have to do it manually when connecting devices. Here’s [...]

How to Adjust Your Printer Timeout

If you’ve ever printed in Windows, your work has undoubtedly been interrupted with the little “Windows will Retry in 5 seconds” window that appears if your printer is not turned on, out of paper, or just warming up. The time that Windows waits before notifying you that the printer isn’t ready is called the timeout. [...]

How to Debug with PEAR Logging

Let’s admit, any PHP developer, at some point has “debugged” a PHP application by inserting several “echo” statements here and there. It’s easy and quick but it’s by far not the best way. For one, you can not and should not do anything like that on a production server. The last thing users need to [...]