How to find recently installed RPMs

rpm -qa –last will return all installed rpm packages with their installed time. The last installed packages will be at the top of the list. rpm -qa –last | less is will return all installed packages with their install date. Less allows you to scroll through the results. rpm -qa –last | tail -n [lines]…

support.microsoft.com not working behind Squid

Can you access support.microsoft.com? Chances are you can’t if you’re behind a squid proxy. Here’s the fix/workaround, Add the lines below into your squid.conf file. should be in /etc/squid/squid.conf. Restart squid and you should be good to go. #> vi /etc/squid/squid.conf add lines into /etc/squid.conf # Fix support.microsoft.com by removing Accept-Encoding header acl support.microsoft.com dstdomain…

How to restart snmpd service on AIX

This is how you would restart the snmpd service on AIX. oslevel is used to return the current OS level. stopsrc -s [service] to stop and startsrc -s [service] to start a service. [root@kakuna]:/# oslevel 4.3.3.0 [root@kakuna]:/# stopsrc -s snmpd 0513-044 The snmpd Subsystem was requested to stop. [root@kakuna]:/# stopsrc -s snmpd 0513-004 The Subsystem…

How to upgrade MySQL 4 to MySQL 5 on CentOS 4

I was playing a round with new software today which needed MySQL 5. My server’s running CentOS 4.6 which ships by default with MySQL 4. The to upgrade to MySQL 5 from MySQL 4 is easy. There are 2 options you could use. The first option would require you to remove all MySQL 4 packages…

How to change the system date in Linux

A friend needed help changing the system date on his Linux box today. This is usually a simple task for Linux users but newbies tend to get confused by the “date [-u|–utc|–universal] [MMDDhhmm[[CC]YY][.ss]]” line in the man page. To simplify, this is how you do it. Set the current date to April 7 2008 8:42:45pm….