Skip to main content

Avoiding services to be installed

Comments

7 comments

  • cPanelMichael
    Hello :) You can configure some of the services as "Disabled" via: "WHM Home " Service Configuration" Beyond that, you can set certain RPMs as "uninstalled" so they are not managed through cPanel. There is a document on this at: RPM Cookbook Thank you.
    0
  • Silent Ninja
    Wow, the RPM Cookbook is an awesome feature! Do you know where can I find the list of targets to check which ones I need?
    0
  • cPanelMichael
    Yes, I believe this is the file you are looking for: /usr/local/cpanel/etc/rpm.versions
    Thanks.
    0
  • Silent Ninja
    That's the file I was looking for. Only as a sidenote, I've noticed that it says on the target_settings list... MySQL51: uninstalled MySQL55: uninstalled MySQL56: uninstalled However MySQL 5.5 is installed... could cPanel be overriding this setting or simply not updating the file?
    0
  • cPanelMichael
    You should see the installed MySQL version listed in: /var/cpanel/rpm.versions.d/local.versions
    This document is also helpful: How to Customize and Override the rpm.versions System Thank you.
    0
  • Silent Ninja
    Nope, this are the contents of that file... --- file_format: version: 2 install_targets: {} rpm_locations: {} srpm_sub_packages: {} srpm_versions: {} target_settings: easy-tomcat7: uninstalled munin: installed url_templates: {}
    In case you want to check, here's the contents for the rpm.versions file:
    0
  • cPanelMichael
    Are you trying to ensure MySQL is not managed or updated with cPanel? If so, simply run: /scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled
    Thank you.
    0

Please sign in to leave a comment.