RedHat 6.5 under Installation oracle11g (64bit)
Software Environment: RedHat 6.5 Oracle11g_64bit
Environmental Description: As a result of the company's needs, the customer provides 6 cloud host, there are three Linux systems, which need to install a oracle11g database on a machine in the intranet, but this server is not connected to the public network, the other two can be on the public network.
Issues to be resolved before installation:
1. The first is to install the database that server is not on the public network, had to use the other two SSH remote login to the database server.
2. When installing Oracle's software environment, you cannot use Yum installation (because the Red Hat system is not registered to use Yum installation), if you use RPM installation, you need a lot of dependent packages, Finally download 6.6 of the image from the CentOS Web site (6.5 does not support downloads), because the CentOS and red Hat systems are the same, the package is common, first uninstall the Yum package, and then reinstall the CentOS 6.6 Yum package, configure the/etc/ Yum.repos.d/centos.repo, enable local Yum source.
A. Download the CentOS 6.5 iso:wget Http://mirrors.163.com/centos/6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso
B. mount ISO file Mkdir/mnt/dvd; Mount-t Iso9660-o Loop,user centos-6.6-i386-bin-dvd2.iso/mnt/dvd/
C. Uninstalling the system comes with Yum pack Rpm-qa |grep Yum | Xargs rpm-e--nodeps
D. Install the Yum pack RPM-IVH yum-*
E. Configuring the configuration files required by Yum
Vim/etc/yum.repos.d/cenost.repo
[Server]
Name=centos packeages//can be defined by itself
baseurl=file:///mnt/dvd/
Enabled=1
Gpgcheck=0
F. test if Yum is able to install packages yum-y install lrzsz*
3. Because the database server is not available on the public network, you need to upload the ISO just downloaded to the database server.
SCP centos-6.6-x86_64-bin-dvd1.iso [email protected]:/root/software/
4. Extract Oralce Package:p13390677_112040_linux-x86-64_1of7.zip error,
[email protected] oracle]# unzip P13390677_112040_linux-x86-64_1of7.zip
Archive:p13390677_112040_linux-x86-64_1of7.zip
End-of-central-directory signature not found. Either this file was not
A zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the Central directory and ZipFile comment'll be found on
The last disk (s) of this archive.
Unzip:cannot Find ZipFile directory in one of P13390677_112040_linux-x86-64_1of7.zip or
P13390677_112040_linux-x86-64_1of7.zip.zip, and cannot find p13390677_112040_linux-x86-64_1of7.zip.zip, period.
the reason for the error is:
Had to re-upload Oracle 11g installation package, this LINUX_11GR2_DATABASE_1OF2 package, was at school when the copy, not clear whether can be installed on, had to try.
5. The Oracle 11g installation package needs to be considered upload to the public network server, need to use this software winscp, and then through the Public service server SCP replication to the database.
6. After uploading, the problem comes again, the installation of oralce11g requires a graphical interface, but can not be displayed locally, had to consider silent installation.
Silent installation Please refer to another article: Silent installation of Oracle 11g under Linux
at that time can be installed silently, but also can create a database, but is not listening to the database instance, finally in order not to delay work, took a graphical interface to install Oracle 11g.
7. On another 10.40.203.5 machine provided by the customer, use the Securecrt.exe connection, because they are in the same LAN, can use the Xming software with the graphical installation.
: http://sourceforge.net/projects/xming/needs to be installed to open this software.
Need to set securecrt.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/59/E3/wKioL1TuxCORij0cAAIcScqnkg0515.jpg "title="] Yqin5csf23b{l7oqk (_3pj.jpg "alt=" Wkiol1tuxcorij0caaicscqnkg0515.jpg "/>
Set the variable at the command-line terminal: display= "native Address: 0.0" and then to execute./runinstaller This script will pop up the installation interface for Oracle, and the next step will be done.
If not, you can refer to this article: http://www.blogjava.net/ivanwan/archive/2012/04/26/376670.html
Issues that occur during the installation of Oracle 11g:
1) prompted to install the dependent software version too new, this can be ignored.
2) Oracle software and system versions are inconsistent (then the system is 64-bit, Oracle software is 32-bit), re-upload the 64Oracle software.
3) The memory of the swap partition needs to be set up temporarily.
DD If=/dev/zero of=/opt/tmp_swap bs=1k count=2000000
chmod Tmp_swap
Mkswap Tmp_swap
swapon Tmp_swap
After the installation is complete, this space can be freed:
Swapoff Tmp_swap
RM Tmp_swap
it after you have solved some problems, you need to re-check whether the two items can pass, the first one directly ignored.
Here, you can proceed to the next step of installing Oracle and creating the library until the installation is complete.
After installation, use Lsnrctl start to open the Monitoring service, use LSNRCTL status to view the status of monitoring, stop the monitoring service lsnrctl stop;
Use the Oracle User login server, connect to the database,
Sqlplus/nolog;
Connect as SYS SYSDBA;
Startup Open Database
Shutdown immediate Closing the database
http://blog.csdn.net/flyingbox/article/details/1823231 (Reference DB instance startup and shutdown)
Oracle installation is complete, if you encounter problems, you can discuss together.
This article is from "I think I am in" blog, please be sure to keep this source http://yueyong.blog.51cto.com/8429541/1615458
RedHat Enterprise Linux 6.5 installation oracle11g detailed