installing java jdk 8 on ec2
Step 1: Check the Java Version
java -version
Step 2: Download RPM package of Oracle JDK (8u121)
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept- securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.rpm
Step 4: Install JDK 8
sudo yum install -y jdk-8u141-linux-x64.rpm
Step 5: Verify oracle JDK version
java -version
Installing JRE 1.8
sudo yum install java-1.8.0
change the Java version
sudo alternatives --config java
launching ec2:
https://aws.amazon.com/getting-started/tutorials/launch-a-virtual-machine/?trk=gs_card&e=gs&p=gsrc
installing rds on ec2:
https://aws.amazon.com/getting-started/tutorials/create-mysql-db/?nc2=type_a
install putty and converting .pem to .ppk for filezilla:
brew install putty
puttygen mykeypair.pem -o mykeypair.ppk
'IT > ETC' 카테고리의 다른 글
Writing Shell script 1 (0) | 2020.01.30 |
---|---|
Linux commands 1 (0) | 2020.01.30 |
UnsupportedClassVersionError (0) | 2020.01.29 |
FTP vs SFTP (0) | 2020.01.29 |
AWS(1/29/20 notes) 접속 (0) | 2020.01.29 |