Install Oracle 10gas for Redhat Linux as3

Source: Internet
Author: User
Tags ldap
1. Put the first RedHat as3 CD into the optical drive, reboot the machine and boot the optical drive. After the installation, I advise you to use the English character set, because I have used Chinese once and I feel a little uncomfortable. If the English language is not good, the dictionary serves .... Note: 1. Try to allocate a large partition, And I will divide it into 4 GB. 2. When selecting components (software packages), be sure to select all for installation, of course, it is also possible to install a software package in an incomplete manner, but do not contact me for any troubles in the future.
2. Okay. After RedHat as3 is installed, start system preparation.
A. Modify the/etc/rc. d/rc. Local file. I will add it to the RC. Local file as follows.
A) Echo 256 32000 100 142>/proc/sys/kernel/SEM
B) echo 4096>/proc/sys/kernel/shmmni
C) echo 2097152>/proc/sys/kernel/Shmall
D) echo 131072>/proc/sys/fs/file-max
E) echo 8192>/proc/sys/kernel/msgmax
F) echo 65535>/proc/sys/kernel/msgmnb
G) echo 2878>/proc/sys/kernel/msgmni
H) echo 20000 65000>/proc/sys/NET/IPv4/ip_local_port_range
I) ulimit-u 16384
B. Create a user group named DBA. I don't think it is necessary to create a user group if only 10 gas is installed. I had to build 9i RDBMS.
C. Create a user called apps. Its main group is DBA.
D. log on to the system using apps, modify the. bash_profile file, and add the following statements. Modify the statements as needed.
A) if [$ user = "apps"]; then
B) If [$ shell = "/bin/KSh"]; then
C) ulimit-P 16384
D) ulimit-N 16384
E) else
F) ulimit-u 16384-N 16384
G) Fi
H) Fi
I) Export Path = $ path: $ home/bin;
J) Export oracle_base =/data/apps;
E. Create the file. LDAP in the user's directory and add the following lines:
A) export oracle_sid = AsDB;
B) Export ORACLE_HOME = $ oracle_base/ldap;
C) Export Path =/usr/Kerberos/bin:/usr/local/bin:/usr/x11r6/bin: /data/apps/bin: $ ORACLE_HOME/bin;
F. Create a file. apps in the user's directory. The command line is as follows:
A) export ORACLE_HOME = $ oracle_base/apps;
B) Export Path =/usr/Kerberos/bin:/usr/local/bin:/usr/x11r6/bin: /data/apps/bin: $ ORACLE_HOME/bin: $ oacle_home/OPMN/bin: $ ORACLE_HOME/DMT/bin;
G. Modify system files
A) # mv/usr/bin/GCC. Backup
B) # mv/usr/bin/g ++. Backup
C) # ln-S/usr/bin/gcc296/usr/bin/GCC
D) # ln-S/usr/bin/g + + 296/usr/bin/g ++
H. Apply patch3006854 of oracle.
A) it is included in my attachment file. After unpacking, there will be a *. Sh file, which can be executed by the root user.
I. If you do not have a DNS system deployed, modify your/etc/hosts file to ensure the following line exists:
A) IP hostname. domain. xxx hostname
3. Perform the final check before installation.
A. Whether the. LDAP and. Apps files are created.
B. Modify the/etc/rc. d/rc. Local file?
C. Whether to reconnect the GCC and G ++ files
D. Whether to modify the. bash_profile File
E. when installing the operating system, check whether all components are installed. If not, check that these packages must exist in the system. If not, it seems that they exist on as3 drive 3, use rpm-IVH for Installation
A) # gcc-3.2.3-20 setarch-1.3-1
B) # pdksh-5.2.14
C) # openmotif21-2.1.30-8
D) # gnome-libs-1.4.1.2.90-34.1
E) # compat-glibc-7.x-2.2.4.32.5
F) # compat-gcc-7.3-2.96.122
G) # compat-libstdc ++-7.3-2.96.122
H) # compat-libstdc ++ devel-7.3-2.96.122
I) # compat-gcc-C ++-7.3-2.96.122
J) # sysstat-4.0.7
F. Whether Oracle patch 3006854 is applied
G. Whether your oracle10gas has been decompressed and placed in the same directory on the hard disk
H. Restart the machine after the check is complete.
4. Start to install oracle10gas infra.
A. log on to the system as an app user (Please select an English environment)
B. Execute:.../. LDAP
C. Check: Echo $ ORACLE_HOME
D. Check: Echo $ path
E. Enter disk1 of oracle10gas and run./runinstaller
F. The Oracle Installation interface is displayed. Select the installation directory.
G. In the displayed dialog box, you must specify the Oracle installation environment, and then run a. Sh file under/tmp as root.
H. Next, go to the next item and select the software to install. Select the second item infra.
I. Next, you can select Chinese as the language.
J. Next, you can select all software components.
K. Next, the user is required to specify an Instance name, and I will name it LDAP. I need to specify a password for LDAP.
L. After everything is complete, you can start the installation. The installation is smooth and the connection will not go wrong until the installation is complete and you exit.
M. When a database is created in the middle, a sh file must be executed under $ ORACLE_HOME.
5. After infra is installed, return to the user's home directory and start installing apps.
A. Execute ../. Apps
N. Check: Echo $ ORACLE_HOME
O. Check: Echo $ path
P. Enter disk1 of oracle10gas and run./runinstaller
Q. The Oracle Installation interface is displayed. Select the installation directory.
R. Next, go to the next item and select the software to install. Select the first item 10gas.
S. Next shows the language selection. You can select Chinese.
T. Next, you can select all software components.
U. Next appears, requiring the user to specify an Instance name, and I will name it apps.
V. The ias_admin password must be specified. Do not forget to use the ias_admin password.
B. the user is required to enter the name and port number of the LDAP directory server. (The server can use 127.0.0.1, and the port can query PS-Ef | grep oid. After the-p parameter in the command line is displayed, It is the port number, which is generally 3060 or 3040)
W. After everything is complete, you can start the installation. The installation is smooth and the connection will not go wrong until the installation is complete and you exit. (This step takes a long time, maybe because my memory is too small and it took about four hours)
6. After the installation is complete, you can log on to the following page:
A. http: // 127.0.0.1: 7777
B. http: // 127.0.0.1: 7778
C. http: // 127.0.0.1: 1810
D. http: // 127.0.0.1: 1811

Order and command for normal startup and Shutdown

1. Start:
1. Start INF.
2./ORACLE_HOME/bin/LSNRCTL start
3./ORACLE_HOME/bin/sqlplus/nolog
4. SQL> connect sys as sysdba
5. SQL> startup
6. SQL> exit
7./ORACLE_HOME/OPMN/bin/opmnctl startall
8./ORACLE_HOME/bin/emctl start iasconsole

9. Restart.
10./ORACLE_HOME/OPMN/bin/opmnctl startall
11./ORACLE_HOME/bin/emctl start iasconsole

Ii. Disable
1. First turn off
2./ORACLE_HOME/OPMN/bin/opmnctl stopall
3./ORACLE_HOME/bin/emctl stop iasconsole
4. Su -- convert to root user
5. shutdown-y-G0

6. Disable INF again
7./ORACLE_HOME/OPMN/bin/opmnctl stopall
8./ORACLE_HOME/bin/emctl stop iasconsole
9./ORACLE_HOME/bin/sqlplus/nolog
10. SQL> connect sys as sysdba
11. SQL> shutdown immediate
12. SQL> exit
13. Su -- convert to root user
14. shutdown-y-G0

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.