Archive

Archive for January 5, 2012

libmcrypt.so.4()(64bit) is missing

January 5, 2012 Leave a comment

Issue:

# yum install php-mcrypt

reported: libmcrypt.so.4()(64bit) is missing

Solution:

1. Install rpmforge repository

2. # yum –enablerepo=rmpforge install libmcrypt libmcrypt-devel

3. # yum –enablerepo=remi install php-mvrypt

4. # yum –enablerepo=remi install phpmyadmin

 

Categories: LAMP, yum

yum install phpMyAdmin

January 5, 2012 Leave a comment

# yum –enablerepo=remi update

–> This will update php and mysql

 

#yum –enablerepo=remi install phpmyadmin

Categories: LAMP

yum enable epel and remi repository

January 5, 2012 Leave a comment

A. Install Epel and Remi Repository

1. Download the latest Remi repository

# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

# wget http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

2.  Run the rpm install command

#   rpm -Uhv epel*.rpm
#   rpm -Uvh remi-release-6*.rpm

3. vi /etc/yum.repos.d/epel.repo, replace repository URL as http://download.fedora.redhat.com

 

B. Configure Remi Repository

1. Open the Remi repository file

    /etc/yum.repos.d/remi.repo

/etc/yum.repos.d/epel.repo

2. Enable the Epel and Remi Repository

3. Change enabled=0 to enabled=1

4. Set priority for the Remi Repository

5. Add priority=4 to the end of the [remi] section

6. Add priority=5 to the end of the [remi] section

C. Centalt Repository

  1. Download the latest centalt-release rpm
    # wget http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm
  2. Install centalt-release rpm:
    # rpm -Uvh centalt-release*rpm

D. rmpforge Repository

  1. Download the latest centalt-release rpm
    # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
  2. Install centalt-release rpm:
    # rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
  3. vi /etc/yum.repos.d/rpmforge.repo

replace apt.sw.be with rpmforge.net

Categories: yum