AWS Ubuntu Oracle SQL Developer install and connect

SQL Developer is the GUI software to connect Oracle DB, installed on AWS Ubuntu and tested the connection to RDS.

1, Download the Oracle SQL Developer 4.1.3 through this Link.

2, Installing Java 8 on Ubuntu
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Configuring Java Environment
sudo apt-get install oracle-java8-set-default

3, install Oracle SQL Developer
Refer to this Link.

Generate the deb file and install,
sudo alien sqldeveloper-4.1.3.20.78-1.noarch.rpm
sudo dpkg -i ./sqldeveloper_4.1.3.20.78-2_all.deb

4, start and test Oracle SQL Developer
The installation folder is /opt/sqldeveloper
The very first time you start the SQL developer, you will be asked to input the JDK path, the JDK path of the AWS Ubuntu is "/usr/lib/jvm/java-9-oracle", you can find out this by following command,
ls -lZ /usr/binjava
ls -lZ /etc/alternatives/java

the result is showing as below pic,
Java Installation path

Use below command to start SQL Developer, and input the JDK path,
cd /opt/sqldeveloper
./sqldeveloper.sh

start sqldeveloper

After starting, in the SQL Developer GUI, input the Connection Name, Username, Password, Hostname, Port, SID, then click Test and Connect, if nothing error happens, it will be successful, below picture shows the GUI,
start sqldeveloper111

Reference link:
1, Oracle SQL Developer 4.1.3 Download
2, How to install OpenJDK 8 on 14.04 LTS?
3, RPM for Linux Installation Notes

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值