This guide covers how to set up and configure plesk on a Linux VPS. Whether you're running a production environment or a development setup, these instructions will help you get started quickly and securely.
Prerequisites
- A registered domain name (for public-facing services)
- A fresh VPS with a supported OS
- Basic familiarity with the Linux command line
- Root or sudo access to the server
- DNS records pointing to your server IP
Installation Process
Security should be a primary consideration when configuring plesk. Always use strong passwords, keep software updated, and restrict network access to only the necessary ports and IP addresses.
# Install the control panel
sudo apt update && sudo apt upgrade -y
curl -fsSL https://get.plesk.org | bash
# Access the panel
echo "Panel URL: https://$(hostname -I | awk '{print $1}'):8443"
echo "Default credentials: admin / check installation output"
Make sure to restart the service after applying these changes. Some settings require a full restart rather than a reload to take effect.
Initial Configuration
When scaling this setup, consider vertical scaling (adding more RAM/CPU) first, as it's simpler to implement. Horizontal scaling adds complexity but may be necessary for high-traffic applications.
# Common panel management commands
sudo plesk list
sudo plesk restart
sudo plesk v-change-web-domain-backend-tpl admin example.com PHP-8.2
sudo plesk status
These commands should be run as root or with sudo privileges. If you're using a non-root user, prefix each command with sudo.
Conclusion
This guide covered the essential steps for working with plesk on a VPS environment. For more advanced configurations, refer to the official documentation. Don't hesitate to reach out to our support team if you need help with your specific setup.