How to use Percona with Virtualmin on Centos 6.4 or Debian 7

5 posts / 0 new
Last post
#1 Thu, 06/20/2013 - 03:26
arthur bonnet

How to use Percona with Virtualmin on Centos 6.4 or Debian 7

Hi there, does anyone know how to install Percona with Virtualmin on Centos 6.4 or Debian 7? I found a useful topic but is on Ubuntu (http://www.virtualmin.com/node/25916).

I tried to install Percona on Debian 7 but failed as it needs the package libc6 >=2.14, while the default libc6 in Wheezy is libc6 2.13-38. The libc6 in Jessie and Sid is 2.17. However, I don't want to use Jessie or Sid considering stability.

I also tried Centos 6.4 (actually Centos is my first choice), but also failed. It shows the following errors:

Error: mysql conflicts with Percona-Server-client-55-5.5.31-rel30.3.520.rhel6.x86_64 Error: mysql-server conflicts with Percona-Server-server-55-5.5.31-rel30.3.520.rhel6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Please let me know how to fix the problem if anyone knows (perhaps there are also many guys want to know it).

Cheers!

Arthur

Thu, 06/20/2013 - 08:25
andreychek

Howdy,

According to the Percona site, Debian 7 should be supported... they have instructions on how to install it here:

http://www.percona.com/doc/percona-server/5.5/installation/apt_repo.html

Thu, 06/20/2013 - 08:36 (Reply to #2)
arthur bonnet

Hi andreychek, thank you for your reply! Yes I actually followed the Percona site's instructions before but failed. It's because of the libc6 problem (need to >=2.14). Now I hope to find a way to install Percona smoothly on Debian 7 or Centos 6.4 if anyone could give a hand which would be greatly appreciated.

Cheers!

Wed, 06/26/2013 - 05:30 (Reply to #3)
andrija

Hi,

I'm running Percona Server 5.5.latest on Virtualmin on CentOS 6.4 x64:

  1. Install Virtualmin as default (with all php, mysql, etc stuff)
  2. rpm -e --nodeps mysql* (remove all packages, including mysq-libs)
  3. Install percona server:
Repo install

rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x...

Install

yum install Percona-Server-client-55 Percona-Server-server-55 Percona-Server-shared-55 Percona-Server-shared-compat

and you are done - the only problem, you will not be able to start/stop/restart Percona server from Webmin (Percona uses /etc/init.d/"mysql" instead of "mysqld" script, so webmin doesn't know about that)...

Everything works fine.

Sun, 10/06/2013 - 03:51
anshu.s

Hi,

Try Creating a Softlink and it will be fine

[root@server15 init.d]# ln -s mysql mysqld
[root@server15 init.d]# nano mysqld
[root@server15 init.d]# service mysqld restart
Shutting down MySQL (Percona Server).....                  [  OK  ]
Starting MySQL (Percona Server)..                          [  OK  ]
[root@server15 init.d]#

R, anshu.s

Topic locked