ajenti-v icon indicating copy to clipboard operation
ajenti-v copied to clipboard

[Feature] ajenti-v with MySQL/PHP from CentOS SCL

Open mexicarne opened this issue 10 years ago • 3 comments

Hello,

Is there any possibility to use ajenti-v with mysql/php versions from centos SCL? For example, I have this rpm's installed (among other): php54-php-fpm-5.4.16-16.el6.centos.alt.x86_64 mysql55-mysql-server-5.5.37-1.2.el6.centos.alt.x86_64

But when installing ajenti plugins for mysql and php-fpm from the ajenti official repo, it is pulling the mysql and php-fpm dependencies from the standard centos repo (mysql 5.1.x and php 5.3.x) ignoring the fact, there are newer versions of it already installed. How this could be solved?

mexicarne avatar Sep 25 '14 13:09 mexicarne

Hi, the dependencies are pulled because the plugins depend on 'php-fpm' and 'mysql-server' packages respectively. You either need to have custom packages which provide these names, or install Ajenti V from source code (copy plugins into /var/lib/ajenti/plugins)

Eugeny avatar Sep 25 '14 13:09 Eugeny

I don't know how rpm deps format looks like, but isn't it possible to use some regex to cover both phpXX-php-fpm and php-fpm? And the main issue - SCL packages installed under /opt/rh/ tree, so it looks like ajenti-v needs more than just dependency solving to works with it. SCL is the official redhat/centos feature: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html

mexicarne avatar Sep 25 '14 14:09 mexicarne

@Eugeny can you elaborate on "You either need to have custom packages which provide these names, or install Ajenti V from source code (copy plugins into /var/lib/ajenti/plugins)"

If I install php56w-fpm from here - https://webtatic.com/packages/php56/ - how would I configure the plugin to work with it?

codecowboy avatar Feb 14 '15 07:02 codecowboy