22 Jun, 2008  |  Posted by Danesh  |  in BitTorrent, HowTo, Linux

deluge

Check is the Deluge package is available.
pandora:~ # zypper se deluge

Install Deluge
pandora:~ # zypper in deluge
Continue Reading ->

22 Jun, 2008  |  Posted by Danesh  |  in HowTo, Linux

Install the cabextract package.

abooboo># zypper in cabextract

Download the msfont installer script for openSUSE 10.3.

abooboo># wget http://download.opensuse.org/update/10.3/scripts/fetchmsttfonts.sh

Assign execute permission and execute the script.

abooboo># chmod a+x fetchmsttfonts.sh

abooboo># ./fetchmsttfonts.sh

You have ms fonts now. The other simpler way to do this is to simply copy over the fonts you need from a Windows machine and use the fonts manager to install them.

5 May, 2008  |  Posted by Danesh  |  in HowTo, Linux

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] will return the last 5 packages. Replace [line] with any number you want, in my case 5 for file lines.

[root@bambee root]# rpm -qa –last | tail -n 5
termcap-11.0.1-17.1 Tue 09 May 2006 03:02:53 PM MYT
setup-2.5.27-1 Tue 09 May 2006 03:02:52 PM MYT
filesystem-2.2.1-3 Tue 09 May 2006 03:02:52 PM MYT
basesystem-8.0-2 Tue 09 May 2006 03:02:52 PM MYT
redhat-logos-1.1.14.3-1 Tue 09 May 2006 03:02:51 PM MYT

rpm -qa --last | grep [package name] will return the install date for a specific RPM package. In my case the apache web server [httpd]

[root@jumbo root]# rpm -qa –last | grep httpd
redhat-config-httpd-1.1.0-4.30.2 Sat 29 Mar 2008 09:03:40 PM MYT
httpd-2.0.46-70.ent Sat 29 Mar 2008 08:58:19 PM MYT

22 Apr, 2008  |  Posted by Danesh  |  in HowTo, Linux

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 by running,

># yum remove mysql

The seconf option is way simpler.

># yum --enablerepo=centosplus update mysql

This will download MySQL 5 from the plus repository and replace the installed MySQL 4.

Remeber to backup your DBs before updating.

13 Apr, 2008  |  Posted by Danesh  |  in WordPress

Finally managed to upgrade to WordPress 2.5  yesterday.

Loving the automatic update and install feature for my plugins. However, the Popularity Contest plugin and Popularity Contest Widget are not compatible with WordPress 2.5 yet.

Get WordPress 2.5