Centos repo Change from 6.4 to 6 - centos

Centos 6.4 receives no updates
I have a centos VM and i have to install perl
The mirror no longer exists
how to change the Centos version link in the yum Repo
from 6.4 to 6
http://mirrors.vonline.vn/centos/6.4/updates/x86_64/Packages/dbus-glib-0.86-6.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Is this ok [y/N]: y
Downloading Packages:
http://centos-hn.viettelidc.com.vn/6.4/updates/x86_64/Packages/perl-5.10.1-131.el6_4.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.

You could install Perl directly like this;
For a 64-bit processor:
rpm -Uhv http://mirror.centos.org/centos/6/os/x86_64/Packages/perl-5.10.1-136.el6.x86_64.rpm
For a 32-bit processor:
rpm -Uhv http://mirror.centos.org/centos/6/os/i386/Packages/perl-5.10.1-136.el6.i686.rpm
After that you could have a look at the URL's in your repository;
/etc/yum.repos.d/CentOS-Base.repo

Related

gtkplugin.h: no such file or directory [centos 8]?

Fatal error: gtkplugin.h: no such file or directory
I am trying to use make to install plugin for pidgin on centos 8 we have seen the above error.
Even after installing gtk,gtk2/3 devel packages we couldn't get the headfile.
The problem is with centos 8 distribution since there is no pidgin-devel package by default yum installation. So with the use of dnf command and enabling powertools we can install it by using the below command:
dnf --enablerepo=powertools install pidgin-devel
Please refer the link

Fail install package on Centos 7 with Nexus Sonatype

I have 2 server
Server Centos 7
Nexus Sonatype
When i check centos version it return:
But, When I try to install any Package of Centos 7, I received an error: "Depsolving loop limit reached."
There are no errors that happen when I install CentOS 6 packages.
How can I handle this error? Or how can I upgrade up repolist for centos 7 with Nexus.

phpMyAdmin for web [duplicate]

This question already has answers here:
How to install PHP mbstring on CentOS 6.2
(11 answers)
Closed 6 years ago.
I am trying to host phpmyadmin on my server.
I have centos 6.8 but when i load the phpmyadmin it shows 500 error.
I went to error log to check the error and I found this error:
Fatal error: Call to undefined function mb_detect_encoding() in
/var/www/html/phpMyAdminDlc/libraries/php-gettext/gettext.inc
So now I am trying to install mbstring using command
#yum install php-mbstring
But I get error
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.daniel-jost.net
* epel: mirror.daniel-jost.net
* extras: mirror.daniel-jost.net
* updates: mirror.daniel-jost.net
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-mbstring-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common < 5.5
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
cronie-1.4.4-15.el6_7.1.x86_64 has missing requires of /usr/sbin/sendmail
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/sbin/sendmail
I cannot install php-mbstring.Am I missing something?
Try with this:
yum --enablerepo=remi install php-mbstring
Afterthat restart the apache server
Refer:How to install PHP mbstring on CentOS 6.2
http://php.net/manual/en/mbstring.installation.php

Cannot install Flexisip (Linphone SIP server) on Centos 6.8

I am building Voice Call feature for Android app by using Linphone.
On server (CentOS 6.8), I install Flexisip by tutorial on Homepage of Linphone wiki (https://wiki.linphone.org/wiki/index.php/Flexisip:installation).
However in step 1, I cannot install "EPEL repository" for hiredis-devel package because this link is not found: http://mirror.ibcp.fr/pub/epel/7/x86_64/repoview/epel-release.html. If I ignore step 1, then when install Flexisip, it require hiredis-devel with version 0.11 or higher.
So I have some questions:
Can I install Flexisip on CentOS 6.8 ? or Flexisip require CentOS 7 and more recent ?
If I can install Flexisip on CentOS 6.8, how can I install hiredis-devel with version 0.11 or higher ? (because Flexisip require hiredis-devel with version 0.11 or higher, I only can install hiredis-devel with version 0.10 on CentOS 6.8)
Thanks all (sorry I am not native English speaker)
First, you need to download the file using Wget and then install it using RPM on your system to enable the EPEL repository. Use below links based on your Linux OS versions. (Make sure you must be root user).
RHEL/CentOS 7 64 Bit
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
RHEL/CentOS 6 32-64 Bit
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
RHEL/CentOS 6 64-Bit ##
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm

glibc 2.11 error on Marklogic 8.0 installation on CentOS 6.6

When I try to install Marklogic 8.0 (MarkLogic-8.0-2.x86_64.rpm) on CentOS6.6 it fails with following error:
error: Failed dependencies:
libc.so.6(GLIBC_2.11) is needed by MarkLogic-8.0-2.x86_64
I checked installed package of glibc and found that GLIB_2.12 is installed.
I tried erasing GLIBC_2.12, but Cent OS doesn't allow because it has dependencies.
I would appreciate if somebody help me how to install Marklogic 8.0 on CentOS6.6 keeping glibc 2.12 or how to downgrade glib version on CentOs
I haven't tested myself with CentOS 6.6, but am running CentOS 6.5 a lot. Did you try running this before the RPM?
yum -y install glibc.i686 gdb.x86_64 redhat-lsb.x86_64
See also Install Marklogic centos virtualbox vm
HTH!
To add to this: you're seeing this message when you attempt to install because a dependent library is unavailable; in the case of this particular message, if you run this beforehand:
yum install glibc.i686
You should get past that particular issue.