Sometimes we are able to log into the WHM but unable to log into the server with the default port 22. In such situations, you can follow the steps below to reset the server port to default 22 from WHM. […]
Category: Cpanel
Install Cloud Linux on cPanel server
To install Cloud Linux on cPanel serve,Follow the steps below. Installing Cloud Linux : wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k <activation_key> # if you have activation key or sh cldeploy -i # if you have IP based license reboot Installing CageFS and PHP selector : To run this make sure there is more than 15gb free on shared server. […]
How to find Serial Number on Linux server
To find the serial number on Linux machine ,Just fire the command below. root@server03 seemab]# dmidecode -t 1 You will get the results below. # dmidecode 2.12 SMBIOS 2.4 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: VMware, Inc. Product Name: VMware Virtual Platform Version: None Serial Number: VMware-56 4d 9e 27 […]
Install and Configure phpMyAdmin on CentOS
In this post, we will guide how to install and configure phpMyAdmin on a CentOS 6.x VPS. The procedure should be fairly similar for other versions. Step 1: Turn on EPEL repo : phpMyAdmin package is not included in default RHEL / CentOS repositories. So turn on EPEL repo as follows: […]
How to change permission of all files and folders at once
To set permission of all files on the server to 644 & folders to 755 is quite simple. To change the permissions of all folders to 755 you can use the command below : find ./ -type d -print0 | xargs -0 chmod 0755 To change the permissions of all files to 644 you can […]
How to manage Large Virtfs folder
Sometimes we noticed that on our cPanel server /home/virtfs folder takes lot of space, Actually it doesn’t uses space those are just links to the original files. […]
How to find and delete core files on server
To find and delete core files on server run the command: find . -name core.[0-9]* -exec rm -vf {} \; If you just want to find core files and not delete them, then you can use the command below. find . -name core.[0-9]* Done. […]
How to Install ClamAV
In this article we will guide you through the installation of ClamAV on CentOS. Install CalmAV: To install require ClamAV packages,Use the command below: yum install clamav clamd Start the clamd service and set it to auto-start /etc/init.d/clamd on chkconfig clamd on /etc/init.d/clamd start Configure Daily Scan: In this example, we will configure a cronjob […]
How to Install Crontab in CentOS/RHEL
Linux crontab is similar to windows task schedulers. Crontab are very useful for routine tasks like scheduling system scanning, daily backups etc. To check Crontab is installed or not, try to execute crontab -l command: […]
httpd: apr_sockaddr_info_get() failed for “hostname”
When I start httpd service,I get a warning : This error is caused by the improper configuration of hostname of server,to fix it follow the steps below: There are three methods for fixing, choose one as you preferred. 1- Edit Hosts File and add myservername declaration in the end of /etc/hosts : $ sudo nano -w […]