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#数据库的希德
如今我们很多朋友做网站都比较多的采用站群模式,但是用站群模式我们很多人都知道要拆分到不同IP段。比如我们会选择不同的服务商,不同的机房,至少和我们每个服务器的IP地址差异化。于是,我们很多朋友会选择美国多IP站群VPS商家的产品。美国站群VPS主机商和我们普通的云服务器、VPS还是有区别的,比如站群服务器的IP分布情况,配置技术难度,以及我们成本是比普通的高,商家选择要靠谱的。我们在选择美国多IP...
阿里云香港配置图提速啦是成立于2012年的十分老牌的一个商家这次给大家评测的是 阿里云香港 16核32G 20M 这款产品,单单说价格上就是十分的离谱原价8631元/月的现价只要 999元 而且还有个8折循环优惠。废话不多说直接进入正题。优惠时间 2021年8月20日-2021年9月20日 优惠码 wn789 8折优惠阿里云香港BGP专线 16核32G 10M带宽 优惠购买 399元购买链接阿里云...
WHloud Date(鲸云数据),原做大数据和软件开发的团队,现在转变成云计算服务,面对海内外用户提供中国大陆,韩国,日本,香港等多个地方节点服务。24*7小时的在线支持,较为全面的虚拟化构架以及全方面的技术支持!官方网站:https://www.whloud.com/WHloud Date 韩国BGP云主机少量补货随时可以开通,随时可以用,两小时内提交退款,可在工作日期间全额原路返回!支持pa...