Showing posts with label upgrade. Show all posts
Showing posts with label upgrade. Show all posts

Monday 8 April 2013

Upgrade PECL Memcache extension

The following instructions will download latest PECL Memcache extension. Goto PECL Memcache website. Download the tgz file using wget, and install as follows.

$ mkdir /tmp/temp
$ cd /tmp/temp
$ wget http://pecl.php.net/get/memcache-3.0.8.tgz
$ tar -xzvf memcache-3.0.8.tgz
$ cd memcache-3.0.8/
$ phpize
$ ./configure
$ make
$ make test
$ make install
$ service httpd restart

Tuesday 26 March 2013

Upgrade mysql (5.1) to mysql55 on CENTOS6

To upgrade from mysql (default ver 5.1) to mysql55 (IUS ver 5.5):

Replace residual mysql component to mysql55:
[root@localhost ~]# yum replace mysql-libs --replace-with mysql55


Install server and client:
[root@localhost ~]# yum install mysql55-server mysql55


Start server upon reboot:
[root@localhost ~]# chkconfig mysqld on 


Start server service:
[root@localhost ~]# service mysqld start


Change root password:
[root@localhost ~]# mysqladmin -u root password

Upgrade php53u to php54 on CENTOS5

To upgrade php53/php53u to php54 on CENTOS5.

Enable IUS and EPEL:

[root@example ~]# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/5/x86_64/ius-release-1.0-10.ius.centos5.noarch.rpm
[root@example ~]# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/5/x86_64/epel-release-5-4.noarch.rpm


Install yum replace plugin:
[root@example ~]# yum install yum-plugin-replace
Upgrade php53 to php4:
[root@example ~]# yum replace php53u --replace-with php54
Verify php version:
[root@example ~]# php -v
Restart httpd:
[root@example ~]# service httpd restart

search iomeweekly