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] [...]
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 [...]
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 [...]
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 [...]
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. [...]