Common Types of Client Side Errors

In this article, we are going to write a short detail about some common client side errors. Here we added a very short detail and a few errors.

Common Types of Client Side Errors

  1. 400 Bad Request Error
  2. 401 Unauthorized Error
  3. 404 Not found Error
  4. 403 Permisions Error

1. 400 Bad Request Error:

This error indicates that the user’s request contains incorrect syntax.
How to Fix 400 Bad Request Errors:

a. Check the Submitted URL
b. Clear Browser Cache
c. Clear Browser Cookies
d. File Upload Exceeds Server Limit
e. Clear DNS Cache
f. Deactivate Browser Extensions

2. 401 Unauthorized Error:

This error indicates that the requested file requires authentication (a username and password). Only authorized persons can access otherwise occur this Error.

3. 404 Not Found:

This error indicates that the page you were trying to reach on a website couldn’t be found on their server.
How to Fix 400 Bad Request Errors:
a. Reload the page
b. Check the URL
c. check the directory levels or root
d. Delete the browser cache and cookies
e. Contact the website

4. 403 Forbidden

This error indicates that the server will not allow the visitor to access the requested file. If a visitor receives this code unexpectedly, you should check the file’s permission settings, or check whether the file has been protected.

403 error

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 .

How to Uninstall or Remove Broken Package in Linux?

Many times it happens that when you try to uninstall a package you encounter an error and the package cannot be uninstalled. This happens when the package is broken. To overcome this issue, we remove the post files of the package to make things work. in this article we are going to learn how to Remove Broken Package in Linux.

Recently, I was trying to remove the ImunifyAV package but encountered this error. E: Sub-process /usr/bin/dpkg returned an error code (1)

Uninstallation Error

Removing the Post Files

To fix this issue and remove the package successfully, we need to remove the post files manually for this package. But first, we need to see the files for this package. The installation files are usually located at /var/lib/dpkg/info file. Type in the following command and replace the package_name with the name of the package that you want to remove.

How to download Anydesk and how to install Anydesk

sudo ls -l /var/lib/dpkg/info | grep package_name
Remove Broken Package in Linux

In my case, I replaced the package_name with imunify-antivirus. This thing helps me to list all packages of imunify-antivirus. Now we need to remove these files manually. For that, type the command:

sudo mv /var/lib/dpkg/info/package_name.* /tmp

This will move all the post files to the tmp directory in case we need them back for any reason. Once the command executed to remove files. After doing that reinstall the package again without getting any errors.

Don’t forget to run the sudo apt update command after removing the files.

after doing all these just run commands to Remove Broken Package in Linux.

Command to Remove Broken Package in Linux:

$ apt unintsall <package-name> 

After doing all these steps you can run the uninstall command like this given above and get the required results.

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.

What is Dovecot Server?

Dovecot is an open-source IMAP and POP3 email server for Linux/UNIX-like frameworks written with security primarily in mind. It is a Mail Delivery Agent. Dovecot is easy to set up and requires almost no memory. It allows users to access their mailboxes using the IMAP interface. If configured correctly, it only interacts with authenticated users.

How to download Anydesk and how to install Anydesk

What is Dovecot Server?

Installing Dovecot Server

To install a basic Dovecot server with common POP3 and IMAP functions, run the following command:

sudo apt install dovecot-imapd dovecot-pop3d

Once the Dovecot is installed, you can enable and start it:

sudo systemctl enable dovecot
sudo systemctl start dovecot

Configuring Dovecot

The main config file of Dovecot is located at /etc/dovecot/dovecot.conf. We will be looking at three main options:

  • listen: This options allows you to set the IP address where you want to listen. You can use an asterik (*) which the wildcard meaning all IPv4 address and for IPv6 addresses you can use (::). To use both it should be like:
listen = *, ::
  • protocols: This option allows you to specify which protocols you would like to support such as POP3, IMAP. LMTP is also listed here as well which stands for Local Mail Transfer Protocol:
