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.

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

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.

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbmV1YW5kdXN0Ym5lbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" align="middle" alt="">

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.

3. All done, click OK.

Install Oracle Linux 7 in this Virtual Machine

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

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbmV1YW5kdXN0Ym5lbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" align="middle" alt="">

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

2. Software Selection

3. Enable network connection

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbmV1YW5kdXN0Ym5lbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" align="middle" alt="">

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


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.

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbmV1YW5kdXN0Ym5lbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" align="middle" alt="">


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

版权声明:本文博客原创文章,博客,未经同意,不得转载。

[VirtualBox] - Install Oracle Linux 7 on Oracle VirtualBox的更多相关文章

  1. 数据库系统入门 | Oracle Linux上部署Oracle 11g服务,并实现SSH远程登录管理

    文章目录 写在前面 一.实验内容 二.实验前期准备 1.软件目录 2.准备一些配置文件.脚本文件 三.实验方案(具体步骤) (一)在虚拟机上安装Oracle Linux (二)在Linux上安装Ora ...

  2. ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档

    ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档 2015-10-21 12:51 525人阅读 评论(0) 收藏 举报  分类: Oracle RA ...

  3. [Oracle] - Install Oracle12cR1 on Oracle Linux 6.5 in VirtualBox

    My Oralce Linux 6.5 is running on VirtualBox. Basic settings is 4G memory, 50G hard-disk, auto parti ...

  4. (转)oracle linux 7 安装oracle 12c

    原文:https://blog.csdn.net/jiuyun1986/article/details/53589446 https://blog.csdn.net/admin_root1/artic ...

  5. Oracle Linux

    一. Oracle Linux下载地址 ftp://ftp.linux.org.uk/pub/distributions/enterprise/ 该地址包含Oracle Linux 6以上版本及RHE ...

  6. oracle linux 7.3 dtrace 安装

    [root@localhost dtrace]# uname -r -.el7uek.x86_64 [root@localhost dtrace]# cat /etc/oracle-release O ...

  7. Oracle linux 6.3 安装11g R2 RAC on vbox

    1 安装系统 Virtual box 4.3 Oracle linux 6.3 Oracle 11g r2 Make sure "Adapter 1" is enabled, se ...

  8. Unix/Linux环境C编程入门教程(3) Oracle Linux 环境搭建

    Unix/Linux版本众多,我们推荐Unix/Linux初学者选用几款典型的Unix/Linux操作系统进行学习. 2010年9月,Oracle Enterprise Linux发布新版内核--Un ...

  9. Linux 完整卸载oracle和grid软件

    本文主要描述如何在Linux下完全卸载oracle和grid软件. 操作环境 SuSE11 oracle用户完整删除操作步骤 1.登录oracle用户,停止Oracle数据库监听和数据库实例 orac ...

随机推荐

  1. Android - 数据存储 -在SQL数据库中保存数据

    对于重复的或结构化的数据,保存到数据库中是很好的选择,比如联系人信息.这里假设你对SQL数据库大体上了解然后帮助你学习Android上的SQLite数据库.在Android数据库上需要用到的API可以 ...

  2. css+js整站变灰(兼容IE7+)

    原文:css+js整站变灰(兼容IE7+) 历年大型地震等自然灾害来临过后,各大网站整站都变成灰色以悼念逝去的生命,那么这种整站变灰的效果是怎么做到的? 重写一套css?NO,即便你有这个时间重写,那 ...

  3. python学习——编码

    为了将各种不同的语言都包括在同一的字符集中,满足国际间的信息交流国际上制定了UNICODE字符集. 通过使用UNICODE字符集能够满足跨语言的文字处理,有效的避免乱码产生. 用法:在脚本中添加下面代 ...

  4. js实现鼠标拖拽div-------Day44

    假设去问这样一个问题"你认为鼠标操作简单,还是键盘操作简单",相信会有多数人都会回答鼠标吧,毕竟键盘button那么多,假设手小了或者手法不规范了,太easy出问题了,也对操作的速 ...

  5. 人活系列Streetlights (秩)

    人活着系列之Streetlights Time Limit: 1000MS Memory limit: 65536K 题目描写叙述 人活着假设是为了家庭,亲情----能够说是在这个世界上最温暖人心的, ...

  6. T-SQL技术收集——删除重复数据

    原文:T-SQL技术收集--删除重复数据 在工作和面试中,经常出现如何查询或者删除重复数据的问题,如果有主键,那还好办一点,如果没有主键,那就有点麻烦. 当一个表上没有辅助键时,如果使用SSMS界面来 ...

  7. 鸟哥Linux私房菜 基础学习篇读书笔记(10):Linux磁盘和文件系统管理(3)

    本文总结了Linux操作系统来管理我们的硬盘和文件系统需要使用命令.当我们在系统中增加一个硬盘驱动器.什么是我们需要去通过这个硬盘就可以真正使用步骤?下面步骤: (1)对磁盘进行分区,新建能够使用的分 ...

  8. Android L中间RecyclerView 、CardView 、Palette使用

    RecyclerView CardView Palette <Material Design>提到,Android L版本号中新增了RecyclerView.CardView .Palet ...

  9. EasyARM i.mx287学习笔记——minicom配置和使用

    0 前言     在windows中有非常多串口调试软件,比如putty. 而ubuntu中也有非常多串口调试软件,当中最简单有用的便是minicom了.     本文说明虚拟机中怎样使用minico ...

  10. 中国澳门sinox很多平台CAD制图、PCB电路板、IC我知道了、HDL硬件描述语言叙述、电路仿真和设计软件,元素分析表

    中国澳门sinox很多平台CAD制图.PCB电路板.IC我知道了.HDL硬件描述语言叙述.电路仿真和设计软件,元素分析表,可打开眼世界. 最近的研究sinox执行windows版protel,powe ...