How to enable mod_rewrite for Apache in CentOS Date: 10-07-2021 CentOS 7 and later versions have mod_rewrite installed and enabled by default. Open terminal and run the below command to check if mod_rewrite is already enabled in your system.# httpd -M | grep rewriteIf you see the output like below,… Continue Reading How to enable mod_rewrite for Apache in CentOS

1) Download and install the IIS from the below URL. https://www.iis.net/downloads/microsoft/url-rewrite 2) Select the website you want to apply redirection to, then double-click URL Rewrite. 3) Click Add Rule(s) 4) Select Blank rule in the Inbound rules section, then click the OK button. 5) Give your redirect an easy-to-remember name.… Continue Reading Redirect HTTP to HTTPS with Windows IIS 10

error: subsystem: cannot stat /usr/libexec/openssh/sftp-server: No such file or directory subsystem request for sftp failed, subsystem not found Date: 03-07-2021 When i try to connect server via sftp, i get above error. Follow the below steps to solve the error. Step 1: Login to the server via ssh terminal. Step… Continue Reading error: subsystem: cannot stat /usr/libexec/openssh/sftp-server: No such file or directory subsystem request for sftp failed, subsystem not found

If you want to schedule and run a job at a particular time then you can follow the below steps 1) Login to Jenkins 2) Goto the job you want schedule and click on configure. 3) Go down to the section of “build triggers” 4) Check Build periodically, you get… Continue Reading Schedule Job in Jenkins

In this script you will get information like AZ, instance ID, IP, keyname, etc… Please find the script below. Create a file with name getawsinstance.sh. Copy and paste the below content.nano getawsinstances.sh !/bin/bash echo “Grabbing instances in all regions, please wait..”for region in aws ec2 describe-regions –output text | cut… Continue Reading Bash Script to get the information related to instances of all regions in AWS.

How to Install Nginx and Let’s Encrypt SSL with HTML + Docker – Ubuntu 20.04 Date: 26-06-2021 Prerequisites: 1. Install Docker on your server.2. Install Docker Compose on your server.3. Configure DNS to point the domain to the server to install SSL.Note: In this document, I use ramesh.pheonixsolutions.com domain name.… Continue Reading How to Install Nginx and Let’s Encrypt SSL with HTML + Docker – Ubuntu 20.04

1)To achieve the above, first we need to install docker. Please follow the below link to install docker.https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository 2) Create a sample application. Create a directory called “helloapp”. Create file index.js.mkdir helloappcd helloappvi index.js 3) Copy and paste the below content. const express = require(“express”);const app = express();app.get(“/”, (req, res)… Continue Reading Deploy a sample app with Docker over SSL

How to Enable Hardware Virtualisation on Windows 10 machine Date: 19-06-2021 Step 1: Reboot your computer and login to BIOS mode. Normally, BIOS settings can be accessed using the function keys (F1, F2, F3, F10, or F12) during boot. Some computers are using ESC or Delete key to login BIOS… Continue Reading How to Enable Hardware Virtualization on Windows 10 machine

How to enable and disable startup apps in Windows 10 Date: 12-06-2021 Step 1: Right-click the Start button and select Task Manager then select the Startup tab.Note: If you don’t see the Startup tab, select More details in Task Manager. Step 2: Select the app you want to Enable to run it at system startup or Disable it… Continue Reading How to enable and disable startup apps in Windows 10

Wildcard SSL allows you to secure an unlimited number of subdomains on a single certificate. It’s a great solution for anyone who hosts or manages multiple sites or pages that exist on the same domain. The one-time cost of the certificate covers you for additional subdomains you may add in… Continue Reading Installing wildcard SSL in windows which you are already using in Linux