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

How to install redhat7 Oracle 12C

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to install redhat7 Oracle 12C, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

Redhat7 Oracle 12C installation

System installation

English is chosen as the system language, and oracle will be garbled when installed in Chinese system.

I choose manual partitions, swap partitions to 20g, and other partitions are divided according to personal needs.

Configure the network card

Create users and groups

Configure yum source vi / etc/yum.repos.d/a.repo

Modify the hostname: vi / etc/hostname

Log in to the server with winSCP software (192.168.50.15) username: oracle password: *. Upload Linux installation media

Extract the linuxamd64_12102_database_1of2.zip linuxamd64_12102_database_2of2.zip packages under the oracle user.

Go to the datbase directory and run runInstaller

There is no need to write the Email address, the next step is fine.

Here you choose to install the software and build the library

Select server version

Select Advanced installation

Select installation path

Set up SID

Allocate memory and set it manually according to your own needs

Select the file system and configure the path (by default)

Set EM, (you don't have to set it if there is no special requirement)

Set password (set all users to the same password)

Follow the prompts to install the package

Gcc.x86_64

Ksh

Gcc-c++.x86_64

Glibc_devel.x86_64

Libaio-devel.x86_64

Compat-libcap1.x86_64

Compat-libstdc++-33.x86_64

Configure kernel parameters

Log in to the system as root, and vi / etc/sysctl.conf adds the following:

Fs.aio-max-nr = 1048576

Fs.file-max = 6815744

Kernel.shmall = 2097152

Kernel.shmmax = 8357957632

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Net.ipv4.ip_local_port_range = 9000 65500

Net.core.rmem_default = 262144

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 1048586

The parameters take effect when the following command is executed:

# / sbin/sysctl-p

Modify the file / etc/security/limits.conf to add the following:

Oracle hard nofile 65536

After the above error messages are configured, run the check again and click install to install the following screen.

The installation screen prompts you to execute 2 scripts with the root user, and then click OK to continue the installation.

Wait for the database information to appear after the installation is complete, click OK to complete the installation.

Configure environment variables: vi / home/oracle/.bash_profile add

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1/

Export ORACLE_SID=rctl

Start the listener lsnrctl start

View listener lsnrctl status

Log in to OEM background Management with IE browser: https://192.168.50.15:5500/em

The above is all the contents of the article "how to install redhat7 Oracle 12C". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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