Whoa so you just pulled from the master branch and lost your local changes which were committed but not pushed to repo? No problem!! You can use the following command: $ git reflog show "reflog" is used to reference logs, record when the tips of branches and other references were updated in the local repository. … Continue reading How do you undo a git pull or git merge?
In this tutorial we will see how we can quickly get started with Microsoft Azure and create a simple web app on WordPress and deploy the same on Azure Prerequisites for this are Azure Free Subscription. and absic knowledge of cloud concepts Login into your Azure Portal. Click on "Create Resource" Azure Portal Search for … Continue reading Creating and Deploying a Quick WordPress app on Azure
Getting started with Azure requires PowerShell & Bash CLI and best to install PowerShell Core rather than pre-installed Windows PowerShell to make use of advanced Azure Modules. Here is how to get started with installation! Download PowerShell Core v6.2 from https://github.com/PowerShell/PowerShell/releases We can then install Azure modules in PowerShell Core using below command. This command … Continue reading Installing and setting PowerShell Core
You can copy the files from your EC2 server to an S3 bucket via AWS CLI in following way: SSH into your EC2 instanceConfigure AWS CLI on your EC2 instance $ aws configure Make sure the EC2 instance has a role assigned which has permissions to read and write to S3 bucketTry running below command … Continue reading Copying files from EC2 server to an S3 bucket
This blog post will show you how to create an S3 bucket in AWS using four ways using AWS Management Console, AWS Cloudformation and Terraform! Let us begin! First Way: Directly using S3 Management Console Go to AWS management console > Go to S3 Service Click on create bucket button and provide details for the … Continue reading Creating AWS resources in four ways using AWS Console, CLI, CloudFormation and Terraform!
Let us see how can we setup Terraform CLI on Windows and create some resouces on AWS cloud. Step 1: Download terraform from https://www.terraform.io/downloads.html Step 2: Unzip the file and place it in desired location Step 3: Set path in System Environment Variables Step 4: Test the installation CMD prompt Step 5: Configuring and Creating … Continue reading Terraform Setup on Windows to create AWS resources
How to solve JDK certificate error in sping MVC/Boot inside Eclipse and STS.
A proxy is required when the server running on Docker does not have direct access to the Internet.
Let us first create a simple node js app and then we will see how can we deploy the app on docker via creating docker image
To run another command inside a container you use docker exec every time but by enabling shell or terminal access in the container you won't have to use this again. Here is the docker command which you use to enable shell access inside a container: $ docker exec -it <container ID> shwhere exec is used … Continue reading Enabling command prompt inside a Container
In this blog post we will see some of the basic docker commands to interact with containers and images. [What is Docker? Containers and its Architecture. Learn more!] Creating and running a container from an image $ docker run <image_name>$ docker run hello-world $ docker run <image_name> <command>$ docker run busybox echo hello there , … Continue reading Executing Basic Docker Commands