Plesk

How to install Plesk on Linux with specific pre-installed MySQL/MariaDB version

Question

How to install Plesk on Linux with specific pre-installed MySQL/MariaDB version?

Answer

If MySQL/MariaDB server is already installed on a server:

  1. Connect to the server via SSH.

  2. Create the file /root/.my.cnf:

    # touch /root/.my.cnf

  3. Open the file in a text editor. In this example, we are using the vi editor:

    # vi /root/.my.cnf

  4. Specify the username and the password of a MySQL/MariaDB user with administrator rights:

    [client]
    user = root
    password = "root_password"

  5. Save the changes and close the file.

  6. Install Plesk on the server.

Exit mobile version