cPanel web hosting


cPanel Webhosting.

cPanel is most user friendly panel in web hosting. Most of the shared hosting provider , reseller, dedicated & cloud server use this panel to manage client’s site or their own site. Most important feature of cPanel is it provide lots of features like. Create email accounts, setting filters, forwarders, FTP accounts , Password protect folders etc…

For hosting provider it is very important to manage and monitor activities going on their server especially on shared server. Main advantage of shared hosting server is you can host lots of sites and oversell resources.

What is overselling. Suppose you have server with 16 CPUs, 300 GB disk, 10 TB (10240 GB) bandwidth and 32 GB RAM. Such server will cost provide around $200 per month. Here hosting provider will provide client basic plan like: 10 GB , and 100 GB bandwidth for $2. He would able to host such 500 Clients on his cPanel server because most of the client ie. 90% will not use even 10 GB bandwidth and 1 GB disk space while hosting a site. Also most of sites will have very low traffic in such case they will not be using even 1% of server’s total resources.

In this way shared hosting server would able to make $1000 per server costing him $200 including cPanel license.

I will write few more post about Web hosting business. Feel free to raise any question either technical or non-technical in comment or contact us form. I would glad to assist free of cost.

Webhosting control panel plesk and cPanel

In linux web hosting industry there are two most famous control panel ie. Plesk and cPanel. We will see difference and similarity between these two control panel also advantage and disadvantages of using them.

The choice of the control panel is client personal needs and comfort with the interface.

Advantages and disadvantages.

Major difference is plesk control panel usage database to store all records but cPanel uses simple text files to store all records and all tasks are executed using perl scripts.

Plesk and cPanel both offers all features to user such as managing email accounts, FTP account, hosting account and resellers account , creating database etc.. Also configuration of services like FTP , Mysql , Apache/Httpd , Named , mail and configuration of applications like php.

Since plesk use mysql database operation of tasks take bit more time than cPanel. Also if due to any bug in update any problem appears hosting provider have only option is to contact their support and let them fix. But in case of cPanel we can easily go back to previous version and sometime fix manually by updating records in files.

If mysql service goes down for any reason or database of plesk crashes then this takes entire plesk down that is not in case of cPanel. If case of any crash like if you are terminating any account from plesk and if server crashes before it terminate account you will need to work on DB to remove partially terminated account which is impossible without help of plesk support. But in case of cPanel it goes very easy to finish partially completed task by making changes to some text files this great advantage.

Migration of hosting account as it is from plesk to cPanel or cPanel to plesk nearly impossible so it is important to test both Panels and make decision. Personally I recommend go for cPanel.

Performance security

Although Resources usage of cPanel is less than plesk both fast in terms performance , secure and most stable panels in available hosting control panels.


Most of the people use cPanel because it is cheaper than plesk.

Operating system:

cPanel runs only on linux but plesk works on windows. For windows server plesk is highly recommended control panel.

Un installation:

cPanel it is not possible to un install cPanel. You only have option backup data and then re install server.

Plesk offer uninstall feature but it is not recommended.

Install java on ubuntu

In this tutorial we will learn how to install java and setup required java variables on ubuntu.

Java is one of the famous programming languages which allow developers to compile programs once and then run anywhere.

In this tutorials commands are provided to install java on ubuntu 16.04.

Installing java using default packages.

First of all we will update all existing packages on OS to latest version.

apt-get update && apt-get upgrade

Once OS’s packages updated install latest version of Java Runtime Environment (JRE) by executing following command:

apt-get install default-jre

You can install jdk instead of jre which is required to compile java programs. JDK is recommended as it includes jre as well.

apt-get install default-jdk

That’s all java is ready to use.

java -version
javac -version

Now setting up java installation path as JAVA_HOME variable. To find location execute command

update-alternatives --config java

Once you get path set it as JAVA_HOME by adding it to file /etc/environment like


To activate this variable for current session execute following command


Verify it is activated by executing command


That’s it.

How to add files folders to an existing TAR archive

It is possible to append on existing TAR archive.

We can add additional files/folders to an already existing TAR archive.

For example:

Create 3 files named as file1 file2 file3

[root@linux midnight]# touch file1 file2 file3

List file created.

[root@linux midnight]# ls -l
total 0
-rw-r--r-- 1 root root 0 Oct 29 10:26 file1
-rw-r--r-- 1 root root 0 Oct 29 10:26 file2
-rw-r--r-- 1 root root 0 Oct 29 10:26 file3

Create tar archive named as file.tar using following command

[root@linux midnight]# tar -cvf file.tar file1 file2 file3

List contains of tar file file.tar

[root@linux midnight]# tar -tf file.tar

Create additional file

[root@linux midnight]# touch file4

Add file4 to existing file.tar

[root@linux midnight]# tar -rf file.tar file4

List files of file.tar and see 4th file is added.

[root@linux midnight]# tar -tf file.tar