Changing Server Hostname
To change your hostname, enter the following command as root:$ hostname servername.yourdomain.comIf you are using cPanel, you will need to resync your license with the cPanel license server. To do...
View Articledd command to migrate VPS on linux platform
First create new vps with same configuration on another node. It doesn't matter new vps is having os or not or you can choose any OS.Once same configuration VPS setup done then use below command to...
View ArticleKill restore process in new cpanel
In new cpanel/WHM when we try to kill restore process it is still showing in WHM >> restore full backup. Below are the steps to remove that process from WHM.You can manually mark the transfer as...
View ArticleHow to upgrade ubuntu 16.04 to ubuntu 18.04
Check Ubuntu version before upgrading. lsb_release -aFirst, we have to run an update sudo apt updateThen run upgrade command sudo apt upgradeAfter that dist-upgrade sudo apt...
View ArticleResetting email account password from Command line in cPanel
1) Login to the server as root via SSH2) Run the command “openssl” and you will see this: test@test [~]# openssl OpenSSL>3) Now in the OpenSSL prompt give the command : passwd -1...
View ArticlecPanel EasyApache 4 Installing Redis and Redis PHP extension
Installing the Redis daemon:for CentOS 6/RHEL 6 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -ivh...
View ArticleCommand to activate VG on LVM
When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups.To activate, # vgchange -ay my_vg_nameTo...
View ArticleOptimize MySQL & Apache on cPanel/WHM server
On this optimization process, we will go over the Apache core configuration and modules that are part of Apache core. We think that with the correct settings of Apache and MySQL you can get excellent...
View ArticleHow to Secure your Server
Here are some quick tips on how to secure your Linux server. This is only a short list, but, they are must do’s! Some of which are:1. Change ssh port (use keys if possible as well/allow only specific...
View ArticleHow To Install Apache on CentOS 7
Apache HTTP server is the most popular web server in the world. It is a free, open-source and cross-platform HTTP server providing powerful features which can be extended by a wide variety of modules....
View ArticleApache vs Nginx
Web server is essential for all server to serve the content over the internet. There are a lot of web servers available in the market. The two Major web servers are Apache and Nginx. A lot of people...
View ArticleHow To Secure Apache
IntroductionLet’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the...
View ArticlecPanel EasyApache 4 Installing Redis and Redis PHP extension
Installing the Redis daemon:for CentOS 6/RHEL 6rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpmrpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmyum -y...
View ArticleCron PHP | How To Run PHP Scripts From Cron Jobs?
This article describes how to run PHP scripts from cron jobs.Running PHP scripts from cron jobsA common method for running PHP scripts from a cron job is to use a command-line program such as curl or...
View ArticleHow to change the date.timezone value in PHP?
If your PHP scripts do not show the correct time, the reason is that most probably your hosting server is in a different timezone.This can be easily resolved by changing a setting in PHP called...
View ArticleHow to host the Primary Domain from a subfolder (.htaccess)
Your main domain will use the public_html directory for all of its website files by default. Addon domains use sub directories inside the public_html directory.In order to also set up your main domain...
View ArticleCron jobs
A 'cron job' is an automated task that can be set up within your cPanel. This will typically be used to automate the running of a reminder script each day for example, or perhaps to run your own daily...
View ArticleHow do I create a custom php.ini file
A custom php.ini file can be constructed and placed in your web account. For instance, using a text editor such as Notepad, you can create a php.ini file with the following custom setting which would...
View ArticleHow to Disable SSH Login for the Root User
In this document, we will show you to disable the SSH root login to your server.A major security hole is to allow direct root access without any restrictions. This is an open door for hackers. They can...
View ArticleHow to Install MySQL on CentOS 7
This guide will outlined how to install MySQL on CentOS 7. MySQL is a widely used database management platform used by various applications. Many applications such as WordPress, Joomla and others rely...
View ArticleSet Password or SSH Key for CentOS Cloud Images using virt-sysprep
Step 1: Install virt-sysprepType the following apt-get command/apt command to install virt-sysprep on a Debian or Ubuntu Linux:$ sudo apt install libguestfs-toolsIf you are using a...
View ArticleHow to ban any IP Address via .htaccess
If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.order allow,denydeny from IP-ADDRESSallow from allReplace “IP-ADDRESS” with...
View ArticleHow to block an IP?
If you want to stop someone from visiting your website, you can use the IP Blocker interface within cPanel which allows you to block access to your site for one or more IP addresses or fully qualified...
View ArticleSolusVM Master on CentOS 7
When moving a master from one server to another I came across a few issues with the new (v4) installer for SolusVM and CentOS 7. The server was loaded with the minimal install of CentOS, and there is...
View ArticleHow to install Ajenti control panel.
Ajenti is a modern, lightweight, open source, web-based control panel for managing virtual private servers (VPS). Using Ajenti, an administrator can control a Linux server from a browser with its...
View Article