To quickly deploy CyberPanel on DigitalOcean, you can follow these steps:
- Sign up for a DigitalOcean account: Go to the DigitalOcean website and create an account if you don't already have one. Provide the necessary details, including your payment information.
- Create a new Droplet: Once you're logged in, click on the "Create" button to create a new Droplet, which is a virtual machine. Choose the desired specifications, such as the region, size, and operating system. CyperPanel is compatible with CentOS 7 and 8, so select the appropriate version.
- Configure your Droplet settings: Give your Droplet a hostname and select any additional options you may need, such as backups or monitoring. You can also add SSH keys to enhance the security of your Droplet. Finally, click on "Create Droplet" to proceed.
- Access your Droplet via SSH: Once your Droplet is created, you will receive an email with the login credentials. Connect to your Droplet using an SSH client like PuTTY (on Windows) or Terminal (on macOS/Linux). Ensure you have the IP address and root password mentioned in the email.
- Install CyberPanel: Once you're connected to your Droplet, enter the following command to download and install the CyberPanel installer script:
1
|
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
|
This script will automatically install CyberPanel on your server.
- Complete the installation: The installer script will guide you through the installation process. Answer any prompts or provide required information, such as your license or domain details. Once the installation is complete, the script will display the login credentials for your CyberPanel admin panel.
- Access CyberPanel: Open a web browser and enter the IP address or domain name of your Droplet followed by :8090, e.g., http://your-droplet-ip:8090. This will take you to the CyberPanel login page.
- Login to CyberPanel: Use the credentials displayed in the installation script to log in to the CyberPanel admin panel.
That's it! You have now successfully deployed CyberPanel on DigitalOcean. You can start managing your websites and other services using the CyberPanel interface.
How to install CyberPanel on a DigitalOcean server?
To install CyberPanel on a DigitalOcean server, you can follow these steps:
- Create a DigitalOcean droplet: Sign in to your DigitalOcean account, click on "Create Droplet" and select the desired settings for your server, such as location, size, and operating system (CyberPanel supports CentOS 7 and Ubuntu 18.04).
- Connect to the droplet: Once the droplet is created, you'll receive an email containing the IP address and login credentials. Use SSH to connect to your droplet.
- Update the server: Run the following command to update the server's packages: sudo yum update # For CentOS or sudo apt update # For Ubuntu
- Install CyberPanel: Use the appropriate commands according to your operating system: CentOS: sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh) Ubuntu: wget -O installer.sh https://cyberpanel.net/install.sh && sudo sh installer.sh These commands will download and execute the CyberPanel install script.
- Follow the installer prompts: The installer will guide you through the installation process. You'll be asked to provide the license code, email address, and password for your CyberPanel admin account.
- Access the CyberPanel control panel: After the installation is completed successfully, you can access the CyberPanel control panel by visiting the IP address of your server in a web browser followed by :8090. For example, http://your-server-IP:8090. Log in using the admin email address and password you set during the installation process.
That's it! You have successfully installed CyberPanel on your DigitalOcean server. From the control panel, you can configure websites, domains, DNS, email accounts, and more.
How to restart CyberPanel services?
To restart CyberPanel services, you can use the following command:
1 2 3 |
systemctl restart lscpd systemctl restart gunicorn systemctl restart httpd |
This will restart the LSCPD (LiteSpeed Cache Plugin Daemon), Gunicorn, and Apache HTTP Server services.
Alternatively, if you want to restart all services related to CyberPanel, you can use the following command:
1
|
systemctl restart --all
|
This command will restart all services managed by systemd on your server, including the CyberPanel services.
What is the default username and password for CyberPanel?
The default username for CyberPanel is "admin", and the default password is "1234567". However, it is strongly recommended to change the default password immediately after logging in for security reasons.
How to establish an SSH connection to DigitalOcean Droplet?
To establish an SSH connection to a DigitalOcean Droplet, you can follow these steps:
- Obtain the IP address of your DigitalOcean Droplet. You can find it in the DigitalOcean control panel or via the command line using tools like ping or nslookup.
- Open a terminal on your local machine and run the following command to initiate the SSH connection: ssh root@Replace with the actual IP address of your Droplet. Use root as the username unless you have created another user with SSH access.
- If prompted, confirm the connection by typing "yes" and pressing Enter. This step verifies the authenticity of the server.
- Enter the password for the root user or the SSH key passphrase associated with the SSH key pair you used to create the Droplet. Note that you won't see the password or passphrase characters as you type.
- Once authenticated, you will be connected to your Droplet via SSH, and you can start using the command line interface to manage and configure your server.
It's important to note that using SSH key-based authentication is generally more secure than using passwords. If you haven't already, consider setting up SSH key-based authentication for your DigitalOcean Droplet.
How to create a backup of CyberPanel websites?
To create a backup of CyberPanel websites, follow these steps:
- Log in to your CyberPanel dashboard.
- Navigate to the "Websites" section on the left-hand side.
- Select the website you want to create a backup for by clicking on the domain name.
- On the website's overview page, click on the "Backup" tab.
- Under the "Website Backup" section, click on the "Create Backup" button.
- CyberPanel will start the backup process, and you will see a progress bar indicating the backup status.
- Once the backup is complete, you will see a success message with the backup file's name and path.
- To download the backup file, click on the "Download" button next to the backup entry.
- The backup file will be downloaded to your local computer, and you can store it as a backup copy.
It's important to periodically create backups of your websites to ensure data safety and mitigate the risk of any unexpected issues or data loss.