How to Run CyberPanel on VPS?

11 minutes read

To run CyberPanel on a VPS, you need to follow these steps:

  1. Choose a suitable VPS provider: Look for a reliable VPS provider that meets your requirements, offers good performance, and has a user-friendly control panel.
  2. Set up your VPS: Sign up for a VPS plan and configure it according to your needs. This typically involves selecting an operating system (such as CentOS or Ubuntu) and setting up SSH access.
  3. Connect to your VPS via SSH: Use an SSH client (like PuTTY for Windows or Terminal for macOS/Linux) to establish a secure connection to your VPS.
  4. Install CyberPanel's dependencies: Install the required dependencies on your VPS. These typically include packages like Python, OpenLiteSpeed, and MariaDB/MySQL.
  5. Download and install CyberPanel: Download the CyberPanel installer script using the following command: wget -O installer.sh https://cyberpanel.net/install.sh. Then, execute the installer script using the following command: sh installer.sh.
  6. Follow the installation wizard: The CyberPanel installer will launch a setup wizard that prompts you to provide some configuration details, such as your email address, hostname, and root password.
  7. Complete the installation: Once you have provided the necessary information, the installation process will commence. Wait for the installation to complete.
  8. Access CyberPanel's control panel: Once the installation is finished, you can access CyberPanel's control panel by visiting your VPS's IP address or domain name on a web browser (e.g., http://your-vps-ip/). You will be prompted to create an admin password during the first login.
  9. Configure CyberPanel: After logging in, you can configure various settings in CyberPanel to suit your requirements. This may include setting up websites, configuring DNS, managing email accounts, and more.
  10. Start using CyberPanel: Upon completing the setup and configuration, you can start using CyberPanel's features to host websites and manage your server.


Remember to refer to the official CyberPanel documentation for any specific requirements or additional configuration steps.

Best Cloud Hosting Providers of July 2024

1
AWS

Rating is 5 out of 5

AWS

2
DigitalOcean

Rating is 4.9 out of 5

DigitalOcean

3
Vultr

Rating is 4.8 out of 5

Vultr

4
Cloudways

Rating is 4.6 out of 5

Cloudways


What are the benefits of using CyberPanel on a VPS?

There are several benefits of using CyberPanel on a VPS (Virtual Private Server):

  1. Easy installation and management: CyberPanel provides a simple and user-friendly interface for managing the server and websites hosted on it. It offers one-click installation and setup, making it easier for even those with limited technical expertise to get started.
  2. Resource optimization: CyberPanel is designed to be lightweight and efficient, which means it utilizes fewer system resources compared to other control panels. As a result, it can run smoothly on low-end VPS and still provide optimal performance.
  3. Integrated caching and optimization: CyberPanel comes with built-in caching and optimization tools like LiteSpeed Cache and OpCache, which help improve the speed and performance of your websites. These features can significantly reduce loading times and enhance the overall user experience.
  4. Support for multiple websites: With CyberPanel, you can host multiple websites on a single VPS, reducing the need for separate hosting accounts and saving costs. It offers an easy-to-use dashboard to manage all your website files, emails, databases, and DNS records in one place.
  5. High-level security: CyberPanel emphasizes security and offers features like brute-force protection, firewall installation, and automatic SSL certificate installation using Let's Encrypt. It also supports advanced security measures like ModSecurity and Imunify360 for enhanced protection against malicious threats.
  6. Native integration with LiteSpeed Web Server: CyberPanel is specifically designed to work seamlessly with LiteSpeed Web Server, providing high-performance and efficient web hosting. The combination of CyberPanel and LiteSpeed can deliver superior speeds and handle high traffic loads more effectively.
  7. Scalability: CyberPanel allows easy scaling of your VPS resources as your website or business grows. You can easily expand the allocated storage, RAM, or CPU power to accommodate increasing traffic or resource requirements without significant downtimes or complex configurations.
  8. Cost-effective solution: As a free and open-source control panel, CyberPanel eliminates the need for expensive licensing fees associated with other control panels. This makes it a cost-effective solution for individuals and small businesses looking to host their websites on a VPS.


Overall, CyberPanel offers a user-friendly interface, efficient resource utilization, enhanced security, and excellent performance, making it a powerful choice for managing websites on a VPS.


How to limit resource usage for specific domains in CyberPanel on a VPS?

To limit resource usage for specific domains in CyberPanel on a VPS, you can follow these steps:

  1. Log in to your CyberPanel control panel.
  2. Click on the "Websites" option from the sidebar menu.
  3. Select the domain for which you want to limit resource usage.
  4. In the domain's settings page, click on the "Limits" tab.
  5. Here, you will find various resource limit options such as CPU, RAM, and Disk I/O. Choose the limits you want to set for the domain.
  6. Save the changes and restart the domain for the limits to take effect.


By setting resource limits for specific domains, you can prevent them from consuming excessive server resources and ensure fair distribution of resources among all websites hosted on your VPS.


What are the system requirements for running CyberPanel on a VPS?

The system requirements for running CyberPanel on a VPS are as follows:

  • Operating System: CentOS 7 or Ubuntu 18.04 (recommended)
  • Minimum RAM: 1 GB (2 GB or higher is recommended)
  • Minimum Disk Space: 10 GB (20 GB or higher is recommended)
  • Processor: 1 core (2 cores or higher is recommended)
  • Network: A stable internet connection with a minimum speed of 10 Mbps
  • Other Software: Python 2.7 or higher, OpenLiteSpeed (included with CyberPanel)


