How to Install CyberPanel on VPS?

7 minutes read

To install CyberPanel on a VPS, follow these steps:

  1. Connect to your VPS using SSH or any other remote access method.
  2. Update the system packages by running the command: sudo apt update.
  3. Install the required dependencies by running the command: sudo apt install -y tar wget nano.
  4. Download the installation script by running the command: wget -O install.sh https://cyberpanel.net/install.sh.
  5. Make the installation script executable by running the command: chmod +x install.sh.
  6. Execute the installation script by running the command: sudo bash install.sh.
  7. The installation process will start, and you'll be prompted to choose the version of CyberPanel you want to install. You can select either the OpenLiteSpeed or LiteSpeed Enterprise edition.
  8. After selecting the edition, the installation script will download and install all the necessary packages and components.
  9. Once the installation is complete, you'll be provided with the login details for CyberPanel control panel, including the username and password.
  10. Access the CyberPanel control panel by opening your web browser and entering the IP address or domain name of your VPS, followed by :8090. For example, http://your_server_ip:8090.
  11. Enter the username and password obtained in the previous step to log in to the CyberPanel control panel.
  12. After logging in, you can start configuring CyberPanel, adding websites, and managing your VPS effectively.


Note: These steps may vary depending on the operating system installed on your VPS and specific configurations. It is always recommended to refer to the official CyberPanel documentation for the most up-to-date installation instructions.

Best Cloud Hosting Providers in 2024

1
Vultr

Rating is 5 out of 5

Vultr

  • Ultra-fast Intel Core
  • High Performance and Cheap Cloud Dedicated Servers
  • 1 click install Wordpress
  • Low Price and High Quality
2
Digital Ocean

Rating is 5 out of 5

Digital Ocean

  • Active Digital Community
  • Simple Control Panel
  • Starting from 5$ per month
3
AWS

Rating is 5 out of 5

AWS

4
Cloudways

Rating is 5 out of 5

Cloudways


How to uninstall CyberPanel from a VPS?

To uninstall CyberPanel from a VPS, you can follow these steps:

  1. Connect to your VPS using SSH (Secure Shell). You can use tools like PuTTY (for Windows) or Terminal (for Mac/Linux).
  2. Once connected, log in as the root user or a user with sudo privileges.
  3. Stop the CyberPanel service by running the following command:
1
systemctl stop lscpd


  1. Uninstall CyberPanel by executing the following command:
1
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh) --uninstall


This command will automatically uninstall CyberPanel and remove its files from your VPS.

  1. If you want to remove any leftover files or directories related to CyberPanel, you can run the following command:
1
2
rm -rf /usr/local/CyberPanel/
rm -rf /etc/litespeed/


These commands will delete the CyberPanel installation directory and the LiteSpeed directory, respectively. Make sure you're certain about deleting these files, as they won't be recoverable.

  1. Lastly, you can remove any remaining user files associated with CyberPanel by issuing the following command:
1
userdel -rf cyberpanel


This command will delete the user named "cyberpanel" and their home directory. If you used a different username during CyberPanel installation, replace "cyberpanel" with the appropriate username.


After completing these steps, CyberPanel should be uninstalled from your VPS. Make sure to double-check that all related files and directories have been removed.


How to set up backups in CyberPanel on a VPS?

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

  1. Log in to your CyberPanel instance as the admin user.
  2. Go to the "Backup" section in the left sidebar.
  3. Click on the "Create Backup" button.
  4. In the backup creation form, you will see options to select the websites you want to include in the backup and the databases you want to include.
  5. Specify the backup destination folder. By default, it uses the default backup storage location in "/home/username/backups". You can optionally change it to a different location if desired.
  6. Decide if you want to compress the backup files. Compression helps reduce the size of the backup, but it may take longer to create the backup.
  7. Choose the backup frequency. You can set it to "One Time" if you only want to create a single backup, or you can select "Daily," "Weekly," or "Monthly" to create recurring backups.
  8. Set the time for the backup to run. This option is only available if you selected the "Daily," "Weekly," or "Monthly" frequency. Specify the hour and minute of the day when the backup should be initiated.
  9. Enable email notifications if you want to receive an email when the backup is completed or encounters any issues.
  10. Review the settings and click the "Backup" button to create the backup.


Once the backup is created, you can view the backup details in the backup list. From there, you can download the backup file, delete backups, or restore websites from backups if needed.


Note: It is recommended to store your backups in an offsite location or remote storage server for better security and protection against data loss.


What is the default username and password for CyberPanel?

The default username for CyberPanel is "admin" and the default password is the same as the root password of your server. However, it is always recommended to change the default password for security purposes after initial setup.


What is the procedure to enable remote MySQL access in CyberPanel?

To enable remote MySQL access in CyberPanel, follow the steps below:

  1. Log in to CyberPanel as the admin user.
  2. Go to the Websites -> List Websites section.
  3. Locate and click on the website for which you want to enable remote MySQL access.
  4. In the website dashboard, click on the "Manage Databases" option.
  5. Select the MySQL database that you want to allow remote access to.
  6. In the database details page, click on the "Access Hosts" tab.
  7. Add the IP address or IP range of the remote machine(s) that you want to grant access to in the "Access Host" field. You can add multiple IP addresses or IP ranges separated by commas. If you want to allow access from any IP, you can enter "%" (without quotes).
  8. Click on the "Add Host" button to add the remote access host.
  9. After adding the hosts, click on the "Save Changes" button to apply the changes.
  10. Remote access to the MySQL database will now be enabled for the specified hosts.


Note: Make sure to update the firewall settings to allow incoming connections to MySQL port (default: 3306) from the specified remote hosts.

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

Related Posts:

Deploying Joomla on VPS stands for installing and setting up the Joomla content management system on a Virtual Private Server. With a VPS, users have greater control and flexibility over their hosting environment compared to shared hosting.To deploy Joomla on ...
To launch CyberPanel on Bluehost, follow these steps:Log in to your Bluehost account using your credentials.Once you’re logged in, locate the &#34;Hosting&#34; tab on the top menu and click on it.On the hosting page, find your domain name and click on the &#34...
To install Plesk on a VPS (Virtual Private Server), follow these steps:Log in to your VPS using SSH (Secure Shell) or any other remote access method provided by your hosting provider. Update the system packages by running the command: sudo apt update Install t...