If you get the above error when you setup Jenkins job, please follow the below steps. There may be several reasons behind this error. One the reason may be if you don’t have git installed where you have jenkins server. To avoid this you can use the below given command.… Continue Reading Failed to connect to repository Error performing git command git ls-remote -h https github com jenikis hook git HEAD

Step 1: Download the latest WordPress file (Download | WordPress.org) Step 2: Log in to your cPanel. And click “File Manager” in the file section Step 3: Goto Domain folder Steps 4: Click on upload and select the downloaded wordpress zip file,Right click on the zip file and click on extract Step… Continue Reading How to install WordPress in cPanel without Softaculous

Step:1 – Deny all hosts deny all incoming SSH connections Open file /etc/hosts.deny by using a text editor:  vi /etc/hosts.deny Add the following line to deny all incoming SSH connections to the server:  sshd: ALL Save and close the file. Step:2 – Allow IP Address Open the file /etc/hosts.allow file by using a text… Continue Reading Restrict SSH login to a specific IP or host

To disable foreign key constraints when you want to truncate a table: Use FOREIGN_KEY_CHECKS and remember to enable it when you’re done:

Remove server name from Apache headers:- It is essential to remove Apache server header to hide Apache server information and protect your website from malicious attackers. Here’s how to remove server name from Apache response header using htaccess. You can use it to hide the Apache version and server type… Continue Reading Hide server details and disable TLSV1.0 and TLSV1.1

How to enable exec() function in PHP-FPM Date: 02-10-2021 Step 1: Log in to the server via SSH. Step 2: Check the PHP version of the server by using the below command.# php -v Step 3: If your domain using PHP version 7.3, open the PHP-FPM configuration file. # vi… Continue Reading How to enable exec() function in PHP-FPM

Sometimes we may delete the cPanel account accidentally. May be we will be having the backups enabled but still inorder to get the latest backup before termination, you can use the below script. Go to the below path/usr/local/cpanel/scripts Create a file with name “prekillacct”vi prekillacct Install AWS CLI in the… Continue Reading Script to backup the cPanel account to S3 before the termination

When you get the above error, please follow the below steps. 1) Checked the file where the Javaheapmemory needs to be increased. Developers can help you on this. 2) After identifying the file, increase it accordingly. For example:- If the current value is 2048m then increase it to 4096m. Issue… Continue Reading java.lang.OutOfMemoryError: Java heap space

CHECK_NRPE: Error – Could not complete SSL handshake Date: 18-09-2021 When you add a server to Nagios monitoring server getting this error. You can follow the below steps. Step 1: Log in to the nrpe client-server via SSH.Step 2: Run the below command.# vim /etc/nagios/nrpe.cfgStep3: Add the Nagios server IP… Continue Reading CHECK_NRPE: Error – Could not complete SSL handshake

MySQL replication should work without problems even if the servers are restarted, databases created and removed, data flowing in and out. Sometimes, however, there are errors that are breaking the replication process. It is good to know once such situation appears. Please find the bash script below which gives the… Continue Reading MySQL replication status alerts with bash script