Free Linux Training

Linux Foundation Launches Free Training Webinar Series to Meet Growing Demand for Linux Professionals Starting in March, The Linux Foundation will be offering free Linux Training webinars taught by well-known Linux developers directly building on their own experience. This is an excellent opportunity to learn directly from key developers and to experience a sample of…


Install Java

Install directions from here and modified to fit my install: http://www.java.com/en/download/help/5000010500.xml#selfextracting (I started in the root folder – /root ) wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=37391 mv jre-6u18-linux-i586.bin\?AuthParam\=1265088166_628f3dd35822fc3493e468ca17791e5c\&GroupName\=JSC\&FilePath\=%2FESD6%2FJSCDL%2Fjdk%2F6u18-b07%2Fjre-6u18-linux-i586.bin\&File\=jre-6u18-linux-i586.bin\&BHost\=javadl.sun.com jre-6u18-linux-i586.bin chmod a+x jre-6u18-linux-i586.bin ./jre-6u18-linux-i586.bin answer yes to license agreement When the installation has completed, you will see the word Done. Creating jre1.6.0_18/lib/rt.jar Creating jre1.6.0_18/lib/jsse.jar Creating jre1.6.0_18/lib/charsets.jar Creating jre1.6.0_18/lib/ext/localedata.jar Creating jre1.6.0_18/lib/plugin.jar…


Installing Jboss

To install jboss on CentOS 5, create the jpackage.repo and place it in /etc/yum.repos.d. touch /etc/yum.repos.d/jpackage.repo vim /etc/yum.repos.d/jpackage.repo add the following information to the file: # Be sure to enable the distro specific repository for your distro below: # – jpackage-fc for Fedora Core # – jpackage-rhel for Red Hat Enterprise Linux and derivatives [jpackage-generic]…


IPTstate

IPTState is a top-like interface to your netfilter connection-tracking table. Using iptstate you interactively watch where traffic crossing your netfilter/iptables firewall is going, sort by various criteria, limit the view by various criteria. But it doesn’t stop there: as of version 2.2.0 you can even delete states from the table! The only requirements are a…


MySQL Commands

This is a list of handy MySQL commands that I use from time to time. At the bottom are functions, statements and clauses you can use with MySQL. Below when you see # it means from the unix shell. When you see mysql> it means from a MySQL prompt after logging into MySQL. The description…


MariaDB vs. MySQL

MySQL is dead. Long live MySQL. Now that oracle owns MySQL, it will certainly kill it as quickly and quietly as possible. If you were a large corporation, why would you want to have a stable, open source, widely used software platform competing with your fee related software that is generating a profit from the…


ldd

I recently had a client that went to backup a specific account using the cpanel backup script ‘pkgacct username’ located in the /scripts folder. Whenever he tried to use this script, the backup would fail. I found the error was not related to the cpanel script itself but to the gzip command itself. I needed…


Tasks

I went to bed the other night after browsing the web for about an hour. I knew I was going to have a hard time waking up, so I setup a task on my linux laptop to wake me at 7:00am with a mp3 I wanted to wake up to. “What the heck do you…


Pipe

Pipe, as the name implies, is a sort of hollow tube (a pipe) where you can put data into one end and use the output on the other end. It takes the output from one command and uses it as the input for the following command. This functionality is only one of the many features…


Backups

I just wanted to spend a few moments talking about backups. I just finished an email to a client who had 3 major databases crash because of Innodb issues which corrupted the tables beyond repair. I went to restore them and found the daily backup corrupted also. usually, there are weekly and monthly backup enabled…