
The /etc/cpanelacctrestore file contains a list of accounts to automatically restore during the cPanel & WHM installation process.
#CPANEL UBUNTU INSTALL#
With one entry per line, list the parameters and values that you wish to configure in key=value format.įor example, to preconfigure your server to deny the nobody user the ability to send email to a remote address, add the nobodyspam=1 line to the /root/cpanel_profile/nfig file before you install cPanel & WHM. To set these parameters, perform the following steps:Īs the root user, create the /root/cpanel_profile/nfig file. If you set the mysql-version key to a value other than 8.0 on an Ubuntu 20.04 LTS server, the installation process will fail. We only support the MySQL 8.0 database server for Ubuntu 20.04 LTS. If you set the mysql-version key to an unsupported version of a database (for example, mysql-version=5.1), the installation process will fail. However, we do not support the configuration of existing installations of cPanel & WHM. You can configure the version of MySQL® or MariaDB® to use in the /root/cpanel_profile/nfig file’s mysql-version key before you install cPanel & WHM. Some of the values that the /root/cpanel_profile/nfig file contains are dynamic, or require specific values. The system uses these settings to set the values in the /var/cpanel/nfig file. This file stores the settings that WHM’s Tweak Settings interface ( Home > Server Configuration > Tweak Settings) contains, as well as various configuration settings for other cPanel & WHM features. When you install cPanel & WHM, the system reads the /root/cpanel_profile/nfig file. Required Whether the system aliases a /cgi-bin/ directory on account creation. The default time to live (TTL) value that DNS zones will use. Required A second nameserver to add to DNS zones by default.Īn additional nameserver to add to DNS zones by default. Required The primary nameserver to add to DNS zones by default. (For example, a value of users matches system mounts of users, users1, or users3.) Required The path to the default home directory.Ī string that determines which partitions to use as home directories for new accounts.
#CPANEL UBUNTU ARCHIVE#
tar arg1 - Access the contents of the arg1 archive through the tar command. target NewDirectory - Extract the cPanel & WHM installation files to the NewDirectory directory.
#CPANEL UBUNTU LICENSE#
skip-cloudlinux - Skip the automatic CloudLinux conversion process even if a license exists. nox11 - Do not spawn an X terminal input terminal. noexec - Do not run the installation script. nochown - Do not assign permissions for the extracted files to the current user. keep - Do not delete the target directory after installation. force - Force installation on an unrecommended configuration. confirm - Require confirmation before the installation script runs. You can use the following options to customize cPanel & WHM’s installation process:
