plesk
Manage Plesk server configurations
TLDR
Generate an auto login link for the admin user and print it
Show product version information
List all hosted domains
Start watching for changes in the panel.log file
Start the interactive MySQL console
Open the Plesk main configuration file in the default editor
SYNOPSIS
plesk command [options]
PARAMETERS
version
Displays the Plesk version.
repair
Performs automated server repair actions.
bin
Executes a Plesk utility.
sbin
Executes a Plesk utility with root privileges.
php
Allows to run php scripts inside the Plesk environment. Similar to running php using CLI but with access to all of the Plesk classes.
DESCRIPTION
Plesk is a comprehensive web hosting control panel that simplifies server administration. The plesk
command-line utility provides a powerful interface for managing various Plesk functionalities directly from the terminal. It allows administrators to perform tasks such as creating and managing domains, email accounts, databases, and security settings.
Using the plesk
command-line tool, you can automate various hosting tasks, streamline server management, and troubleshoot issues efficiently. Plesk offers a wide range of options and arguments, making it a versatile tool for managing your web hosting environment. It's particularly useful for scripting repetitive tasks or integrating Plesk management into automated workflows. This command is essential for users who prefer a command-line interface or need to manage their Plesk server remotely.
CAVEATS
The availability of specific commands and options depends on the installed Plesk version and installed extensions. Requires root or administrator privileges to execute some commands.
EXIT CODES
The plesk
command returns different exit codes to indicate the outcome of its execution. A zero exit code typically signifies successful completion, while non-zero codes indicate errors or failures. Refer to the Plesk documentation for a detailed list of exit codes and their meanings.
TROUBLESHOOTING
If you encounter issues with the plesk
command, check the Plesk logs for error messages or warnings. Ensure that you have the necessary permissions to execute the command. It might be necessary to restart the Plesk service for changes to take effect. Consult the official Plesk documentation and community forums for solutions to common problems.
HISTORY
Plesk evolved from a simple hosting automation tool to a feature-rich control panel. The command-line utility was developed to provide a more efficient way to manage Plesk functionalities. Over time, the tool was expanded to cover more aspects of server administration, including domain management, security settings, and database administration. Its continued development has made it an essential tool for Plesk users, offering flexibility and control over their hosting environments.