Anda di halaman 1dari 3

de vhub.

f m

http://devhub.fm/setting-up-an-o racle-11g-sandbo x-dev-enviro nment/

Setting up an Oracle 11G Sandbox Development Environment


This article will cover the f ollowing topics: Downloading, Installing & Running the Oracle 11G Virtual Machine. Starting up Oracle 11G and launching Enterprise Manager. Logging in with SQL Developer 3.1 EA. Working with the Demo SCHEMA. Note: Im working on an IBM Thinkpad with Windows XP SP2 running at 1.6GHZ with 3.0GB of RAM. The VM is running on RedHat Linux. Downloading, Installing & Running the Oracle 11G Virtual Machine. Step 1: You will want to download Oracle VM VirtualBox f rom here (avaliable f or Windows/Mac/Solaris/Linux): Oracle VM VirtualBox Download. If you dont have an Oracle account you will have to create one f or f ree. Once the download is complete continue with the installation process. I used the def ault installation options throughout the install. Once the instillation is complete run the application and you should see a screen similar to this: Step 2: Next you will need to download the Virtual Image (Oracle Developer Day.ova) f rom here: Oracle Developer Day.ova Step 3: Once the download is complete, we are ready to launch the VM. Using VM VirtualBox import your VM: File -> Import Appliance to launch Appliance Import Wizard. Click Choose browse to the which contains Oracle Developer Days.ova (select the f ile) then click Next> to begin importing the virtual machine.

Figure 1: Oracle VM VirtualBo x Manager

Step 4: Now we can launch the Oracle Dev Virtual Machine. Double-click the OTN

Developer Days VM. Click OK to close the Virtualbox Inf ormation dialogs. The VM will launch and boot into RedHat Enterprise Linux 5 (this will take f ew minutes), once booted in you can login using the f ollowing credentials: User Name: oracle Password: oracle Starting up Oracle 11G and launching Enterprise Manager. Now that the Oracle VM is up and running we can start Oracle and login to the Enterprise Manager. In order to stat Oracle simply type emctl start dbconsole into the console which appeared on your desktop when you logged into GNOME and hit enter. This will launch Oracle Enterprise Manager 11G. It took a f ew minutes to bootup f or me, but once it is booted up you can log-in by going to the f olling URL in your VMs web browser:

Figure 2: Oracle VM VirtualBo x Manager Running

Figure 3: Oracle Virtual Machine lo gged-in

https://localhost.localdomain:1158/em/console/aboutApplication User name: system Password: oracle Connect As: SYSDBA Logging in with SQL Developer 3.1 EA

Logging in with SQL Developer 3.1 EA The VM comes with oracle SQL Developer EA (the icon is on the desktop). Ive been using SQL Developer f or a while now and f ind it just as powerf ul as TOAD or any of the other mainstream Database IDEs. You can launch SQL Developer and login to the Figure 4: Oracle Enterprise Manager 11G System account, you should see AutoGenerated Local Connections in the Connections pane on the lef t. Expand the Auto-Generated Local Connections branch, this will allow you to login to the system-oracle account (password: oracle). Once connected to system-oracle, right click on system-oracle and select Scheme Browser, this will allow you to select the Demo schema which I will be ref erring to in other articles related to Oracle and PL/SQL. At this point you should have everything you need to start learning and experimenting with Oracle and PL/SQL in a consolidated Virtual Machine Environment!

Figure 5: Oracle SQL Develo per EA

Anda mungkin juga menyukai