cPanel® Blog

Why you should use RPMs to distribute your application

As a developer, it is important to understand who you are developing for. When developing an application for cPanel & WHM servers, there are 5 potential customer profiles to be aware of:

  • Data centers
  • Developers
  • Website owners
  • System administrators
  • Hosting providers

Understanding these profiles will help you scope and define a project.

In this article, we will focus on Data centers and the various problems you might encounter when working with them.

Data centers make up a nice segment of the cPanel & WHM customer base. They include the likes of SoftLayer, InMotion Hosting, Knownhost, SingleHop, as well as a long list of our worldwide hosting providers. These organizations have spent a considerable amount of time automating server, cloud and VPS deployments. As an application developer, being part of the deployment process is important.

Automated server deployments come in many shapes and sizes, but the important thing to remember is to avoid having a manual installation step as part of the deployment process. Imagine deploying thousands of servers each month and having to log into each in order run a manual installation at the end. This is a real problem for streamlined product delivery. Overcoming this problem can help you, the application developer, gain access to a core distribution channel.

The ideal scenario is getting your application integrated with the deployment, or ordering, process. By this I mean when a potential data center customer is navigating the ordering system, your application becomes a selectable configuration option included with the server purchase, and it is automatically installed and configured. Without automation capability you will have to overcome the challenge of convincing the data center to manually install and configure your application, for each customer who requests it. The closer you can get to achieving automated deployments, the more interested data centers will be in your product.

One way to resolve this problem is to distribute your application as an RPM. An RPM allows the data center to automate installation and configuration at deployment time, without investing resources in working with a variety of third-party applications, each with their own peculiar method of installation and configuration. Decreasing the amount of work involved for a potential customer or client will increase the likelihood of their being willing to distribute your application.

There are other advantages, as well as disadvantages, to using RPMs for your application installation. RPMs are a standardized package format on the Linux platform. This means that Linux-based cPanel & WHM servers come standard with tools to manage RPMs from the command line. Such systems also provide a means of integrating custom RPMs at operating system installation time — for example, using kickstart profiles.

A disadvantage of using RPM is it locks you out of the small part of the cPanel & WHM server base that does not use an RPM package format. While that portion of the server base is expected to diminish over time, excluding yourself from some customers is something to consider.

There is more work involved in packaging your application as an RPM than as a tarball. There are numerous resources available to help you learn and overcome these challenges, such as the book Maximum RPM.

Once in the deployment process, an issue can arise if your application is installed too soon in the process. For example, if your application requires the basic cPanel & WHM setup to first be performed, there may be insufficient data in /etc/wwwacct.conf for your application’s needs. A resolution for this problem is to create a WHM Plugin that handles the configuration of your application. This way, your configuration step can be performed after the WHM Initial Setup Wizard has been run.

cPanel

The web hosting industry’s most reliable, intuitive control panel since 1997. With our first-class support and rich feature set, it’s easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.com.

  • BreakingBad

    I want it, unfortunately your site is not accessible anymore 🙁

    I use the previous version and i definitively love it, but after upgrading my server, i need to reinstall it.

    I hope you will have this message…

  • Mark Hanley

    Ok new theme available bit like the last ones but a lot cleaner 🙂

    http://websiteinternet.co.uk/new-cpanel-clean-theme/

  • WebsiteInternet

    Hi I will be releasing a cleaner update very soon screenshot attached.

    • Dave

      Lokking forward to that 😉 keep up the good work.

      • WebsiteInternet

        Been real busy lately looking to release the theme in February at some point 🙂

  • Sharif

    freeware but no active download link

    • cpnathanli

      I was able to locate the download link on the website. I’ve added their link to this entry so that you can now click on “Download” above and be taken straight to it!

      • BartMan__X

        i dont see the “Download” link

        • Bartman if you look at the bars under the snapshot of their website click on the one that is labeled “Download” then you will be taken directly to the page where you can download them. Once on the page your directed to click on the “cPanel Blue” or “cPanel Dark”

  • not bad, how do we get the theme?

  • foxpink

    You should try it