Installation of Oracle Enterprise Linux system and installation of ORACLE12C

Source: Internet
Author: User
Tags gpg symlink

All the parameters used in this article are in the post-text appendix

Go to the installation configuration directory

Partition selection I'll configure partitioning

Then select please partition for me

Close Kdump

Change host name, open network connection

Selecting the GNOME desktop and server with GUI in software installation

Then perform the installation

Set Root password

Select Accept License Agreement

Make language choices

Turn off privacy

Select time Zone

Enter name

Set Password

Switch to root user, view IP

Enter/etc/hosts, write host name and IP address

For Yum Installation

Check if the process is turned on

[Email protected] ~]# kill-9 823
[Email protected] ~]# Ps-ef | grep Avahi
Root 16794 16206 0 10:27 pts/0 00:00:00 grep--color=auto Avahi

Close the process

/etc/selinux/config

Shutting down the firewall

Modify the Oracle User password

Modify Users and Permissions

Switch to Oracle user entry. Bash_profile

Switch to root user, enter limits.conf

Modify to the following parameters

Enter the login file

Modify to the following parameters

Unzip the ORACLE12C installation package and start the Runinstaller

Choose not to accept updates

Install only database software

Select a Single instance database

Select Enterprise Edition

Default selection

Default selection

Default selection

Default selection

Select Install

Enter the code in the terminal

Start Monitoring

Start the database configuration and select Create a database

Select Skip Configuration

Select the second item

Enter the database name and SID

Default selection

Default selection

Default selection

Default selection

Select the character set, select the third item

Port Default 5500

Enter password

Select Create Database

Select Install

Appendix

[email protected] ~]# Yum install oracle-database-server-12cr2-preinstall-y
Loaded Plugins:langpacks, Ulninfo
Resolving Dependencies
--Running Transaction check
---> Package oracle-database-server-12cr2-preinstall.x86_64 0:1.0-3.el7 'll be installed
--processing DEPENDENCY:COMPAT-LIBCAP1 for package:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64
--processing Dependency:ksh for package:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64
--processing dependency:libaio-devel for package:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64
--processing dependency:compat-libstdc++-33 for package:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86 _64
--Running Transaction check
---> Package compat-libcap1.x86_64 0:1.10-7.el7 'll be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 'll be installed
---> Package ksh.x86_64 0:20120801-137.0.1.el7 'll be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 'll be installed
--Finished Dependency Resolution

Dependencies resolved

=============================================================================================================== =======================================
Package Arch Version Repository Size
=============================================================================================================== =======================================
Installing:
Oracle-database-server-12cr2-preinstall x86_64 1.0-3.el7 ol7_latest k
Installing for dependencies:
Compat-libcap1 x86_64 1.10-7.el7 ol7_latest k
Compat-libstdc++-33 x86_64 3.2.3-72.el7 ol7_latest-K
Ksh x86_64 20120801-137.0.1.el7 ol7_latest 881 k
Libaio-devel x86_64 0.3.109-13.el7 ol7_latest k

Transaction Summary
=============================================================================================================== =======================================
Install 1 package (+4 Dependent packages)

Total Download size:1.1 M
Installed size:4.0 M
Downloading packages:
Warning:/var/cache/yum/x86_64/7server/ol7_latest/packages/compat-libcap1-1.10-7.el7.x86_64.rpm:header V3 RSA/ SHA256 Signature, Key ID Ec551f03:nokey
Public key for compat-libcap1-1.10-7.el7.x86_64.rpm are not installed
(1/5): compat-libcap1-1.10-7.el7.x86_64.rpm | KB 00:00:02
(2/5): compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm | 00:00:03 KB
(3/5): libaio-devel-0.3.109-13.el7.x86_64.rpm | KB 00:00:01
(4/5): oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64.rpm | KB 00:00:00
(5/5): ksh-20120801-137.0.1.el7.x86_64.rpm | 881 KB 00:00:04
--------------------------------------------------------------------------------------------------------------- ---------------------------------------
Total 166 kb/s | 1.1 MB 00:00:06
Retrieving Key from File:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xec551f03:
Userid: "Oracle OSS Group (Open Source software group) <[email protected]>"
fingerprint:4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
Package:7:oraclelinux-release-7.5-1.0.3.el7.x86_64 (@anaconda/7.5)
From:/etc/pki/rpm-gpg/rpm-gpg-key-oracle
Running transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing:ksh-20120801-137.0.1.el7.x86_64 1/5
Installing:compat-libstdc++-33-3.2.3-72.el7.x86_64 2/5
Installing:compat-libcap1-1.10-7.el7.x86_64 3/5
Installing:libaio-devel-0.3.109-13.el7.x86_64 4/5
Installing:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64 5/5
Verifying:libaio-devel-0.3.109-13.el7.x86_64 1/5
Verifying:compat-libcap1-1.10-7.el7.x86_64 2/5
Verifying:compat-libstdc++-33-3.2.3-72.el7.x86_64 3/5
Verifying:oracle-database-server-12cr2-preinstall-1.0-3.el7.x86_64 4/5
Verifying:ksh-20120801-137.0.1.el7.x86_64 5/5

