![]() Having said that, OpenJDK 8 is present in the core repository however OpenJDK 11 is not available in the core repository rather it is available in amazon-linux-extras repository. For the newer version, they put it on amazon-linux-extras repository. Step 3: Install OpenJDK 11 on the InstanceĪmazon’s core package repository usually contains only super-stable software. Shall we move ahead with the OpenJDK installation now?Īlright, let’s go. Verify that ec2-user is showing in the username field and click Connect.Īnd, you are connected to your instance- Voila !!! You will see the below screen with the default username for a Linux 2 instance which is ec2-user. Select your instance and click Connect as shown belowĢ. How to SSH into the EC2 Instance using the EC2 Instance Connect from the Browserġ. ![]() ssh -i /path/my-key-pair.pem prefer the EC2 instance connect to SSH into instances from the browser itself and without managing a key pair. If you want to SSH from your local system, feel free to use the below command from your terminal. ![]() Link to tutorial: How to Launch EC2 Linux 2 Instance Step by Step in AWS Step 2: Connect to your Linux 2 instanceĪfter you are done with the first step, you have an up-and-running Linux 2 instance. ![]() I have covered it for you in a tutorial already. Let’s get started … Step 1: Launch an EC2 Instance(Linux 2)īefore we install the OpenJDK 11 on our EC2 Linux 2 instance, we’ll need an instance up and running. Switch Between Different Java Version (Optional).Subscribe Steps to Install OpenJDK 11 on the Amazon Linux 2 System
0 Comments
Leave a Reply. |