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. 构建安全的Xml Web Service系列之wse之证书存储位置

    原文:构建安全的Xml Web Service系列之wse之证书存储位置 我们在前几天对xml web service的安全性提出了一些建议,大家可以通过以下地址访问: 构建安全的Xml Web Se ...

  2. UVA 439 Knight Moves(BFS)

    Knight Moves option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=3 ...

  3. hdu2852--KiKi's K-Number(段树,求第一k的数量)

    KiKi's K-Number Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) ...

  4. VisualStudioOnline协同工作流程

    VisualStudioOnline协同工作流程 项目负责人登陆自己的vsonline新建项目就不多说了. 直接从邀请队友开始 项目负责人操作 被邀请的邮箱必须是微软的邮箱(也就是可以登录visual ...

  5. Linux查看命令终止进程

    Linux查看命令终止进程 youhaidong@youhaidong-ThinkPad-Edge-E545:~$ ps PID TTY TIME CMD 2576 pts/0 00:00:00 ba ...

  6. STL中间set具体用法!!!!

    1.关于set C++ STL 之所以得到广泛的赞誉,也被非常多人使用.不仅仅是提供了像vector, string, list等方便的容器,更重要的是STL封装了很多复杂的数据结构算法和大量经常使用 ...

  7. Sqlmap渗透测试是常用语句

    1.获取站点信息 sqlmap.py  -u http://.../ 2.获取站点的数据库信息 sqlmap.py -u http://../ --dbs 3.获取数据库DataBaseTest下的表 ...

  8. 怎么样sourceforge开源项目发现,centos安装-同htop安装案例

    一个.htop什么? top是linux下经常使用的监控程序.htop相当于其加强版,颜色显示不同參数.且支持鼠标操作. 详细介绍參看此说明文档. watermark/2/text/aHR0cDovL ...

  9. HDU1069_Monkey and Banana【LCS】

    Monkey and Banana Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others ...

  10. chrome扩展第三方浏览器下载安装

    1.使用其他浏览器打开谷歌应用市场,复制扩展详情地址url 2. 粘贴到:http://chrome-extension-downloader.com/中进行扩展的下载. 3. 拖拽到chrome e ...