Install Oracle(Two) - Oracle11g on Ubuntu Linux 8
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-04-30
I take this chapter from internet and install Oracle 11g in Ubuntu Linux 8.
One little issue is that Ubuntu is unsupported by Oracle. So, through this text, we will trick the Oracle installer into thinking it’s actually running on a Red Hat box.
Step Zero
This tutorial was based on a document which can be found here . I have adapted it for Oracle 11g.
Get a copy of Ubuntu 8 and install on a machine. I’m using the 32-bit version here (as well as for Oracle). Next, make sure your system is up-to-date. A simple apt-get update followed by a apt-get upgrade will do the trick, although you may prefer using the GUI Synaptic Package Manager — it’s entirely up to you what method you choose. However, I much prefer to use the command line.
As you go through updates, sometimes a reboot will be needed (usually to boot from a newer, recently-updated kernel). Sometimes it’ll just ask you to restart your web browser or some other program as a new version is installed.
It’s important to have a few gigabytes of free disk space and a total of 1 GB of memory before starting this. This 1 GB of memory can be RAM alone or the combination of RAM and swap space. Of course, since everything runs faster when in RAM, the more of it, the better.
Very important: get Java running before trying to move on. My guess is that almost any JRE (java runtime) or JDK (java development kit) will work. I’m not sure which is the minimum version required: I used Sun JDK 1.5.
Step One
Install some system requirements. There are a few packages that I had to install on this box (it was a recently installed system which didn’t have all these packages). After several attempts of installing Oracle, the equivalent command-line for installing all the necessary packages at once was something like this:
拥有帝国一切,皆有可能。欢迎访问phome.net# sudo apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio libstdc 5 gawk alien libg 2.8.1.3-glibc2.2 ksh gcc-3.3 g -3.3 libstdc 5It’s possible that when installing the packages mentioned above, the installer will install some other prerequisites as well, as these packages themselves may have prerequisites. Note: 1. The update manager can''t find libaio. Please install libaio1. 2. Then universal installer of Oracle 11g need glibc installed, acutally glibc is equivalent to the libc6. So just make libc6 work. And during installing Oracle 11g, check the checkbox before glibc checking item and get proceeded to install with ignoring the checking error. 3. Can''t find libg 2.8.1.3-glibc2.2, ignore it. 4. I use the sudo apt-get install build-enssential , then ubuntu corruptted, so pay more attention on it. Step Two Choose where you are going to install your Oracle 11g server and create the ORACLE_BASE directory. This is the place where Oracle will be installed. Make sure there is at least 3 GB on the partition/mount point before moving to the next step. After installed, my basic installation |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于Install Oracle(Two) - Oracle11g on Ubuntu Linux 8的所有评论