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/fileUse the below command to view attributes of a file.# lsattr directory/file You can remove the attribute of a file.# chattr -i directory/file
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
How to Increase RAM Size of the container in OpenVZ Date: 21-01-2021 Step 1: Check the list of all running containers by using the below command.#vzlist Step 2: You need stop VPS to which VPS server want to increase the RAM.#vzctl stop <CT_ID> Step 3: Increase the VPS RAM by… Continue Reading How to Increase RAM Size of the container in OpenVZ
How to solve “404 Not Found” error while accessing subpages on website. Date: 17-01-2021 Step 1: You need to enable Apache2 rewrite module by using below command.# sudo a2enmod rewrite Step 2: Restart Apache2.# sudo systemctl restart apache2 Step 3: Add the below details in your website Apache (etc/apache2/sites-available) configuration… Continue Reading How to solve “404 Not Found” error while accessing subpages on website.
Please follow the below steps inorder to download files from S3 bucket 1) yum install s3cmd- Cent OS sudo apt-get install s3cmd – Ubuntu/Debian 2) s3cmd –configure It will ask for Access key & Secret key. Give them and proceed further 3) List all S3 bucket s3cmd ls 4) Download… Continue Reading How to download files from S3 bucket to local machine or server
Login to AWS console and go to S3. Create a new S3 bucket or if you want to copy the objects to another existing bucket, you can use it. Install and configure the AWS Command Line Interface (AWS CLI) with the below steps.a) curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip”b) unzip awscliv2.zipc) sudo… Continue Reading How to copy objects from one bucket to another bucket in the same region.
How to create Sending API for domain in Mailgun Date: 09-01-2021 Step 1: Login to the mailgun portal Step 2: Click on Domains under the Sending section on the left side. Select the domain in which you wish to create a sending key. Step 3: Click on Domain Settings and navigate to… Continue Reading How to create Sending API for domain in Mailgun