{"id":261,"date":"2021-07-23T12:26:46","date_gmt":"2021-07-23T12:26:46","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/rpm-targets\/"},"modified":"2021-07-23T12:26:46","modified_gmt":"2021-07-23T12:26:46","slug":"rpm-targets","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/rpm-targets\/","title":{"rendered":"RPM Targets"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>An RPM target represents the group of RPMs that must exist on the server for a specific service to function properly.<\/p>\n<h2 id=\"what-is-an-rpm-target\">What is an RPM target?<\/h2>\n<p>The rpm.versions system uses the target setting to determine whether to install or uninstall that target\u2019s specific RPMs. The <code>target_settings<\/code> section of the <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file contains the cPanel-provided default status for each target.<\/p>\n<p>For example, the cPanel-provided distribution of ClamAV consists of three RPMs:<\/p>\n<ul>\n<li><code>cpanel-clamav<\/code><\/li>\n<li><code>cpanel-clamav-virusdefs<\/code><\/li>\n<li><code>cpanel-perl-522-File-Scan-ClamAV<\/code><\/li>\n<\/ul>\n<p>In the <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file, the setting for the <code>clamav<\/code> RPM target controls how the rpm.versions system manages all three of these components.<\/p>\n<div class=\"callout callout-cpanel\">\n<div class=\"callout-heading\">More:<\/div>\n<div class=\"callout-content\">\n<p>For more information about the <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file, read our The rpm.versions File documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"rpm-target-states\">RPM target states<\/h2>\n<p>The RPM targets on your server may exist in any of the following states:<\/p>\n<ul>\n<li><code>installed<\/code> \u2014 The rpm.versions system ensures that the RPMs for that target are installed and functional.<\/li>\n<li><code>uninstalled<\/code> \u2014 The rpm.versions system ensures that the RPMs for that target are uninstalled.<\/li>\n<li><code>unmanaged<\/code>  \u2014 The rpm.versions system ignores the RPMs for that target, regardless of whether they are installed on the server.<\/li>\n<\/ul>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>You may experience problems with certain services if cPanel &#038; WHM does not manage them:<\/p>\n<ul>\n<li>The rpm.versions system does not update unmanaged RPMs. These RPMs require manual upgrades and maintenance.<\/li>\n<li>If you upgrade a server with unmanaged FTP targets, problems may occur in cPanel\u2019s FTP-related interfaces. For more information, read our How to Restore Missing FTP Interfaces in cPanel documentation.<\/li>\n<li>Unmanaged RPM targets may become upgrade blockers for a future version of cPanel &#038; WHM.<\/li>\n<li>If a MySQL\u00ae RPM target is unmanaged, the system also blocks MariaDB on the server. To successfully use a cPanel-managed installation of either MySQL or MariaDB, the rpm.versions system must manage both RPM targets.<\/li>\n<\/ul><\/div>\n<\/div>\n<h2 id=\"legacy-rpms\">Legacy RPMs<\/h2>\n<p>The RPMs that cPanel, L.L.C. provided prior to the implementation of the rpm.versions system are now legacy RPMs. The settings in the <code>\/var\/cpanel\/cpanel.config<\/code> file control these legacy RPMs.<\/p>\n<ul>\n<li>The system stores these settings in the <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file.<\/li>\n<li>The files in the <code>\/var\/cpanel\/rpm.versions.d\/<\/code> directory can override the <code>target_settings<\/code> configuration.<\/li>\n<\/ul>\n<h2 id=\"configuration-file-settings\">Configuration file settings<\/h2>\n<p>The following table lists the settings in the <code>\/var\/cpanel\/cpanel.config<\/code> file that control the actions of legacy RPMs:<\/p>\n<ul>\n<li><code>mysql-version<\/code> \u2014 <code>MySQL55<\/code>, <code>MySQL56<\/code>, <code>MariaDB100<\/code><\/li>\n<li><code>local_nameserver_type<\/code> \u2014 <code>bind<\/code>, <code>mydns<\/code>, <code>ned<\/code>, <code>powerdns<\/code>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>We deprecated the MyDNS and NSD nameservers in cPanel &#038; WHM version 78 and plan to remove them a future release. We strongly recommend that you migrate to PowerDNS. For more information, read our cPanel Deprecation Plan.<\/p>\n<\/p><\/div>\n<\/div>\n<\/li>\n<li><code>mailserver<\/code> \u2014 <code>dovecot<\/code>, <code>exim<\/code><\/li>\n<li><code>ftp-server<\/code> \u2014 <code>pure-ftpd<\/code>, <code>proftpd<\/code><\/li>\n<\/ul>\n<div class=\"callout callout-cpanel\">\n<div class=\"callout-heading\">More:<\/div>\n<div class=\"callout-content\">\n<p>For more information, read our The cpanel.config File documentation.<\/p>\n<\/p><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview An RPM target represents the group of RPMs that must exist on the server for a specific service to function properly. What is an RPM target? The rpm.versions system uses the target setting to determine whether to install or uninstall that target\u2019s specific RPMs. The target_settings section of the \/usr\/local\/cpanel\/etc\/rpm.versions file contains the cPanel-provided &hellip;<\/p>\n","protected":false},"author":1,"featured_media":262,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/261"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/262"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}