ubuntu14. 10安装oracle11g 安装Oracle11g Ubuntu14. 10Bothered for a week, and finally got it out.
Although the number of online tutorials, but most of them area word or two interception, plus individual installation ofdifferent circumstances, many places still need to resolveNow record, to keep their own files, by the way for the needsof the reference
If you haven't installed the Ubuntu system, or you feel yourUbuntu system version is low, if you want to change it, pleaseset the swap partition (SWAP) larger (minimum 4G) at the timeof partitioning
Otherwise, when you install Oracle as a pre condition check,he will indicate that the exchange space is not enough, andOracle requires swap to be at least 3.69G
*oracle installation premise: ensure that the machine has beeninstalled JDK
Ubuntu Linux defaults to its own OpenJdk, and gives it to thesuper cow, and the terminal type:
$sudo apt-get install openjdk-7-jre
$sudo apt-get install openjdk-7-jdk
(ps: because I am not familiar, for Ubuntu to install their ownfrom the official website of JDK 1. 7_u60 for Linux so then the
machine has two JDK, but did not conflict, too. )
AfterJDKfinished, you can go to the terminal to see the versioni nformat ion:
Java -version
Let' s get down to business and install oracle:
1. update system: (this step I did not do, 14.04 is the latestversion of the Ubuntu system, system services are almost newerversion, plus their own manual secure a bunch of DEB packages)Sudo apt-get update
Sudo apt-get dist-upgrade
*2. installation relies on packages, a very important stepLook at your software source, because in most cases you wantto add source address on it, so use GEDIT instead of catSudo GEDIT /etc/apt/sources. list
So you can open your existing source list. (notice sources, nots ource)
In order to successfully install 32 bit compatible packageia32-libs, you need to add these lines in the source (and somepeople say that the g++-multilib is loaded without ia32-libs,I haven't tried) :
Deb http://extras.ubuntu. com/ubuntu trusty main
Deb-src http://extras.ubuntu.com/ubuntu trusty main
Deb http://archive.ubuntu. com/ubuntu/ raring main restricteduniverse multiverse
Save the source file after updating.
Here you can use the super cow force to carry out theinstallation of dependent packages, the following should beinstalled, otherwise the back of the graphical interfaceinstallation will be wrong on the way, careful one by one check,terminal type:
Sudo apt-get install bzip2
Sudo apt-get install elfutils
Sudo apt-get install automake
Sudo apt-get install autotools-dev
Sudo apt-get install binutils
Sudo apt-get install Expat
Sudo apt-get install gawk
Sudo apt-get install GCC
Sudo apt-get install gcc-multilibSudo apt-get install g++-multilibSudo apt-get install ia32-libs
Sudo apt-get install Ksh
Sudo apt-get install less
Sudo apt-get install lesstif2
Sudo apt-get install lesstif2-devSudo apt-get install lib32z1
Sudo apt-get install libaio1
Sudo apt-get install libaio-devSudo apt-get install libc6-dev
Sudo apt-get install libc6-dev-i386Sudo apt-get install libc6-i386Sudo apt-get install libelf-devSudo apt-get install libltdl-dev
Sudo apt-get install libmotif4
Sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386Sudo apt-get install libpth-dev
Sudo apt-get install libpthread-stubs0sudo apt-get install libpthread-stubs0-devsudo apt-get install libstdc++ 5sudo apt-get install LSB Cxxsudo apt-get install使sudo apt-get install OpenSSH服务器sudo apt-get install pdkshsudo apt-get install rlwrapsudo apt-get install转sudo apt-get install SYSSTATsudo apt-get install unixODBCsudo apt-get install unixODBC devsudo apt-get install解压
sudo apt-get install X11应用sudo apt-get install zlibc
* 3。检查系统变量
/sbin sysctl - | grep SEM
/sbin sysctl - | grep SHM
/sbin sysctl - | grep文件最大
/sbin sysctl - | grep AIO最大
/sbin sysctl - | grep ip_local_port_range
/sbin sysctl - | grep rmem_default
/sbin sysctl - | grep rmem_max
/sbin sysctl - | grep wmem_default
/sbin sysctl - | grep wmem_max
然后根据上面命令中得到的参数值在/ etc / sysctl conf中增加对应数据上面查完以后用笔记一下吧sudo gedit /etc/sysctl.conf
把sysctl conf中的以下内容用查得的值填上
f s.a i o-max-nr =f s.f i le-max =kernel. shmall =kerne l. shmmax =kerne l. shmmni =kernel. sem =net. ipv4. ip_local_port_range =net. core.rmem_default =
net. core.rmem_max =
net. core.wmem_default =
net. core.wmem_max =
运行一下命令更新内核参数sysctl –P
4。添加对当前用户的内核限制在/etc/security/limits.conflimits. conf文件中增加以下数据XXX为你当前用户名XXX软nproc 2047
XXX硬nproc 16384
XXX软nofile 1024
XXX硬nofile 65536
XXX软堆栈10240
5。检查/ etc /聚丙烯酰胺。 D /登录增加以下行有了就不用增加了
会议要求pam_limit s. so
检查/ etc / D /苏没有以下行就自己加上PAM
会议要求pam_limit s. so
6。 Oracle默认不支持Ubuntu需要欺骗一下Oracle安装程序看不懂没关系按着做就行了我也不懂mkdir / usr / lib64
LN
在S / lib / x86_64-linux-gnu / libgcc_s。所以。 1 / lib64 /LN的/usr/bi n/v i awk /斌/ awk
LN的/usr/bin/vi basename /斌/ basename
LN的/usr/bin /转/斌/转
LN的/usr/lib x86_64-linux-gnu/ libc_nonshared。 /usr/ lib64/
LN的/usr/lib x86_64-linux-gnu / libpthread_nonshared。 / usr/ lib64 /
LN的/usr/lib x86_64-linux-gnu/ libstdc++。所以。 6 / lib64 /LN的/usr/lib x86_64-linux-gnu/libstdc++。所以。6/usr/lib64/
回声的Red Hat Linux 5发布′ > / etc/redhat-release
7。配置Oracle的环境变量sudo gedit ~ /。简介
打开。轮廓文件为文件中添加以下行
# Oracl e
#这个写你后头要安装的路径
出口oracle_base = /家/应用程序/ XXX XXX
出口orac le_home = $ oracle_base /产品/ 11.2.0/dbhome_1#数据库的希德
TabbyCloud迎来一周岁的生日啦!在这一年里,感谢您包容我们的不足和缺点,在您的理解与建议下我们也在不断改变与成长。为庆祝TabbyCloud运营一周年和七夕节,TabbyCloud推出以下活动。TabbyCloud周年庆&七夕节活动官方网站:https://tabbycloud.com/香港CN2: https://tabbycloud.com/cart.php?gid=16购买链...
totyun,新公司,主要运作香港vps、日本vps业务,接入cn2网络,不限制流量!VPS基于KVM虚拟,采用系统盘和数据盘分离,从4G内存开始支持Windows系统...大家注意下,网络分“Premium China”、“Global”,由于站长尚未测试,所以也还不清楚情况,有喜欢吃螃蟹的尝试过不妨告诉下站长。官方网站:https://totyun.com一次性5折优惠码:X4QTYVNB3P...
今天9月10日是教师节,我们今天有没有让孩子带礼物和花送给老师?我们这边不允许带礼物进学校,直接有校长在门口遇到有带礼物的直接拦截下来。今天有看到Friendhosting最近推出了教师节优惠,VPS全场45折,全球多机房可选,有需要的可以看看。Friendhosting是一家成立于2009年的保加利亚主机商,主要提供销售VPS和独立服务器出租业务,数据中心分布在:荷兰、保加利亚、立陶宛、捷克、乌...