Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation of Oracle11.2.0.4 under OracleLinux6.5

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Get this article from https://blog.51cto.com/12784425/2310379

Oracle 11.2.0.4 download address https://download.csdn.net/download/uu5620/11125227

1. Preparatory work

Installation package for Oracle11.2.0.4

VNC client vnc Viewer

2. Upload the installation package of Oracle11.2.0.4 to the server / soft directory with vsftp

Change the access permissions of the / soft directory

[root@oracle-learn] # chmod-R 777 / soft

Go to the / soft directory

[oracle@oracle-learn] $cd / soft [oracle@oracle-learn soft] $ll total dosage 2487224-rwxrwxrwx. 1 root root 1395582860 October 29 18:50 linux11.2.0.4-1_Linux-x86-64.zip-rwxrwxrwx. 1 root root 1151304589 October 29 18:50 linux11.2.0.4-2_Linux-x86-64.zipdrwxrwxrwx. 2 root root 16384 October 29 2018 lost+found [oracle@oracle-learn soft] $

Extract the oracle software package

Unzip linux11.2.0.4-1_Linux-x86-64.zip

Unzip linux11.2.0.4-2_Linux-x86-64.zip

You will get a folder of database.

[oracle@oracle-learn soft] $ll total dosage 2487228drwxr-xr-x. 7 oracle oinstall 4096 August 27 2013 database-rwxrwxrwx. 1 root root 1395582860 October 29 18:50 linux11.2.0.4-1_Linux-x86-64.zip-rwxrwxrwx. 1 root root 1151304589 October 29 18:50 linux11.2.0.4-2_Linux-x86-64.zipdrwxrwxrwx. 2 root root 16384 October 29 2018 lost+found [oracle@oracle-learn soft] $

3. Install the VNC server:

[root@oracle-learn ~] # yum install tigervnc-server-y

Switch to the oracle user, start the vnc service and set the password oracle.

[root@oracle-learn ~] # su-oracle [oracle@oracle-learn ~] $vncserverYou will require a password to access your desktops.Password:Verify:xauth: creating new authority file / home/oracle/.XauthorityNew 'oracle-learn:1 (oracle)' desktop is oracle-learn:1Creating default startup script / home/oracle/.vnc/xstartupStarting applications specified in / home/oracle/.vnc/xstartupLog file is / home/oracle/.vnc/oracle-learn:1.log [oracle@oracle-learn ~] $

New 'oracle-learn:1 (oracle)' desktop is oracle-learn:1

Start the local VNC Viewer link server

192.168.8.120:1

Enter password oracle

After logging in, you will be asked to enter your root password.

All right, now log in to the remote desktop of the oracle user

Open the terminal to set environment variables

[oracle@oracle-learn ~] $export LANG=en_US

Go to the / soft/database directory

[oracle@oracle-learn] $cd / soft/database/ [oracle@oracle-learn database] $ll total dosage 60drwxr-xr-x. 4 oracle oinstall 4096 August 27 2013 install-rw-r--r--. 1 oracle oinstall 30016 August 27 2013 readme.htmldrwxr-xr-x. 2 oracle oinstall 4096 August 27 2013 responsedrwxr-xr-x. 2 oracle oinstall 4096 August 27 2013 rpm-rwxr-xr-x. 1 oracle oinstall 3267 August 27 2013 runInstallerdrwxr-xr-x. 2 oracle oinstall 4096 August 27 2013 sshsetupdrwxr-xr-x. 14 oracle oinstall 4096 August 27 2013 stage-rw-r--r--. 1 oracle oinstall 500 August 27 2013 welcome.html

Run the installer

[oracle@oracle-learn database] $. / runInstaller

Oracle installation interface started successfully

Installation steps

1. If you unsubscribe, there will be a prompt box and click yes.

2. Cancel the upgrade. Next step

3. Choose to install only database

4. Next step

5. Choose simplified Chinese, those who pass in English can be ignored, the next step

6. First Enterprise Edition installation, next step

7. The displayed path should be the same as the configured environment variable

Then there will be a hint, yes directly.

8. Default, next step

9. Default, next step

10. There will be a configured detection

11. Click install

Start the installation.

During installation, you will be prompted to run the script as shown in the figure:

Run the two commands sequentially under root, and after the second command runs, there will be a command built according to enter.

[root@oracle-learn] # / oracle/app/oraInventory/orainstRoot.sh Changing permissions of / oracle/app/oraInventory.Adding read,write permissions for group.Removing read,write Execute permissions for world.Changing groupname of / oracle/app/oraInventory to oinstall.The execution of the script is complete. [root@oracle-learn ~] # / oracle/app/oracle/product/11.2.0/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= / oracle/app/oracle/product/11.2.0Enter the full pathname of the local bin directory: [/ usr/local/bin]: Copying dbhome to / usr/local/bin. Copying oraenv to / usr/local/bin... Copying coraenv to / usr/local/bin... Creating / etc/oratab file...Entries will be added to the / etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Finished product-specific root actions.

Then go back to the remote desktop and click ok

To be continued unfinished!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report