search
HomeDatabaseMysql TutorialInstall Oracle Linux 7 on Oracle VirtualBox

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


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
在 Mac 上创建 Windows 11 USB 安装程序的 3 种简单方法在 Mac 上创建 Windows 11 USB 安装程序的 3 种简单方法May 13, 2023 pm 09:43 PM

Windows11引入了丰富的新功能以及全面改进的外观,更加强调统一性和效率。因此,今天的主题是如何在Mac上创建Windows11USB安装程序。执行Windows11的全新安装而不是升级,是在获取操作系统时产生最佳结果的方法。使用可在Windows11中启动的驱动器,您可以执行此任务。如果您使用的是WindowsPC,则为Windows11制作可引导CD是一个非常简单的过程。另一方面,如果您使用的是Mac,则该过程会稍微复杂一些。这篇文章将描述如何在不使用基

什么是oracle asm什么是oracle asmApr 18, 2022 pm 04:16 PM

oracle asm指的是“自动存储管理”,是一种卷管理器,可自动管理磁盘组并提供有效的数据冗余功能;它是做为单独的Oracle实例实施和部署。asm的优势:1、配置简单、可最大化推动数据库合并的存储资源利用;2、支持BIGFILE文件等。

oracle全角怎么转半角oracle全角怎么转半角May 13, 2022 pm 03:21 PM

在oracle中,可以利用“TO_SINGLE_BYTE(String)”将全角转换为半角;“TO_SINGLE_BYTE”函数可以将参数中所有多字节字符都替换为等价的单字节字符,只有当数据库字符集同时包含多字节和单字节字符的时候有效。

Oracle怎么查询端口号Oracle怎么查询端口号May 13, 2022 am 10:10 AM

在Oracle中,可利用lsnrctl命令查询端口号,该命令是Oracle的监听命令;在启动、关闭或重启oracle监听器之前可使用该命令检查oracle监听器的状态,语法为“lsnrctl status”,结果PORT后的内容就是端口号。

如何在 Windows 10 上使用命令提示符安装 PHP如何在 Windows 10 上使用命令提示符安装 PHPMay 08, 2023 pm 05:13 PM

使用命令提示符或PowerShell在Windows上安装PHP安装ChocolateyChoco包管理器我尝试了Windows默认包管理器Winget,但无法通过它安装PHP。因此,剩下的另一个最佳选择是使用流行的Chocolatey包管理器。但与Winget不同的是,Choco默认情况下不存在于我们的Windows系统中,因此我们需要在我们的系统上手动安装它。转到您的Windows10或11搜索框并键入CMD,出现时选择“以管理员身份运行”将给定的命令复制

如何在新的 SSD 上安装 macOS如何在新的 SSD 上安装 macOSApr 13, 2023 pm 04:01 PM

如何使用 macOS Recovery 在新的 SSD 上安装 macOS在 2009 年之后生产的任何 Mac 上,都有一个内置的恢复系统。这允许您将 Mac 启动到恢复模式。在此模式下,您可以修复内部磁盘、从 Time Machine 备份恢复文件、获取在线帮助或重新安装 macOS。您必须能够连接到互联网才能使用这些工具。您可以使用 macOS 安装工具在计算机中安装的新 SSD 上安装 macOS。要使用 Internet Recovery 在 SSD 上安装 macOS:按照制造商针对

oracle怎么删除sequenceoracle怎么删除sequenceMay 13, 2022 pm 03:35 PM

在oracle中,可以利用“drop sequence sequence名”来删除sequence;sequence是自动增加数字序列的意思,也就是序列号,序列号自动增加不能重置,因此需要利用drop sequence语句来删除序列。

oracle怎么查询数据类型oracle怎么查询数据类型May 13, 2022 pm 04:19 PM

在oracle中,可以利用“select ... From all_tab_columns where table_name=upper('表名') AND owner=upper('数据库登录用户名');”语句查询数据库表的数据类型。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Atom editor mac version download

Atom editor mac version download

The most popular open source editor