Module- 2
Linux Fundamentals
Submitted by - Pavani Dubasi
Submitted To – Vikul
Batch No. SA2503057
Date of Submission – 30-05-2025
1. L1 - In EC2 Ubuntu Instance, create a new user and SSH Key
pair with an authorized key
Step 1: Launch two Ubuntu instances.
Step 2: Adding new user
Step 3: Checking for the user
Step 4: creating the ssh key
Step 5: Adding user-1 authorized key to user-2
Step 6: Connecting user-1 to user-2
2. L2 - As a Linux root user, Create Files/directories in the
same Instance and change the ownership to a new user
Step 1: launch an instance
Step 2: Create a New User, Create Files and Directories as
root & Change Ownership to the New User
Step 3: Verify Ownership
3. L3 - In EC2 Ubuntu Instance Create Files and Directories
and Grand R/W/X Access only to the Owner and User Group
Step 1: Launch an instance
Step 2: Create a new user and group
Step 3: Create files and directories
Step 4: Set the owner and group
Step 5: Set permissions to 770
Step 6: Verification
4. L4 - In EC2 Ubuntu Instance install JDK and setup
JAVA_HOME path environment variable.
Step 1: Launch an instance
Step 2: Update packages
Step 3: Install the JDK
Step 4: Verify Java installation
Step 5: Find the installation path
Step 6: Set JAVA_HOME environment variable
Step 7: Verify JAVA_HOME
5. L5 - Create two AWS EC2 Ubuntu Instances to establish SSH
Connection and SCP the files from one Instance to another
instance.
Step 1: Launch two instances
Step 2: Establish connecting between two instances
Step 3: Transfer file from one instance to another
6. L6 - Write a Linux Shell Script to Install Git, JDK, Maven in
EC2 Ubuntu Instance
Step 1: Launch an instance
Step 2: Create a file
Step 3: Write Linux Shell Script to Install Git, JDK, Maven
Step 4: Checking the output