How to add your SSH key in CyberPanel?

In some cases, you need to change the SSH port and create and use an SSH key. Securing SSH is one of the most important tasks of a system administrator. CyberPanel allows you to change SSH ports, disable root login, and save your SSH keys. In his article, we learn about how to add your SSH key to the server using CyberPanel

Step 1: Login to the CyberPanel dashboard

Step 2: On the left side menu scroll down Click on the Security

Step 3: Go to the Security->Secure SSH

Now this page will be open. Here you can see the SSH port,permit root login

Step 4: Click on the SSh keys-> Add key

Step 5: After Clicking on the Add key you can paste your key and Click on save

Step 6: You can delete your key By clicking on the ‘X’ button Listed here

Step 7: You can also change your port and enable or disable the permit root login after changing these Click on Save changes

You can follow us on Facebook too.

We have an other article on this as well check here. For old version CyberPanel official guide is here.

How to Change PHP CLI Version

Welcome back! Many of you are wondering how to change PHP CLI version. In this short article, we will be looking at this.

First, let’s check the current version of PHP. Type in the command:

php --version
PHP Current Version

As you can see, I am currently running PHP v7.4.25.

Change PHP CLI Version

Now let’s change our PHP version but first of we need to know what other versions we can use. To know that type in the terminal:

ls /usr/local/lsws/
Listing PHP Versions

We have four versions available i.e PHP 7.2, 7.3 7.4, and 8.0. I will be changing it to 8.0.

Now to do that, you need to copy the binary of the version you want to use to the user’s binary. Now type in the following command:

 cp /usr/local/lsws/lsphp80/bin/php /usr/bin/

Change the lsphp80 to any version you want and hit enter. After that, check the PHP version again and you’ll see the version is changed.

Changed PHP CLI Version

Read our other articles;

Here you can read How to log in to the Rainloop admin dashboard?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

You can follow us on Facebook too.

How to change Linux Server PHP version?

Some time the CLI or your server PHP version needs to change. Here in this article, we will discuss how to change Linux Server PHP version.

Welcome back! Many of you are wondering how to change the PHP CLI version. In this short article, we will be looking at this.

First, let’s check the current version of PHP. Type in the command:

php --version
change Linux Server PHP version

As you can see, I am currently running PHP v7.4.25.

Change Linux Server PHP version

Now let’s change our PHP version but first of we need to know what other versions we can use. To know that type in the terminal:

ls /usr/local/lsws/
Listing PHP Versions

We have four versions available i.e PHP 7.2, 7.3 7.4, and 8.0. I will be changing it to 8.0.

Now to do that, you need to copy the binary of the version you want to use to the user’s binary. Now type in the following command:

 cp /usr/local/lsws/lsphp80/bin/php /usr/bin/

Change the lsphp80 to any version you want and hit enter. After that, check the PHP version again and you’ll see the version is changed.

Changed PHP CLI Version

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

What is Postfix and How to Install and Configure it?

What is Postfix and How to Install and Configure it?

In this article, we are going to be looking at Postfix. It is a Mail Transfer Agent (MTA) which is used to send and receive emails. It is currently used by 33% of internet mail servers. Let’s move on to installing the Postfix.

What is Postfix and How to Install and Configure it?

Installing Postfix

To install postfix you need to type in the following command:

sudo apt-get update && sudo apt install postfix mailutils

You also need to install mailutils utility for Postfix to work correctly.

Configuring the Postfix

We need to configure the inet_interfaces in the Postfix main config file. The network interface addresses that this mail system receives mail on. Specify “all” to receive mail on all network interfaces (default), and “loopback-only” to receive mail on loopback network interfaces only

nano /etc/postfix/main.cf

When the file is opened, scroll down the page until you see the line:

inet_interfaces = all

Now it’s up to you on which interface you want to receive emails. You can either go with the default one this all which listens on all interfaces or you can replace it with loopback-only to listen only on localhost.

