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#数据库的希德
今天中午的时候看到群里网友在讨论新版本的Apache HTTP Server 2.4.51发布且建议更新升级,如果有服务器在使用较早版本的话可能需要升级安全,这次的版本中涉及到安全漏洞的问题。Apache HTTP 中2.4.50的修复补丁CVE-2021-41773 修复不完整,导致新的漏洞CVE-2021-42013。攻击者可以使用由类似别名的指令配置将URL映射到目录外的文件的遍历攻击。这里...
RAKsmart怎么样?RAKsmart香港机房新增了付费的DDoS高防保护服务,香港服务器默认接入20Mbps的大陆优化带宽(电信走CN2、联通和移动走BGP)。高防服务器需要在下单页面的IP Addresses Option里面选择购买,分:40Gbps大陆优化高防IP-$461/月、100Gbps国际BGP高防IP-$692/月,有兴趣的可以根据自己的需求来选择!点击进入:RAKsmart官...
diyvm怎么样?diyvm这是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,DiyVM商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。点击进入:diyvm官方网站地址DiyVM香港机房CN...