Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, September 9, 2025

Docker : How to install docker on Ubuntu 24.04 Linux OS ?

 

How to install docker on Ubuntu 24.04 Linux OS  


Installing Docker on Ubuntu 24.04 is a straightforward process. Here's a step-by-step walkthrough

🛠️ Step-by-Step Guide to Install Docker on Ubuntu 24.04

Update Your System

sudo apt update && sudo apt upgrade


Install Required Packages. 

These help your system communicate securely with Docker’s repository. 

sudo apt install apt-transport-https ca-certificates curl software-properties-common


Add Docker’s Official GPG Key

        curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg


Add Docker Repository

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null


Update Package Index Again

sudo apt update


Install Docker Engine

sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin


Start and Enable Docker

sudo systemctl start docker
sudo systemctl enable docker


(Optional) Run Docker Without Sudo

sudo usermod -aG docker $USER
newgrp docker


Test Your Installation

docker run hello-world

Saturday, January 14, 2017

How to upgrade JAVA version in AWS Linux instance

How to upgrade JAVA version in AWS Linux instance


On AWS EC2 instance(Linux) if you ever want to upgrade JAVA version to latest ,you can do it using following command.

Once the instance (EC2 linux) is up and running , connect remotely and logged in.

1. Check the version of JAVA using :
 -> java -version

2. Uninstall the Older version using : [in my case its java-1.7.0-openjdk ]
-> sudo yum remove java-1.7.0-openjdk

3. Install the Newer version of JAVA using :
-> sudo yum install java-1.8.0


To make sure its installed correctly - check the version again using command given in Step1 above.


Thats it...

How to install Robot Framework on your Windows OS?

Robot Framework is an   open-source automation framework   mainly used for: Test automation  (acceptance testing, regression testing, system...