How To Upload Oracle To A Mac
Here's a quick and easy manner to install Oracle Database on a Mac.
First up, Oracle isn't available natively on the Mac. Just don't allow that end you!
If you're a programmer, and you just want to have Oracle Database running on your local machine, there are ways to practise information technology. In fact, Oracle provides us with a virtual apparatus precisely for that purpose.
In this tutorial, I install Oracle Database using the Oracle DB Developer VM (the VM stands for Virtual Machine). I do this via VirtualBox.
VirtualBox is a virtualisation awarding (also by Oracle corporation). Information technology enables you to create virtual machines (VMs) on your computer. For instance, you can use it to run Windows or Linux on a Mac, etc.
You can also apply information technology to install Oracle on your Mac. This is considering Oracle has created a virtual apparatus specifically for Oracle Database (the aforementioned Oracle DB Developer VM). This apparatus makes it easy to install Oracle Database on a Mac, because you don't need to install whatsoever other operating organisation get-go. Y'all simply import the appliance to VirtualBox. The virtual apparatus comes preinstalled with Oracle Linux and Oracle Database (as well as other handy tools, such as SQL Developer, and hands-on-labs).
Below are the steps I used to install Oracle on my Mac using VirtualBox.
Install VirtualBox
If y'all don't already accept VirtualBox, download it from the VirtualBox website.
You can install VirtualBox just as you'd install any other software. In one case the .dmg
file has downloaded, open it up and double click on the VirtualBox.pkg
icon. This opens the installer. Follow the prompts and shut the installer one time it'southward installed.
Download Oracle Database
In one case you have VirtualBox installed, download Oracle DB Programmer VM from the Oracle website.
Click the Oracle DB Developer VM
link:
That opens up a popup window with a checkbox and a download button.
Check the box if yous agree with the licence agreement, and click the Download
button:
If yous're not already logged in, you might be asked to log in or create an account. Become ahead and practise so.
Once washed, the file will be downloaded.
It's quite a large file (mine was 7.82 GB), and then give information technology some time to download.
Install Oracle Database
Once the file has downloaded, you tin can go ahead and install Oracle Database via VirtualBox. This also installs Oracle Linux every bit the operating system.
Offset of all, launch VirtualBox.
Once VirtualBox has launched, select File > Import Appliance...
:
This opens upward the post-obit Apparatus to Import
screen:
Click the yellow folder icon to navigate to the Oracle DB Developer VM file you just downloaded. It has a .ova
extension.
Once you lot've selected the file, click Continue
.
This brings u.s.a. to the Appliance Settings
screen:
Get alee and click Import
.
This opens the following license agreement prompt:
Click Agree
if you agree.
This imports the virtual appliance. This is when Oracle Database is installed via VirtualBox.
The following screen is displayed while it's importing:
Once it's finished, Oracle Database is installed equally a virtual car.
Launch the Oracle Database VM
Subsequently completing the previous steps, Oracle will now appear under your listing of virtual machines. If this is your first virtual machine, it will be the only one listed. If not, you'll see information technology listed along with your other virtual machines.
Hither's what mine looked similar after importing the Oracle DB Developer VM (I likewise have other VMs in the listing):
To launch information technology, double-click Oracle DB Developer VM
in the left carte.
Alternatively, you lot can click in one case to select it, and so click the greenish Start
push button/arrow at the top.
This launches a new window with the Oracle DB Developer VM.
At outset this may be blank:
However, later on a short time, it should eventually settle at something that looks similar this:
Congratulations! Yous accept at present installed Oracle on a Mac!
Whatsoever time you want to work with your Oracle Database installation, yous'll need to start the VM first. You lot can keep information technology running in the background, but if you e'er shut it downward, you'll need to relaunch information technology if yous want to work with it again.
Connect to Oracle Database
At present that Oracle Database has been installed, y'all can use tools such as SQL Programmer and SQLcl to connect to information technology.
- SQL Developer is a GUI interface (a bit like what SSMS is to SQL Server).
- SQLcl is a command line interface. This allows yous to connect to Oracle via a Terminal window on your Mac.
These tools are available in the Oracle DB Programmer VM. In fact, the SQL Developer icon can exist seen on the desktop of the above screenshot.
You tin launch these programs from within the virtual automobile, or y'all can download and install them to run natively on your Mac.
To run SQL Programmer in the virtual machine, double-click on the SQL Developer icon on the desktop of the virtual auto. If prompted with a username and password, enter the post-obit:
Username | hr |
Password | oracle |
This should connect and you should be able to run SQL queries immediately.
The Oracle DB Developer VM includes some sample schemas, and the hr
business relationship is a good ane to get started with if you want to play around. This schema contains information about employees—departments, locations, work histories, and related information. You can also use the sys
or organisation
accounts if required. The countersign is oracle
for those too (all passwords in the Oracle DB Developer VM is oracle
).
However, you might adopt to run SQL Programmer and/or SQLcl natively on your Mac, cheque out the following articles for downloading and installing them:
- How to Install SQL Developer on a Mac
- How to Install SQLcl on a Mac
When you lot practice run those applications natively on your Mac, you lot'll need to open VirtualBox and start the Oracle DB Developer VM whenever you want to connect to the above Oracle installation.
Source: https://database.guide/how-to-install-oracle-on-a-mac/
Posted by: fitzgeralddammand.blogspot.com
0 Response to "How To Upload Oracle To A Mac"
Post a Comment