Archive for September, 2008

How to install YUM manually on RedHat/RHEL 4.x or Centos 4.x

Invariably, you may find yourself with a missing YUM install or a corrupted installation and need to re-install yum to fix this problem.

Yum of course is used to easily install RPM packages like PHP or Apache or pretty much anything.  It’s equivalent would be “apt-get” on Debian based Linux systems.

So here’s how you would install YUM from scratch:
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-2.6.16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/rpm-python-4.3.3-22_nonptl.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/x86_64/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm

Just copy and paste the above RPM code into your SSH session.

Tags: , , ,

How to change Joomla 1.5 Admin Timeout Session

Joomla 1.5So most of us here are Joomla fans while some are Drupal fans.  It’s a matter of choice really, they’re both quite good as far as CMS’ go.

But that’s not why I’m writing today.

One of the things that annoys me the most is Joomla’s quick timeout when you’re logged into the administrator back-end.  It seems that if you walk away for a few minutes, your Joomla’s timed out and you have to login all over again.  It’s especially annoying if you were working on a new article and didn’t save it prior to being logged out.  Yup, that means you have to type it all over again.

Well, if you’ve had enough of this nonsense, thankfully, you can change it pretty easily.

1. Go into your Joomla Administrative back-end
2. Click on the GLOBAL CONFIGURATION icon in the lower left of the page or you can use the menu SITE > GLOBAL CONFIGURATION.
3. Click on the SYSTEM tab
4. On the lower right side of the page, look for SESSION SETTINGS
5. Change the MINUTES to however long you want to stay logged in


That’s it, now you can safely go get another cup of coffee without having to worry about re-typing everything all over again.

Tags: ,

Performance Optimization WordPress Plugins by W3 EDGE