How to modify cPanel/WHM News

WHM 11 management series

How to modify cPanel/WHM News

It is important that you stay in touch with your customers, especially in cases where they may experience service outages. One way to keep them posted is to use the cPanel/WHM News system.

1) Go to the cPanel section in the menu.

2) Then Modify cPanel/ WHM News.

There are four boxes here that allow you to type up news to be used in cPanel & WHM. The text you enter will not be formatted in any way, so you need to use HTML to do that; you must use <br /> in order to put line breaks in your text.

The first textarea is for Global cPanel News. This will be displayed in all cPanel accounts, including your resellers’ customers.

4) Enter some text to display.

Next is Global WHM News. All resellers on this system will see what you enter here when they access WHM.

5) Scroll down.

Resold Customer News will be displayed only to your resellers’ customers.

cPanel News will be displayed to all your customers only, not resellers’ customers.

6) Click Save News when finished here.

That’s it! Your news has been saved.

This completes the tutorial. You now know how to modify the news displayed by cPanel/WHM.

How to manage cPanel Plugins in WHM

WHM 11 management series

How to manage cPanel Plugins in WHM

There are several Plugins available for cPanel that you might want to try out. Some of them are outdated or superseded by functionality in newer versions of cPanel.

1) Go to the cPanel section in the menu.

2) Click Manage Plugins.

3) Scroll through and see if there’s anything here that interests you.

4) When you find something you’d like to install, click the checkbox next to Install and Keep Updated.

5) When finished, click Save.

Both of the cPanel Plugins we chose have been installed. They should now be active in cPanel.

This is the end of the tutorial. You now know how to manage cPanel Plugins in WHM.

How to change cPanel’s branding using WHM

WHM 11 management series

How to change cPanel’s branding using WHM

The Branding feature in WHM allows you to make changes to the look and feel of your customers’ cPanel accounts. In particular, you can change the logo from cPanel’s to your own.

1) Locate the cPanel section of the menu.

2) Click Branding.

3) Most of the instructions here apply to the bluelagoon theme, which is not available by default; it’s inferior to what is available, anyway. So, just disregard all that and scroll down.

Here is a list of all the themes you can edit. Apart from any custom themes you might have installed, cPanel recommends that you stick with using the x3 theme instead of the older versions, x and x2.

4) Let’s edit x3. Click here to be taken to its Branding Editor.

As you can see, this looks just like a cPanel account. On this first page, you’ll see a list of the 14 default Branding Styles. There are several actions you can perform on each style.

Using the button directly above, you can create a new branding style based on the default, or upload one that someone else has created.

With the button next to that, you can download or delete your existing branding styles.

Each style displays a preview image. Clicking on that image will bring up a full-sized screenshot.

If you wish to disable a branding style, do so with the checkmark above each one.

Currently Selected Style, above, states the style your account is currently set to use in cPanel… the style you see right now, in other words.

Below that, you can see which style will be used when a user doesn’t choose a style.

For us, both of these options are set to [root], which refers to the default cPanel x3 branding style.

All the actions beneath each style are the same. You can apply a style to your own account, which isn’t very useful as the root user, but would be if you were a reseller. You can also apply a theme to all accounts or set it as the default to use when creating new accounts.

5) Edit a style with this link. Let’s edit the default x3 theme.

Here is the Branding Editor for this theme.

You have the Advanced tools down here that let you edit the HTML and CSS of the theme, but we won’t be getting into that in this demonstration.

Then, at the top are the Basic editing tools.

6) Let’s start by editing the logo. Click Edit Logos.

7) The first thing you can do in the Logo Editor is drag the logo around and put it wherever you want.

You should notice your cursor changes when you move your mouse over the logo.

8) Click and drag to move the logo.

The CSS used to control the logo’s position is saved automatically, without any further action on your part.

You should also see it updating in this box as you drag the logo around.

You can’t drag the logo below the header area. Or above it, either.

9) We’ll put ours back in the default spot.

Use the upload form here if you’d like to replace the logo image. For this theme, the logo should be on a transparent background for best results. As stated below, your replacement image must use the filename specified above and have one of three extensions: .jpg, .png, or .gif

10) First, choose the file here.

11) Then, click Upload Images to submit the form.

12) If you change your logo and wish to change it back later, you can do so with the Reset button here.

13) Return to this style’s main editing page by clicking here.

14) Next, let’s check out the Edit Icons page.

This page is for editing the icons used on cPanel’s main page. The table at the top of the page is similar to the one in the logo editor.

Again, you must use the same file naming scheme for the files you upload here. You should also ensure that your images match the width and height values specified here.

You can also Reset All Icons with this button.

