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 : [wpfmb type=’warning’ theme=2]”Starting httpd: httpd: apr_sockaddr_info_get() failed for myservername, httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName”[/wpfmb] This error is caused by the improper configuration of hostname of server,to fix it follow the steps below: There are three methods […]
Enable and Disable Ping in Windows Server
You can enable and disable ping on windows server,Go to command prompt. To Enable ping from the command prompt type the following command: […]
PleskFatalException StatInfo->getProductVersion failed linux server
While accessing the Plesk control panel, you may get an error message as follows: [wpfmb type=’error’ theme=2]StatInfo->getProductVersion failed: Plesk version file doesn’t exist or empty[/wpfmb] This error is mostly caused due to a failed Plesk upgrade OR by removing/installing some Plesk modules. To fix the issue do the following: First, check the Plesk version installed on […]
Plesk error phpMyAdmin file not found while exporting database
If you get the following error while exporting database, you can follow the steps below: [wpfmb type=’error’ theme=2]phpMyAdmin file not found can’t find the file at https://xx.xx.xx.xx:8443/domains/databases/phpMyAdmin/export.php.[/wpfmb] Some times the memory limit for php is too low for performing this operation. So we need to increase the memory_limit. For that go to: /usr/local/psa/admin/conf/ Edit the php.ini […]
How to add DNS records on Plesk panel:
You can add DNS records on your Plesk panel by following the steps below, Login to your Plesk Panel using the URL https://yourdomain.com:8443 and click on “Domains” to list them. […]