Plesk Utility
The plesk
command line utility is used to wrap other Plesk command line utilities. Additionally, it provides administrators and developers convenient way to access Plesk database, configuration files, and log files and allows performing other important tasks such as running daily maintenance script and the Plesk installer.
Usage
Example
The following command creates the additional Administrator account with the contact name John Doe, Plesk login name JDoe, password sample, and account's email address JDoe@example.com.
Commands
Command | Parameter | Description | Example | |
---|---|---|---|---|
|
|
Runs the specified Plesk command line utility (e.g., This is applicable to public CLI utilities located at the |
To create the account with the login name JDoe, password sample, and the account's email address JDoe@example.com: plesk bin admin_alias --create JDoe -passwd sample -email JDoe@example.com or plesk bin admin_alias -c JDoe -passwd sample -email JDoe@example.com |
|
|
|
Open the specified Plesk configuration file in the editor. The available configuration files are: |
To open plesk conf panel.ini |
|
|
|
Run daily maintenance script. The following scripts are available:
|
To run daily check for updates: plesk daily CheckForUpdates |
|
|
|
Execute database specific command. Open MySQL console if no particular command was specified. Run an SQL query if it is provided instead of a command Additional commands:
|
To display the list of existing database tables:
plesk db tables |
|
|
|
Run Plesk installer with given options or a predefined set of options via a shortcut.
Available shortcuts:
|
To install all available updates within current Plesk version: plesk installer |
|
|
|
Display the specified Plesk log file using the " Available log files:
|
Display Plesk error log: plesk log |
|
|
|
Run a PHP script using the Plesk PHP interpreter. |
To run the plesk php /tmp/script.php |
|
|
|
Run Plesk check and repair tool. Provide aspect ' Available aspects: Available options: For details, refer to Plesk Repair Tool. |
To reconfigure the mail settings for all mailboxes belonging to the example.com domain, as well as domain-wide mail settings:
|
|
|
|
Run the specified Plesk internal utility. This is applicable to the utilities located at |
To enable nginx proxy server: plesk sbin nginxmng -e
|
|
|
|
Show product version information. Version, build date, revision and architecture will be shown. |
To view Plesk version information: plesk version |
|
|
|
Show help and exit. If a command name is specified, the help for a particular command is displayed. If no parameters are used, the |
To view the help for the
plesk help repair |