Archive for the tag 'Updating'

SBDavid

Checking For and Updating Packages

Checking For and Updating Packages

To see which installed packages on your system have updates available, use the following command:

yum check-update

Updating Packages

You can choose to update a single package, multiple packages, or all packages at once. If any dependencies of the package (or packages) you update have updates available themselves, then they are updated too.
Updating a Single Package

To update a single package, run the following command as root:

yum update package_name

Updating All Packages and Their Dependencies

To update all packages and their dependencies, simply enter yum update (without any arguments):

yum update

Installing or Updating PostgreSQL on Your cPanel & WHM Server

cPanel & WHM works with PostgreSQL 7.3.x or later.

Using the command line interface, log into your server as root.

If you have PostgreSQL 7.2.x installed, back up your databases using pg_dumpall or some other method. If you have databases you wish to keep, move your existing PostgreSQL data directory somewhere else by, for example, typing the following command.

mv /var/lib/pgsql /var/lib/pgsql.old

To begin the installation process:

On a CentOS or RedHat system, use the following script:

/scripts/installpostgres

This script executes yum install postgresql (and related RPMs).

SBDavid

Updating RubyGems

Updating RubyGems

You will have to manually update any RubyGems that is installed.

Run

/usr/local/cpanel/scripts/installruby

WHM will install only required modules.

It will update these modules when /usr/local/cpanel/scripts/upcp runs.

SBDavid

Updating cPAddons

Updating cPAddons

cPAddons: Pieces of software that you can install on your website through cPanel. cPAddons provide useful tools to your website. Common examples include bulletin boards, chat programs, and online shopping carts.

You can manage specific configuration options for your cPAddons using the Manage cPAddons feature located at
Main >> cPanel >> Manage cPAddons in your WHM interface.

This feature will allow you to choose which cPAddons you wish to update automatically.

These cPAddons are updated by a cronjob that runs nightly. This cronjob updates the cPAddon repository for the entire server.

Updating the PHP instance used by cPanel

PHP used by cPanel

To update the PHP instance used by cPanel, run

/usr/local/cpanel/scripts/makecpphp

from the command line.

Next »