Installed:
Oracle-database-server-12cr2-preinstall.x86_64 0:1.0-3.EL7

Dependency installed:
compat-libcap1.x86_64 0:1.10-7.el7 compat-libstdc++-33.x86_64 0:3.2.3-72.el7 ksh.x86_64 0:20120801-137.0.1.el7 Libaio-devel.x86_64 0:0.3.109-13.EL7

complete!


Systemctl Disable Avahi-daemon.service shutdown process

[Email protected] ~]# Chkconfig Avahi-daemon off
Note: The request is being forwarded to "Systemctl disable Avahi-daemon.service".
Removed Symlink/etc/systemd/system/multi-user.target.wants/avahi-daemon.service.
Removed Symlink/etc/systemd/system/sockets.target.wants/avahi-daemon.socket.
Removed Symlink/etc/systemd/system/dbus-org.freedesktop.avahi.service.

[Email protected] ~]# Ps-ef | grep Avahi
Avahi 823 1 0 10:06? 00:00:00 avahi-daemon:running [linux.local]
Avahi 859 823 0 10:06? 00:00:00 Avahi-daemon:chroot Helper
Root 16790 16206 0 10:27 pts/0 00:00:00 grep--color=auto Avahi

[Email protected] ~]# kill-9 823
[Email protected] ~]# Ps-ef | grep Avahi
Root 16794 16206 0 10:27 pts/0 00:00:00 grep--color=auto Avahi


Vi/etc/selinux/config
# This file controls the state of the SELinux on the system.
# selinux= can take one of the these three values:# Enforcing-selinux security policy is enforced.
# Permissive-selinux Prints warnings instead of enforcing.
# disabled-no SELinux policy is loaded.
Selinux=disabled
# selinuxtype= can take one of these the values:
# targeted-targeted processes is protected,
# Mls-multi level Security protection.

[Email protected] ~]# Systemctl stop Firewalld
[Email protected] ~]# systemctl disable FIREWALLD
Removed Symlink/etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed Symlink/etc/systemd/system/dbus-org.fedoraproject.firewalld1.service.

[Email protected] ~]# Firewall-cmd--state
Not running

passwd Oracle

Mkdir-p/u01/app/oracle
Chown-r oracle:oinstall/u01
Chmod-r 775/u01
Ls-lr/u01

Su-oracle

VI. bash_profile

Export Oracle_base=/u01/app/oracle
Export Oracle_home=/u01/app/oracle/product/12.2.0/dbhome_1
Export oracle_sid=vdedu
Export Oracle_term=xterm
Export Path=/usr/sbin: $PATHexport path=/u01/app/ogg: $ORACLE _home/bin: $PATH
Export Ld_library_path=/u01/app/ogg: $ORACLE _home/lib:/lib:/usr/lib: $LD _library_path
Export classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib
Export nls_date_format= "Yyyy-mm-dd HH24:MI:SS"
Export Nls_lang=american_america. Al32utf8
Export Lang=c
Export Oracle_unqname=kingsql

Su-root

#vi/etc/security/limits.conf//Add the following parameters

Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
Oracle Soft Nproc 16384
Oracle Hard Nproc 16384
Oracle Soft Stack 10240
Oracle Hard Stack 32768
Oracle Hard Memlock 134217728
Oracle Soft Memlock 134217728

[[Email protected] ~] #vi/etc/pam.d/login
Add the following parameters
Session Required Pam_limits.so

Vi/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1
localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.242.133 dbora12c

Vi/etc/hostname
dbora12c

Installation of Oracle Enterprise Linux system and installation of ORACLE12C

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.