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 and uninstallation of oracle 11g (2)

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

Share

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

II. Oracle installation

1. Manual summary information

This manual mainly describes how to install oracle database with the default options

two。 Log into the system as root

To install with a graphical interface, execute the

Xhost +

3. Hardware requirement detection

3.1 memory requirements

Minimum memory: 1G

Recommended memory: 2G or more

Detect memory size:

Grep-I memtotal / proc/meminfo

SWAP requirements

Available RAMSwap Space RequiredBetween 1 GB and 2 GB1.5 times the size of the RAMBetween 2 GB and 16 GBEqual to the size of the RAMMore than 16 GB16 GB

3.2 system architecture query

Uname-a

3.3 hard disk space requirements

/ tmp requires at least 1G free space

Installation space requirement

Installation TypeRequirement for Software Files (GB) Enterprise Edition4.7Standard Edition4.6

Installation TypeRequirement for Data Files (GB) Enterprise Edition1.7Standard Edition1.5

4. Software environment requirement detection

4.1 operating system requirements

Oracle linux

RedHat linux

SUSE Enterprise Edition

Other distributions need to change the release notes to redHat or oracle

5. Create users and groups

User: oracle

Group: oinstall,oracle,dba

Set oinstall as the primary group of oracle users, and dba as the slave group of oracle

Usermod-g oinstall-G dba oracle

6. Configure kernel parameters

After installing the oracle-rdbms-server package, it will be automatically configured, and the users and groups above will be automatically created.

7. Create an installation directory

Mkdir / u01/app

Chown-R oracle.oinstall

Chmod 755 / u01

8. Configure the oracle user environment variable # or do not perform this step, but do so after the installation is complete

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_SID=updb

Do not configure the ORACLE_HOME environment variable here

9. Switch users

Su-oracle

10. Install the database

. / runInstaller

11. Generate environment variable configuration files after installation

Vi / home/oracle/.db # configure database environment variables

Export ORACLE_BASE=/u01/oracle

Export ORACLE_HOME=/u01/oracle/11g

Export ORACLE_SID=updb

Export PATH=$ORACLE_HOME/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin

twelve。 Create a database

After running the script generated in 11 steps, execute the dbca command to start creating the database

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