If you face the error pg_dump: server version: 11.6 (Debian 11.6-1.pgdg90+1); pg_dump version: 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1) and pg_dump: aborting because of server version mismatch, then you can fix it by upgrading your PostgreSQL client by following the below commands. sudo sh -c ‘echo “deb http://apt.postgresql.org/pub/repos/apt/ lsb_release -cs-pgdg main” >> /etc/apt/sources.list.d/pgdg.list’… Continue Reading How To Fix `pg_dump: aborting because of server version mismatch`

The Magento based website is not working with https Date: 24-02-2021 Once you installed the SSL certificate for website in the server. You need to follow the below steps to enable https on the Magento admin panel. Step 1: Login to Magento admin panel. Step 2: Select STORES and click… Continue Reading The Magento based website is not working with https

React js web app deployment in Docker Date: 22-02-2021 Step 1: Create a Dockerfile in the directory root with below content based on your deployment procedure. =====FROM node:12.2.0-alpine as react_build #also say WORKDIR /home/ubuntu/workspace/ #copy the react app to the container COPY . /home/ubuntu/workspace/ # #prepare the container for building… Continue Reading React js web app deployment in Docker

Download the latest Windows ACME Simple (WACS) ZIP file from the Github releases page, https://github.com/PKISharp/win-acme/releases. 2. Next extract the zip file to a folder of your choice. I am placing it in C:\inetpub\letsencrypt folder. 3. Right click on wacs.exe and select Run as Administrator to start the Windows ACME Simple… Continue Reading How to install a Let’s Encrypt SSL cert on Microsoft IIS

How to Setup SSL for AWS Elastic Beanstack environments Date: 15-02-2021 Step 01: Open the AWS console and select the Elastic beanstalk on services.  Select your environment. Step 02: Click Configuration option on left side and choose Modify in the load balancer section. You can see here ELB is using which type… Continue Reading How to Setup SSL for AWS Elastic Beanstack environments

If your newly created WordPress site is not indexed by search engines, then this is the first thing that you should do. Login to your WordPress site and go to Settings » Reading page. Scroll down to the bottom of the page and make sure that the box next to… Continue Reading WordPress site is not indexed by search engines

Please follow the below steps to backup the MongoDB.1) Install AWS CLI with the below command.pip install awscli –upgrade –user2) Configure AWS client with the below command.aws configure3) After running the above command it will ask for the below details which are related to IAM user. If you have not… Continue Reading How to backup our MongoDB and push the file into AWS S3 in Ubuntu

How to remove stopped and unused container in Docker. Date: 06-02-2021 Step 01: List all Docker containers using the command.# docker ps -aOR# docker container ls -a Step 02: Enter the below command to stop the specific container.# docker container stop [Container_id]Note: [Container_id] – Numeric ID of the container from… Continue Reading How to remove stopped and unused container in Docker

How to make File Undeletable even by root user in Linux Date: 30-01-2021 You can set attribute of a file by using below command.# chattr +i directory/fileor# chattr -i directory/fileUse the below command to view attributes of a file.# lsattr directory/file You can remove the attribute of a file.# chattr… Continue Reading How to make File Undeletable even by root user in Linux

Please follow the below steps to setup backup of mysql database from server to Amazon s3. Login to AWS console, create IAM user, download the credentials and attach AmazonS3Full access policy to the IAM user. Install AWS CLI and configure by following the below commands. apt install awscli -y aws… Continue Reading Automate MySQLdump Backup from server(backend) to Amazon S3

Protected with SiteGuarding.com Antivirus