protocols = imap, pop3, lmtp
  • mail_location: This option sets from where the mail is picked up. By default, this setiing is empty, which means that Dovecot attempts to locate your mail automatically. The format of the mailbox location specification option is as follows:
mailbox-format : <path> [ : key = <value> … ]

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.

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 download Anydesk and how to install Anydesk

Downloading any desk and installing is an easy process. In this article, I will tell you how can we easily download and install Anydesk. so you can easily download any desk by following this article.

Any desk means a “Remote desktop application“. we can use any desk for remote control, file transfer, and VPN function.

Now follow these steps to download and install any desk:

1- Any Desk Website:

Firstly, The user will go to Any desk Website. The user can download AnyDesk by using the link “www.anydesk.com“.

download Any Desk

2- Click Any desk:

Click the first option: Any Desk “The Fast Remote Desktop Application“.

3- Click Download and Install Anydesk:

The user can download Any desk to use the “Download Now Button“.

4- Available For other Platform:

The user can also use various platforms as the users can use for MacOS, Android etc.

5- Open the program

When the desktop has been downloaded user will press the right button and click “Run as administration” and click the “yes” button.

6- Giving Access

The desktop provides the address to the user, so the user can give get access another person easily.

7- Accept And Install

The user Can also install Any desk to click the “installation” option that appears on the left side.

8- Set Password

The User can set a password for security.

Now you can see this dashboard.

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 dump Database without Password from Linux Command line?

In this article, I am going to explain How to dump Database without a Password from the Linux Command line?

As we know when someone wants to dump a database from the Linux command line they need a password for the database to dump it. Basically dumping database means exporting the database from the Linux command line.

In a normal way when you want to export a database you need a password for the database to do it. Here is the normal command to dump.

mysqldump -u [user name] -p[password] [database name] > [dump file]

But sometimes people don’t like to give passwords again and again. So here I will tell you how you can do the database dump using a password. To do so just follow the process along with me.

You have to do some configurations on the MySQL configurations to dump the database without a password. You have to set the root user database password in my.cnf file and you can dump a database without a password. To do so first login to your root ssh using an ssh client like bitvise, putty, etc.

Location of my.cnf is different in the case of different operating systems like in the case of Ubuntu it is /etc/mysql/my.cnf and in case of Centos it /etc/my.cnf.

You can open according to your operating system after logging in to root ssh.

How to dump Database without Password from Linux Command line?

No got to my.cnf simply run this command:

sudo nano /etc/mysql/my.cnf

After that paste, this code in the file

[mysqldump]
user=mysqluser
password=secret

user will be root and the password of your root MySQL user.

After doing this just restart MySQL or MariaDB and run any dump command

mysqldump -u root [Database naem] > /dbbackup.sql

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 post in WordPress?

post in wordpress

Create a post in WordPress is the first and the starting step in blogging and even all fields if you want to start a blogging website then this will be the first thing you need to do. Although to create a post in WordPress is a very easy and steps process.

For creating a post in WordPress user should follow these steps:

Step 1: login the site “WordPress Dashboard“.

Step 2: click the posts icon on the left side display in navigation menu.

Step 3: Four options will appear. So the user click Add new button on the Posts page for creating a new post.

Step 4: Enter the title in a title bar it will appear on the top of the post.

Step 5: After giving the title, type content in a content bar. Users can format the text of content using an editor, like users can bold italic and also change colors of text.

Step 6: The user can also add images. The user can add an image with the help of the “Add Media button”.

Step 6: when the user has entered the information in the posting user can click the publish button. Then the post is displayed on our website.

Step 7: User can also click on save draft to save the information if user does not want to publish his post publicly.

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 write a post in WordPress?

post in wordpress

When you want to do some work with WordPress the first step is to write a blog post in WordPress. To start writing a post in WordPress is a very easy process. In this article, I am going to tell you how you can write a post in WordPress.

When someone new starts a new blog or any type of other site using WordPress. So you must have knowledge about creating and managing posts with WordPress. This is one of the cores and basic requirements of WordPress.

So before going to do anything else in WordPress you just have to know how to create a blog in WordPress. As blog or post always have a great impact on the site ranking, site SEO, and all.

