Inhaltsverzeichnis
Install VirtualBox
Create a new Virtual Machine for Oracle Linux
Install Oracle Linux 7 in this Virtual Machine
Rmove OpenJDK
Install Oracle JDK
Heim Datenbank MySQL-Tutorial Install Oracle Linux 7 on Oracle VirtualBox

Install Oracle Linux 7 on Oracle VirtualBox

Jun 07, 2016 pm 03:32 PM
install linux oracle

I'll start coding with JEE soon. Product environment adopts Oracle WebLogic in Linux, technology adopts EJB3 and JPA. So I'm going to set a development environment in my own computer with them. For iMac installing JDK, Eclipse or Maven wil

I'll start coding with JEE soon. Product environment adopts Oracle + WebLogic in Linux, technology adopts EJB3 and JPA. So I'm going to set a development environment in my own computer with them.  

For iMac installing JDK, Eclipse or Maven will not be problem, but installing Oracle seems a impossible mission, now virtualbox become a very good choice.

Install VirtualBox

Download from https://www.virtualbox.org/, nothing special on installing. But it's really a magic tool.

Create a new Virtual Machine for Oracle Linux

You'd better to download a Oracle Linux 7 installer ISO file before starting this step. https://edelivery.oracle.com/linux. You need specify a installer ISO file during the process of creating virtual machine.

1. Name your virtual machine, choose the OS you will install later and set the size of memory.

Install Oracle Linux 7 on Oracle VirtualBox

2. Set the size of virtual machine's "hard disk". Click OK the virtual machine will be created.

Install Oracle Linux 7 on Oracle VirtualBox

You still need change's several basic settings. Select the virtual machine you just created, click "Settings" button on the top of VirtualBox Manager.

1. Specify the installer ISO file which will be installed onto this virtual machine later. 

    Storage --> Click CD ROM icon on right (Storage Tree) --> Click CD ROM icon on left (Attributes) --> Choose a virtual CD/DVD disk file --> Select the Oracle Linux installer which you downloaded in advance.

Install Oracle Linux 7 on Oracle VirtualBox

2. Enable network connection. This virtual machine will be assigned a IP address you can access from you computer after OS has been installed. For example, you can ssh this virtual machine.

Install Oracle Linux 7 on Oracle VirtualBox

3. All done, click OK.

Install Oracle Linux 7 in this Virtual Machine

1. Select VirtualBox you created former, click "Start" button on top

Install Oracle Linux 7 on Oracle VirtualBox

**  Clicking "Left Command Button" can move your mouse cursor out of the installation screen.

2. Software Selection

Install Oracle Linux 7 on Oracle VirtualBox

3. Enable network connection

Install Oracle Linux 7 on Oracle VirtualBox

4. Reboot after complete installation, still need do some basic configurations.

  • Enable Kdump
  • Set up software update. I select "No, I prefer to register at a later time." because I don't purchase any oracle product...

Rmove OpenJDK

Install Oracle Linux 7 on Oracle VirtualBox

OpenJDK is default JVM in Oracle Linux. I see quite a lot of posts say simply run command "yum remove java*", but I'm not sure if this way is secure because wildcard is used, so it seems not really. I'm going to use software GUI to remove it.

After you login Oracle Linux-->Start menu-->System tools-->Software, search openjdk then remove packages.

Install Oracle Linux 7 on Oracle VirtualBox


Install Oracle JDK

1. Download 64bit jdk archive file

2. Extract it into /usr/lib

3. Add JAVA_HOME variable into /etc/profile. This jvm is enabled for all the users of this vm.


export JAVA_HOME=/usr/lib/jdk-1.8.0-xxx

export PATH=$PATH:$JAVA_HOME/bin


Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn

Heiße Artikel -Tags

Notepad++7.3.1

Notepad++7.3.1

Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version

SublimeText3 chinesische Version

Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1

Senden Sie Studio 13.0.1

Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6

Dreamweaver CS6

Visuelle Webentwicklungstools

SublimeText3 Mac-Version

SublimeText3 Mac-Version

Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Android TV Box erhält inoffizielles Ubuntu 24.04-Upgrade Android TV Box erhält inoffizielles Ubuntu 24.04-Upgrade Sep 05, 2024 am 06:33 AM

Android TV Box erhält inoffizielles Ubuntu 24.04-Upgrade

Deepseek Web Version Eingang Deepseek Offizielle Website Eingang Deepseek Web Version Eingang Deepseek Offizielle Website Eingang Feb 19, 2025 pm 04:54 PM

Deepseek Web Version Eingang Deepseek Offizielle Website Eingang

So installieren Sie Deepseek So installieren Sie Deepseek Feb 19, 2025 pm 05:48 PM

So installieren Sie Deepseek

BitPie Bitpie-Wallet-App-Download-Adresse BitPie Bitpie-Wallet-App-Download-Adresse Sep 10, 2024 pm 12:10 PM

BitPie Bitpie-Wallet-App-Download-Adresse

Bitget Offizielle Website -Installation (2025 Anfängerhandbuch) Bitget Offizielle Website -Installation (2025 Anfängerhandbuch) Feb 21, 2025 pm 08:42 PM

Bitget Offizielle Website -Installation (2025 Anfängerhandbuch)

Installation der Quellcode-Kompilierung von Zabbix 3.4 Installation der Quellcode-Kompilierung von Zabbix 3.4 Sep 04, 2024 am 07:32 AM

Installation der Quellcode-Kompilierung von Zabbix 3.4

Ausführliche Erklärung: Parameterbefehl zur Beurteilung der Variablen des Shell-Skripts Ausführliche Erklärung: Parameterbefehl zur Beurteilung der Variablen des Shell-Skripts Sep 02, 2024 pm 03:25 PM

Ausführliche Erklärung: Parameterbefehl zur Beurteilung der Variablen des Shell-Skripts

Ouyi OKX Installationspaket ist direkt enthalten Ouyi OKX Installationspaket ist direkt enthalten Feb 21, 2025 pm 08:00 PM

Ouyi OKX Installationspaket ist direkt enthalten

See all articles