Note: The requirements may vary depending on your specific needs and the number of websites you plan to host. It is always recommended to allocate more resources if you have a higher workload or traffic.


What is SpamAssassin and how to enable it in CyberPanel on a VPS?

SpamAssassin is a popular open-source email filtering system that helps in identifying and blocking spam emails. It uses a set of rules to analyze email messages and assigns a score to each message based on its spam characteristics. The higher the score, the more likely it is to be spam.


To enable SpamAssassin in CyberPanel on a VPS, you can follow these steps:

  1. Log in to your CyberPanel control panel.
  2. Navigate to the "Email" section.
  3. Click on "Manage Email Accounts" to access the email accounts page.
  4. Locate the email account for which you want to enable SpamAssassin and click on the "Manage" button next to it.
  5. In the account management page, you will find the "SpamAssassin" option. Enable it by toggling the switch to the "ON" position.
  6. Save the changes and exit the account management page.


By enabling SpamAssassin for a specific email account, incoming emails will be scanned and filtered according to the set rules. Messages with a high spam score can be automatically placed in the spam folder or rejected.


It's important to note that SpamAssassin requires regular updates of its rule set for optimal performance. So, make sure to keep your CyberPanel installation up to date to ensure the latest rules are used.


How to set up FTP accounts in CyberPanel on a VPS?

To set up FTP accounts in CyberPanel on a VPS, you can follow these steps:

  1. Log in to your CyberPanel admin panel.
  2. Navigate to the "Websites" section and select the website for which you want to set up the FTP account.
  3. Scroll down to the "FTP Accounts" section and click on the "+ New FTP Account" button.
  4. In the new window that opens, enter a username for the FTP account.
  5. Choose between the two options: "Use Default Home Directory" or "Custom Home Directory."
  • If you select "Use Default Home Directory," the account will have access to the website's root directory.
  • If you choose "Custom Home Directory," you can specify a different directory path for the account.
  1. Enter a password for the FTP account or generate one using the provided button.
  2. Click on the "Add FTP Account" button to create the FTP account.


Once the FTP account is created, you can use an FTP client such as FileZilla to access the server using the provided account details (hostname, username, password, and port).


How to secure CyberPanel installations on a VPS?

To secure CyberPanel installations on a VPS, you can follow these steps:

  1. Keep your VPS up to date: Regularly update your VPS operating system and CyberPanel installation to ensure that you have the latest security patches.
  2. Set up a strong root password: Use a complex and unique password for your root account to prevent unauthorized access.
  3. Enable a firewall: Configure a firewall (e.g., UFW, firewalld) to block unnecessary incoming network traffic and only allow essential services.
  4. Restrict access to CyberPanel ports: Open only the necessary ports for CyberPanel, such as port 8090 for accessing the control panel and port 80/443 for your websites.
  5. Use a secure SSL/TLS certificate: Install an SSL/TLS certificate to encrypt the communication between your users and the webserver, ensuring data privacy and security.
  6. Enable Two-Factor Authentication (2FA): Implement 2FA for CyberPanel login to add an extra layer of security. This can be enabled in the CyberPanel settings.
  7. Limit SSH access: Restrict SSH access only to trusted IP addresses, disable root login, and enforce key-based authentication instead of password authentication.
  8. Disable unnecessary services: Identify and disable any unnecessary services or modules that are not required, as they can be potential security risks.
  9. Regularly backup your data: Set up automated backups to ensure you have recent copies of your website files and databases in case of any security incidents or data loss.
  10. Monitor server logs: Regularly review server logs to detect and investigate any suspicious activities or security breaches.
  11. Implement malware and security scanning: Regularly scan your VPS for malware, vulnerabilities, and security issues using tools like ClamAV, Maldet, or other security scanners.
  12. Use a secure file system: Utilize an encrypted file system, such as using full disk encryption (e.g., LUKS), to protect your data in case of physical theft or unauthorized access.
  13. Consider using a Web Application Firewall (WAF): Set up a WAF (like ModSecurity) to filter and block malicious traffic, providing an additional layer of protection against common web-based attacks.
  14. Regularly review user accounts and permissions: Regularly review user accounts and their permissions, removing any unused or unnecessary accounts, to minimize the potential attack surface.
  15. Educate yourself and your users: Stay informed about the latest security threats and best practices in cybersecurity, and educate users about safe browsing habits, strong password practices, and the importance of regular updates.


By following these steps, you can enhance the security of your CyberPanel installation on a VPS and reduce the risk of unauthorized access or malware attacks.

Facebook Twitter LinkedIn Whatsapp Pocket

Related Posts:

To launch CyberPanel on Hostinger, you can follow these steps:Log in to your Hostinger account.Go to the dashboard and click on "Manage" next to the hosting account you want to use for CyberPanel.Scroll down to the "Software" section and click ...
To deploy CyberPanel on Liquid Web, follow these steps:Log in to the Liquid Web control panel using your credentials.From the control panel, select the "Create" button.Under the "Applications" section, choose "CyberPanel" as your applic...
To deploy a Node.js application on a Virtual Private Server (VPS), you can follow these steps:Set up a VPS: Choose a suitable VPS provider and set up an instance with the desired operating system, such as Ubuntu or CentOS. Connect to the VPS: Connect to your V...