Login to your WordPress:

First of all, you have to log in to your WordPress admin dashboard. Normally your WordPress admin dashboard access is on:

https://www.yourwebsit.com/wp-admin

if you have any custom login link for the WordPress admin dashboard you can visit that and provide the user name and password to log in.

Login to your WordPress:
Login to your WordPress:

Create a post in WordPress:

Once you logged in now you can see a lot of options in the left side menu of the WordPress dashboard.

Go to the Posts-> Add new Post option in the left menu.

Create a post in WordPress:
Create a post in WordPress

Once you click there this will redirect you to the posting page where you can write the post according to your choice and content.

Post

On this page, you can write the content on the main page, and on the right side, you can see a lot of options like some important are Categories, tags, featured images in the post tab.

You can add categories to your posts, tag, and also set featured images to your posts.

 Create a post in WordPress

Save post:

In WordPress, you can also make posts to draft and you can also publish them once.

But as you know one post needs many reviews so you have to save it to draft and maybe you have to preview it many times and after all, you can publish a zero error post. so these all buttons and options are present on the top of the right site on the posting page.

Save post:
Save post:

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 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 .

Upgrade CyberPanel to any specific branch

Upgrade CyberPanel to any specific branch

Sometimes for some special patches and bug fixes, you need to upgrade Cyberpanel to any specific branch. Like you got any issue in the stable branch and the team announced that the issue is fixed in another CyberPanel branch then you have to move on that.

In this article, I will tell you the few commands to upgrade CyberPanel to any specific branch.

Upgrade CyberPanel to any specific branch

Step 1: Remove old script:

First, you have to remove the old script file to get new and upgrade. Use the command given below to do this.

rm -rf cyberpanel_upgrade.sh 

Step 2: Download specific branch script:

Now in the next step, you have to download the script for new branch you want to install using the command stated below.

wget https://raw.githubusercontent.com/usmannasir/cyberpanel/v<branch>/cyberpanel_upgrade.sh 

remove <branch> to your required branch name

Step 3: Give execute Permissions :

using the command stated below gives the upgrade command execution permissions.

chmod +x cyberpanel_upgrade.sh 

do all this in / or root directory and you must log in as root.

Step 4: Run upgrade script:

Now in the last step just run this command and wait when the system asks for the version give the branch version like “2.0.1-dev”

./cyberpanel_upgrade.sh

NOTE: Giving version is a must process and always give that

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 install MailScanner on CyberPanel?

How to install MailScanner on CyberPanel?

To install MailScanner on CyberPanel is very easy and a few click process. MailScanner is one of the core requirements for the email system now. And CyberPanel has a MailScanner which you can install from the CyberPanel dashboard.

In CyberPanel MailScanner is done by the community and this feature have a goof version but i am not sure that if it is 100% stable. So maybe MailScanner causes any issue in your mail server.

To install MailScanner on CyberPanel follow these steps.

Login to CyberPanel :

Login to your Cyberpanel account using your CyberPanel credentials. You have to visit the link:

https://<your-ip>:8090

Provide username and password and log in.

Install MailScanner on CyberPanel:

To install MailScanner on the server just follow these steps.

  1. After login to CyberPanel dashboard just go to the Mail Settings-> MailScanner
MAil settings

2. On the next screen you can see you have an Install button just press that and your MailScanner will be installed.

install MailScanner on CyberPanel

The installation process will take some time to complete and once the installation is done you can access the mail scanner on the server.

After clicking this button your Mailscanner is installed. And now you can access your MailScanner by clicking Access Now button.

Access Now

Or visit the link directly.

https://<SERVERIP>:8090/mailwatch/mailscanner/login.php

Provide the credentials and log in here.

Mailscanner login

MailScanner UserName and Password:

The default username for the Mailscanner is admin and you can set a password using this MySQL query.

INSERT INTO mailscanner.users SET username = '<username>', password = MD5('<password>'), fullname = '<Full Name>', type = 'A';

All set for MailScanner and use it accordingly.

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.