Sprites are used to join all the icons together into one giant image. It’s much faster to download one image than it is to download dozens, even if the total size is still the same.

WHM should automatically regenerate the sprites file whenever you change an icon. If it doesn’t for some reason, you can force it to do so by clicking Generate Sprites.

15) Go Back again.

16) Edit Header/Footer and Edit UI are exactly the same as the Edit Icons page; they just contain different images used elsewhere by the theme.

Edit Preview Images allows you to change the images that will be shown when a client picks a style, such as the one to the right. You’ll want to recreate these when you’re done, so they display an accurate view of your finished style.

17) Close this tab or window and return to WHM.

Clicking [edit live] next to any of the other themes here should bring you to a similar Branding Editor for that theme, but none of them are as powerful as the one you just saw.

The x and x2 themes also have a different editor that just allows you to change the theme’s images.

This completes the tutorial. You now know how to use the Branding Editor in cPanel/WHM, with particular focus on the x3 theme.

How to manage Themes in WHM

WHM 11 management series

How to manage Themes in WHM

Themes in WHM and cPanel are not only used to adjust the look and feel of the software, but the interface and functionality as well. The default theme for cPanel is x3, while the standard theme in WHM is x.

All other themes included with cPanel have been deprecated, and cPanel recommends you don’t use them. You should find that x3 provides the most functionality out of all the available choices, anyway.

You’ll see in the tutorial directly after this one how to adjust the way a theme looks with the Branding Editor, with a particular focus on the x3 theme. Be sure to check it out, if that interests you.

Now, let’s see how to manage themes in WHM.

1) Under the Themes category, go to the Universal Theme Manager.

Here, you can manage themes for cPanel, its login page, webmail, and WHM. All of these sections are very similar, so we’ll just be going over one in this tutorial.

2) Under cPanel, click Manage Themes.

This is the cPanel Theme Manager. Here, you can see a list of all the themes currently installed for cPanel and perform several actions on each. We should note right away that the x3mail theme is intended for servers that will only function as a mail server. This theme is not for accounts that will host websites.

Down here, you can install a cPanel Theme using a .cptheme file. You can also manage addon themes, but there isn’t much of a selection.

You can download or delete a theme using these buttons. Or, view a preview image of a theme by clicking the magnifying glass next to its name.

3) To create a new theme based off of an existing one, use the Clone tool.

4) Click the Select link next to a theme.

5) Enter a name for the new theme, then press Submit.

The theme has now been cloned to a new one.

6) Now, let’s take a quick look at the X Skin Migration Wizard.

If any users or packages on your system are using a theme other than the new x3, they will be listed here. You’ll be able to migrate them all to the new theme using this tool.

This completes the tutorial. You now know how to manage Themes in WHM.

How to check your system’s health with WHM

WHM 11 management series

How to check your system’s health with WHM

Like Server Status, the System Health category also contains a number of potentially useful tools relating to CPU usage, disk usage, and the currently running processes.

1) Scroll down to System Health in the menu.

2) Start with Show Current CPU Usage.

This page displays a sizeable list of the processes running on your server. Next to each process, you’ll see who’s running it, how much CPU and Memory it’s using, as well as the command that was used to run the process.

3) Click on a process’ ID to view its page.

Each process’ page displays the same information as the previous one, but you do have two links here that aren’t on that page.

Tracing a process allows you to observe and control the process as it executes.

4) Click Trace to start tracing this process.

Killing a process is sometimes necessary when it begins using too many resources.

5) To kill this process, use the Kill link.

6) Next, let’s take a look at Show Current Disk Usage.

The first section of this page contains current disk usage information. Each partition has its own row; a partition’s total size, current usage, and available remaining space is listed next to the partition’s device name.

To the left of each row, you’ll see a pie graph. The colored portion depicts the percentage from the table, and both of these represent the relation of current disk usage to total size.

Mount Point is basically the path to the partition on the filesystem.

This table lists detailed Input/Ouput statistics about each hard drive and all its partitions.

7) Next, go to the last page in System Health — Show Current Running Processes.

This page is similar to the CPU Usage page, but instead shows all processes on the server in order by their process IDs.

You can’t view resource usage stats here. One thing that may be useful and wasn’t on the other page is the File column, which shows the entire path to the file running the command.

Here are a few processes you may recognize. Above is a process for WHM.

Further down the page is HTTPD, which is Apache web server. Below that are two processes for the MySQL server.

That’s all we’re going to show you from System Health right now. You’ll see how to use the Background Process Killer tool in one of the tutorials that follows.

This is the end of the tutorial. You now know how to check your system’s health in WHM.