Another directive that we need to look at is mydestination, the list of domains that are delivered via the local_transport mail delivery transport. By default, this is the Postfix delivery agent which looks up all recipients in /etc/passwd and /etc/aliases.

Mine is configured to:

mydestination = localhost, localhost.localdomain

After making changes, you need to restart the Postfix.

sudo systemctl restart postfix

Testing the SMTP Server

Now it’s time to test the Postfix whether it can send an email or not using the mail the command which comes with the package mailutils that we installed earlier.

echo "This is the body of the email" | mail -s "This is the subject line" your_email_address

In place of your_email_address, enter the valid email address to which you want to send the email. Now check the account on which you have sent the mail.

That’s it for now.

Here you can read How to log in to the Rainloop admin dashboard?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

How to Create a server in Hetzner?

Creating a new server in Hetzner is a very easy process. In this article, I am going to tell you how easily you can create a server in Hetzner? You can create a server on the Hetzner cloud easily by following this article.

Hetzner is a service provider that provides you Hetzner dedicated server, Hetzner VPS server, and all. YOU just have to create an Hetzner account and log in to Hetzner and deploy any type of server.

Hetzner supports many Operating systems like ubuntu, centos, Debian, etc. the location of this service provider is only in Germany.

Now follow these steps to set up a Hetzner server for you.

1. Login to Hetzner account:

first of all, you have to log in to your Hetzner account if you already and click here and login if you don’t have then create an account and then log in.

Hetzner login

Provide all information to create an account and click the continue button to process for the creation of an account.

2. Go to you project

Once you created or logged in to your Hetzner account now have to go to any project that you have created in your account.

Hetzner project

Click on the project and go to the project dashboard to create a new server.

3. Create a server

once you are in the project dashboard you can see a create a server button there. Click on that.

Create a server

And it will redirect to the page where you have to provide and do all setup.

Now you have to provide and select all information to create a server. This is the basic information that you need to provide while creating Hetzner dedicated server or Hetzner VPS.

3.1 Location:

In first here you have to select the location where you want to take your server. Hetzner has only Germeny locations.

there are Nuremberg, Falkenstein, and Helsinki. You can go with any you are comfortable with.

Hetzner Locations

3.2 Image:

After selecting the location now select the Operating system for your server. You can select any OS on hetzner that you want to use for the server.

hetzner OS

Hetzner Operating systems are:

  1. Ubuntu 20.04
  2. Fedora
  3. Debian
  4. CentOS
  5. Rocky Linux etc

You can get any according to your choice.

3.3 Type:

IN this step you can choose a dedicated Hetzner server or a standard Hetzner VPS. You also have to choose the specification which you want for your server. like how many CPUs, ram, etc

Hetzner type

3.4 Volume:

if you want any extra volume you can attach it from here.

hetzner volume

3.5 Network:

This option will allow you to create a Network do your server. DO if you want.

Hetzner Network

3.6 Firewalls- BETA:

The firewall is right now in Beta but if you want to order and use

Hetzner firwall

3.7 Additional features:

Use Hetzner additional features in this option

Hetzner AF

3.8 SSH key:

Integrate the user SSH key that you want to access and use the server.

Hetzner SSH

3.9 Name:

Give a name to your server and press the Create button all done to create an Hetzner server.

Hetzner name

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .

How to export Database from PHPMyAdmin?

While transferring your website from one server to another you may need to export your database in some cases. In this article, I am going to show you how to export Database from PHPMyAdmin.

Exporting a database is just a few-click process. Just login to your PHPMyAdmin dashboard providing username and password. to export Database from PHPMyAdmin

export Database from PHPMyAdmin

You can see all the database you have created In your database is there.

Select the database you want to export. To select a database click on it. And you can see all the tables of your database on your screen.

Read more: How to create, delete and manage Child Domains in CyberPanel?

database

Now from the top bar click on the Export button to start the export database.

go button

Now you have to select the type of file in which you want to export your database. After selecting file type click on the Go button on the right bottom side.

file type

on clicking the Go button process will start and you can see the download progress on your browser.

