Archive for March, 2011

SBDavid

Cpanel Apache build Summary

Cpanel Apache build Summary

When Apache is rebuilt using EasyApache, the current configuration is processed and stored. After the build process is complete, the new Apache configuration file is processed to yield a new template and add any missing configuration values.

Finally, the previous data stores and the new template are used to generate the completed Apache configuration file.

Reference: http://cpanel.net

Processing the cPanel Apache Configuration

Processing Apache’s configuration file is completed in 2 routines.

1. The first routine attempts to extract VirtualHost domain information and combine it will other cPanel data, in effect creating “user data.” This information is used in mapping domains to user accounts. This particular task is carried out by the userdata_update utility (/usr/local/cpanel/bin/userdata_update).

If you wish to make custom alterations you would need to run /usr/local/cpanel/bin/userdata_update –update.

2. The second routine attempts to pull out the remaining information within each VirtualHost entry. Some of this information is version-specific and requires the Apache directive-aware tool /usr/local/cpanel/bin/apache_conf_distiller. This is the same tool that processes Apache’s main directives and generates the main Apache template.

Reference: http://cpanel.net/

Cpanel supported virtual environments and supported operating systems

Supported Virtual Environments1, 2
KVM
Linux-VServer
Microsoft Server® 2008 Hyper-V3
OpenVZ (stable releases only)
Oracle VM VirtualBox, VirtualBox OSE
Virtuozzo™
VMware® Server, VMware® ESX Server
Xen, XenEnterprise™, XenExpress™, XenServer™

Supported Operating Systems

(i386 and x86-64 ONLY)
CentOS versions 4.x, 5.x
Red Hat® Enterprise Linux® versions 4.x, 5.x
FreeBSD®-RELEASE versions 7.3, 8.0, 8.1

cPanel does not support VPS licenses for the FreeBSD operating system.
cPanel does not support 32-bit Virtual Environments that run on a 64-bit host kernel.
cPanel supports the drivers and configurations provided by Microsoft.

Reference: http://cpanel.net/

CentOS Cpanel Quick Install CD ISO Images & kickstart file

CentOS-5.4-i386-cPanel.iso (Wed Feb 24 22:31:12 2010)
CentOS-5.4-x86_64-cPanel.iso (Wed Feb 24 22:32:13 2010)

Sample kickstart file for automated CentOS Linux installs:

http://httpupdate.cpanel.net/cpanel-ks.cfg

cPanel 11.28, Database Mapping benefits

1. Accounts transferred from non-cPanel servers, such as those running Plesk or Ensim, will no longer have the cPanel account name added as a prefix to the names of databases and database users. This means applications like blogs and forums should work with minimal (or no) changes after transfer.
2. Server owners can disable use of the database name prefix server-wide. If a server owner chooses this option, databases and database users will no longer be created with the cPanel account as a prefix (for example, a database could be named “dbase” instead of “user_dbase”). This option is not reversible.

Reference: http://cpanel.net/

« Prev - Next »