(GO) Oracle Linux 7 installation Oracle 12c

Source: Internet
Author: User
Tags create directory dba


Original: 535894461. Installation Preparation


Oracle Linux 7.3 Other 7 versions are also available, after installation upgrade to the latest



Oracle Database 12c



Oracle VirtualBox



Xftp 5



Xmanager 5



Putty or CRT


2. Installing virtual machines and Linux environments


A. Create a new virtual machine









Memory according to their own actual conditions to give









Configure CPU and other parameters (change the pointing device to USB so it is convenient to switch the mouse in the virtual machine and the real machine)






Select the Oracle Linux 7 Optical Network to configure the network NAT mode for easy installation and upgrade, then change to host mode only









B. Start the virtual machine installation Linux,install Oracle Linux 7.3 Enter, ESC cancel the verification CD









Beginner or choose the English system









Select the package, this is required, others






Assigning Disk Selection manual configuration






Select Standard partition format






Create swap space is 1 time times the memory of the line, you can also big point






The rest is given to the root partition, which is the experimental environment so it can be






Configure the Network









The root password is now created when installing the installation, and if prompted simply, click two times.









Wait for the installation to complete.


3. Configure Linux environment A. Test network environment Remember to shut down the local computer firewall.


$IP Address Show






$vi/etc/hosts configuration in root mode






$ping Test









Enter Command mode Linux 7 is not the same as the previous version, not in Etc/inittab



Command mode



LN-SF/lib/systemd/system/runlevel3.target/etc/systemd/system/default. Target or
ln -SF/lib/systemd/system/multi-user. Target/etc/systemd /system/default. Target or
Systemctl Set-default Multi-user.target



Graphics mode



ln-SF/lib/systemd/system/runlevel5.target/etc/systemd/system/Default . Target or



ln-SF/lib/systemd/system/graphical.target/etc/systemd/system/ default. Target or



Systemctl Set-default Graphical.target



Enter Command mode



Uploading Oracle 12c with XFTP












Extract all two files and automatically create the database directory






B. Create a user and user group create a password view create



Create a group OINSTALL,DBA



Create User Oracle






Create a user Oracle and set the primary group as the Oinstall Secondary group as the DBA






Create password Input two times






C. Create directory to move the installation directory to the U01/directory (created in/directory)






Modify directory permissions for u01 and subdirectories to Oracle User Configuration permissions






Modify Permissions



D. Creating an Oracle User environment variable (switch to Oracle user)






Create directory variable the DISPLAY IP address is the IP of the remote host, not the host that installed the Oracle 12c is not created in the command mode to reduce the graphical interface



# for Oracle 12c
Oracle_base=/u01/app/oracle
Oracle_home= $ORACLE _base/product/12.1.0/dbhome_1
Oracle_sid=orcl
Path= $ORACLE _home/bin: $PATH: $HOME/bin
Ld_library_path= $ORACLE _home/lib: $LD _library_path call ORACLE Self Library
display=192.168.56.1:0.0 command line graphical interface to install remote machine IP
Export PATH ld_library_path DISPLAY oracle_base oracle_home oracle_sid



Use env to see the environment variables running, source. Bash_profile Effective environment variable again env view






E. Install the Oracle package to refer to the installation packages required by Oracle official documentation for Linux 7



There is no relationship between the version highs at the time of installation. It is best to install the Linux 7.3 CD with all the installation packages, no more like the 6 version of the case of less packets



$rpm-IVH * *--nodeps--force plus do not prompt for associated packages after installation



Packages for Oracle Linux 7 and Red Hat Enterprise Linux 7





binutils-2.23.52.0.1-12.el7.x86_64 
compat-libcap1-1.10-3.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.i686 
compat-libstdc++-33-3.2.3-71.el7.x86_64
gcc-4.8.2-3.el7.x86_64 
gcc-c++-4.8.2-3.el7.x86_64 
glibc-2.17-36.el7.i686 
glibc-2.17-36.el7.x86_64 
glibc-devel-2.17-36.el7.i686 
glibc-devel-2.17-36.el7.x86_64 
ksh
libaio-0.3.109-9.el7.i686 
libaio-0.3.109-9.el7.x86_64 
libaio-devel-0.3.109-9.el7.i686 
libaio-devel-0.3.109-9.el7.x86_64 
libgcc-4.8.2-3.el7.i686 
libgcc-4.8.2-3.el7.x86_64 
libstdc++-4.8.2-3.el7.i686 
libstdc++-4.8.2-3.el7.x86_64 
libstdc++-devel-4.8.2-3.el7.i686 
libstdc++-devel-4.8.2-3.el7.x86_64 
libXi-1.7.2-1.el7.i686 
libXi-1.7.2-1.el7.x86_64 
libXtst-1.2.2-1.el7.i686 
libXtst-1.2.2-1.el7.x86_64 
make-3.82-19.el7.x86_64 
sysstat-10.1.5-1.el7.x86_64


Configure Oracle Run Limit modification/etc/security/limits.conf






Configuration of kernel parameters such as installation



F. Start graphical support



Running the passive in Xmanager






icon appears in the lower right corner






Connect to Oracle Select Yes









View graph variable is not run, go to file directory








4. Install oracle12c$./runinstaller running the setup script file will pop up a few dialog boxes Select Yes, you can.


The installation screen appears to tick the next step






Select Install Database Next






Next






Install Enterprise Edition






installation directory















Select an environment to check for failure click Fix & Check Again



Oracle automatically creates kernel scripts that can be run






Run script as root user






Oracle's official configuration parameters/sbin/sysctl-p Execute






Check it again. Start the installation by clicking Install






Start installation






Prompt to run both scripts with the root user















Complete the installation of the ORACLE12C


5. Configure monitoring for Oracle users to run NETCA tips graphical points are





Appears graphically
























Last point Finish



To view the LSN run condition






View monitoring and data status





6. Create a database


$dbca









Select Create Database






Select advanced Options






Select the first one






Sid name each environment variable inside the same









Don't even choose.









Create a two user password






Default configuration






On the bottom hook.






Create an instance database






Select a second












Click Finish






Start creating a Database









Database Creation Complete



Check the Run Configuration









Window client connects to official website download tool



Use the root user to change the 127.0.0.1 localhost to the local host name one to



$ vi/etc/hosts






Test success









Running the Windows Sqlplus client






We used the Super Admin login to find the failure. Let's unlock a normal user.






Log in with Superuser and unlock Scott users and create a password for Oracle






Now we're using the Scott user to log in to the window client.






To the Linux server side and outside window client landing is normal, because it is a beginner, the method may not be very clever, look at the vast crossing understanding.



(GO) Oracle Linux 7 installation Oracle 12c


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.