download

Once done you can use it for importing anywhere.

Also read: How to resolve PHPMyAdmin blank page error CyberPanel?

Read: How to connect CyberPanel with CyberPanel Cloud?

Follow US on Facebook / Twitter Instagram .

How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

Some time you face 404 error on all internal pages of your website. This often happened when you move your website from one server to any other or change any internal configurations. Here in this article we will tell you How to resolve 404 error from website internal pages on LiteSpeed Cyberpanel.

Without going deep let me tell you the reason for this. This happened due to the permissions or the rewrite rules. As after changes Open litespeed need a restart.

To resolve 404 error from website internal pages on LiteSpeed/Cyberpanel we just have to do 2 steps.

Steps to resolve 404 error from website:

1. Fix permissions.

Login to your cyberpanel on port 8090.

https://<YOURIP>:8090
cyberpanel login

Got to the website->list websites then click on Manage button present in front of your domain which have issue.

Manage Website
Manage Website

Scroll down and find file manager click on it and here you will find fix permissions button click that a green pop up appears.

fix permissions
fix permissions

2. Restart LiteSpeed Webserver

After doing all restart the Open liteSpeed webserver. You can do it two way one through command.

Systemctl restart lsws

.Or go to the Server status-> LiteSpeed status and press restart.

How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

Here you can read How to log in to the Rainloop admin dashboard?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

You can follow us on Facebook too.

How to change time zone on Linux server using command line?

How to change time zone on Linux server using command line?

In this article, we will know How to change time zone on a Linux server using command line. This is a very easy and a few steps process so follow along to change your time zone according to your need.

The Time zone is the standard time for any specific region. The server time zone is a basic and one of the important things. Server time zone set while installing and setup server. Sometimes we need to change our server time zone according to our requirements. There are many ways but here we will go through command line one. This is one of the easy ways while using Linux.

How to check Current TimeZone of your server?

Before changing your server time zone first of all you must know what is the current time zone of your server to do so you just need to run a very simple command. This command is available in all Linux flavors.

open terminal and run:

$ timedatectl
How to check Current TimeZone of your server?

You can see your current time zone of your server.

2. Set / Change Time zone on Linux Server Using Command line:

Before changing your time zone first of all you must have to know about the time zone you want to set. Like if you want to set somewhere in Asia. you must have to know about your region and cit. Now, how you can do it.

For this there is a command to list all time zones:

$ timedatectl list-timezones
List all time zones

Select your required time zone from the list and add it to this cmd.

timedatectl set-timezone “you time zone”

Make sure that you are login from root account if not use sudo with this.

$ sudo timedatectl set-timezone <your specific time zone>
set time zone

After running this run the timedatctl again and verify if time zone updated or not.

$ timedatectl

Now you can see time zone that you set using above methode.

NOTE: Time zone is one of the core important things many features and services depend upon it so before doing anything make sure that you understood all. moreover, you just need a reboot to apply a new time zone on all servers.

Here you can read How to log in to the Rainloop admin dashboard?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

You can follow us on Facebook too.

How to log in to the Rainloop admin dashboard?

Sometimes we need to log in to the rainloop dashboard to do some configurations. Here in this article, we will tell you how to log in to rainloop admin dashboard?

Rainloop is an efficient memory webmail solution. it is a fast, simple, and modern web-based client email client. Rainloop is the email solution that comes with CyberPanel. It has an amazing user interface. Not only the interface also works great as any other email service.

RainLoop Admin Dashboard access address:

To access rainloop dashboard you just need to go to.

http://your-webmail.domain.com/?admin

But in case of cyberpanel it will be like:

https://<IP/Hostname>:8090/rainloop/?admin

You can access rainloop web admin using this link.

How to login to Rainloop admin dashboard?
How to login to Rainloop admin dashboard?

RainLoop admin Password:

Default login is “admin”, password is “12345”. But in the case of CyberPanel and changed password here is the location of rainloop admin password.

CyberPanel Rainloop admin password location:

/usr/local/CyberCP/public/rainloop.php

General Rainloop admin password location:

/var/www/rainloop/data/_data_/_default_/configs/application.ini

How to Access Rainloop Webmail in CyberPanel?

How to add ZeroSSL on your site? Free SSL for your website

How to add ZeroSSL on your site? Free SSL for your website

You always need a secure URL for your website. Secure means your website will be accessible with SSL(Secure Sockets Layer). It’s very important to access your site on HTTPS instant of HTTP. Today I will tell you how you can add ZeroSSL to your website. ZeroSSL is totally free for your website.

ZeroSSL allows the free start of three domains. You can add free-of-cost SSL to your first three sites after those you have to buy if you want to issue SSL for more sites.

Create ZeroSSL account:

In first step you have to create an account on ZeroSSL website. For this go Here.

Here on this page you can see the Get Free SSL button click on that and visit to registration button.

On this page you have to provide some information to signup.

  1. Subscription Plan
  2. Email Account
  3. Password

After providing these all press to the Next Step button.

Once you press this button you can see the ZeroSSL dashboard.

Create New SSL Certificate:

Here on Dashboard you can see New Certificate button press this button present in the above image.

On the next page you have to provide following information:

  1. Enter Domain (Enter your domain name for which you want to issue SSL)

You will see this Green ticks for a valid domain name.

2. Validity (For how many time this ssl is valid )

Usually for 90 days its free and if you want for 1 year you have to buy.

3. CSR & Contact

Finalize Your Order (you have to select )

You have limit to issue three free ssl to your domain. Once the process of plan selection done now you have to verify your domain.

Verification Method:

ZeroSSL allow three types of verification:

  1. Email Verification
  2. DNS (CNAME) HTTP  
  3. File Upload

You can chose any one you are comfortable with. If you have this email then use it, or update DNS records according to the second or upload the file to dns.

Verification Method:
Verification Method:

After this you will get a option to download SSL. you can download crteficate.

download SSL
download SSL

Add ZeroSSL to your Website?

When you got your SSL file there must be three files after extracting. ca_budle, certificate, private key

Add these files values according to the require mint on your site.

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

How To Uninstall Or Stop ImunifyAV?

What is ImunifyAV?

A lot of users install ImunifyAV but after some issue, if they want to uninstall they do not know how to do this. Here in this article, we will tell you How To Uninstall Or Stop ImunifyAV?

ImunifyAV – an intelligent antivirus and security monitoring tool for websites with one-click automatic malware cleanup, domain reputation monitoring, and blacklist status check. Read more about ImunifyAV

A lot of users install ImunifyAV but after some issue, if they want to uninstall they do not know how to do this. Here in this article, we will tell you How To Uninstall Or Stop ImunifyAV?

In this artical we provide the way where you can able to uninstall or Stop ImunifyAV.

Uninstall ImunifyAV:

To uninstall ImunifyAV, you need to first download the imav-deploy.sh script with the following command:

wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh

Then run this command to uninstall ImunifyAV from the server:

bash imav-deploy.sh --uninstall

Processing the above two steps you are able to uninstall imaunifyAY.

Stop ImaunifyAY:

ImunifyAV runs as a daemon so the service can be managed using the standard service management commands.

For CentOS/CloudLinux OS 6, run the following command:

service imunify-antivirus stop

For all other operating systems, run the following command:

systemctl stop imunify-antivirus

How to Change Upload limit On CyberPanel?

How to solve the can’t upload the file on file manager issue in CyberPanel?

if you are uploading a file on file manager in CyberPanel. and getting some error there. Follow this short solution for can’t upload the file on CyberPanel file manager.

Solution

There is very easy and short solution for this issue. Access your root through Bitvise or putty open your terminal(CLI) and run this Command

Systemctl restart lscpd

This simple command will restart all of your CyberPanel services and now if you can try you can easily upload any file but there may be upload limit issue if so you can follow this tutorial to solve that Link below.

How to Change Upload limit On CyberPanel?