• Entries (RSS)
  • Comments (RSS)

Fixing Pear ‘unsupported protocal’ error

Posted by | Posted in CentOS, How to, Linux, Tutorials | Posted on 12-01-2010

Tagged Under : , , ,

Are you getting the following error while updating any package in pear?

pear.php.net is using a unsupported protocal – This should never happen.

I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To resolve this situation, do this.

rm -fr /usr/share/pear/.channels

and then do this

pear update-channels

It should now give you the following output

Updating channel "doc.php.net"
Update of Channel "doc.php.net" succeeded
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded

That’s it, your issue is resolved.

WordPress 2.9 is cool!

Posted by | Posted in News, Tutorials | Posted on 23-12-2009

Tagged Under :

Just found out this morning that WordPress has released 2.9 so I click-updated my blog to the latest version. Thank you WordPress for the one-click-update feature

Enable Multiple Instances of Windows Live Messenger (WLM) for Multiple Logins

Posted by | Posted in How to, Tips and Tricks, Tutorials | Posted on 14-12-2009

Tagged Under : , , , , , , , , , , ,

I just discovered that the latest version of Windows Live Messenger (WLM) supports multiple instances. That means, we don’t need any third party tool to crack it.

The support for multi-WLM i s not enabled by default, but can be easily turned on and enable with registry hack.

  1. Go to Start -> Run
  2. Type regedit and hit enter
  3. Navigate to the following registry key: KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger (For 64-bit x64 OS, go to following registry branch instead: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Live\Messenger)
  4. In the right pane, right click on any blank space, select New on context menu, and then click on DWORD Value
  5. Name the registry value as MultipleInstances with a value 1
  6. Close Registry Editor

Start as many WLM instances as you wish. Its handy when you want to run an office and personal id at the same time.

Are you getting “Unfinished transactions remaining … run yum-complete-transaction first” error?

Posted by | Posted in CentOS, How to, Linux, Tips and Tricks, Tutorials | Posted on 26-11-2009

Tagged Under : ,

Are you getting this?

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

if so, just do this

yum install yum-utils

and then run

yum-complete-transaction

CentOS yum update missing dependency error

Posted by | Posted in CentOS, How to, Linux, OpenSource, Tips and Tricks, Tutorials | Posted on 07-08-2009

Tagged Under : ,

If you are using

yum update

on CentOS and getting the following errors

Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems
Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)

Don’t panic, the solution is simple … just run the following command

yum clean all

Then do

yum update

Installing PHP 5.2.6 on CentOS box

Posted by | Posted in CentOS, How to, OpenSource, PHP, Resources, Reviews, Tips and Tricks, Tutorials | Posted on 10-07-2009

Tagged Under : , , , , , , , , ,

If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps

Read the rest of this entry »

How to Install Apache, PHP and MySQL on CentOS

Posted by | Posted in How to, Linux, OpenSource, PHP, Resources, Tips and Tricks, Tutorials | Posted on 02-07-2009

Tagged Under : , , , , ,

I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice?

Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo.

You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when upgrading your packages.

Read the rest of this entry »

How to Install Webmin in CentOS

Posted by | Posted in How to, Linux, OpenSource, Resources, Tips and Tricks, Tutorials | Posted on 01-07-2009

Tagged Under : , ,

Earlier, I posted a how-to to Install Webmin on Ubuntu, now im going through the tutorial again but this time for CentOS.

Install dependancies before we proceed to install webmin

yum -y install perl-Net-SSLeay

Download the latest version of webmin

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum

Once it is downloaded, install the RPM using the following command

rpm -i webmin-1.500-1.noarch.rpm

No more steps required. Its installed :)
Go to your browser and access the control panel with valid ssh credentials

RSS Feed to Twitter

Posted by | Posted in How to, OpenSource, Reviews, Tutorials | Posted on 17-06-2009

Tagged Under : , , ,

Since twitterfeed.com has not been working good for me so I started looking at alternatives and found this great post about how to do this via PHP

Read RSS Feed Mashup + Twitter = Yummy!

Installing / re-installing and Configuring phpMyAdmin on Ubuntu

Posted by | Posted in How to, Linux, OpenSource, PHP, Resources, Tips and Tricks, Tutorials, Ubuntu | Posted on 17-06-2009

Tagged Under : , , , , ,

phpMyAdmin is a very common and handy tool that most of the developers use. It is available on almost every server.

Installing phpMyAdmin on Ubuntu server is even easier, you just need to

sudo apt-get install phpmyadmin

but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache?

Dont worry just do the following

Edit Apache’s configuration file (assuming you are using apache2)

sudo nano /etc/apache2/apache2.conf
# better to use the following command instead of the one above
#gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf:

Include /etc/phpmyadmin/apache.conf

Now restart Apache:

sudo /etc/init.d/apache2 restart

Go to /phpmyadmin/ and login with your mysql username and password.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes