How do I download and install Oracle Database 12c?
Oracle Database is an object-relational database management system (RDBMS) developed by Oracle Corporation. The Oracle Database is available under a Proprietary and OTN Standard License. The supported operating systems are Redhat Enterprise Linux (x86-64), SUSE and Oracle Linux, Microsoft Windows x86-64 and IBM
Linux. In this tutorial, I will show you step-by-step how to install Oracle 12c on a CentOS 7 x86-64 machine. This includes the preparation and configuration of the CentOS 7 machine for the Oracle 12c installation, the Oracle 12c installation and testing the database with the Oracle Database command line utility 'sqlplus' and the web-based Oracle Enterprise Manager. Prerequisites
As the first step, we have to install a lot of packages required by Oracle database, like GCC, Binutils, Glibc etc. We will install them from the Centos repository with the yum command. Install packages required by Oracle database with yum. Oracle Database will run under a normal Linux user and not with root privileges. In this step, we will create a new user and group for Oracle. Create new groups named 'oinstall' and 'dba', then create a new user 'oracle' and add it to the 'oinstall' group. New user and group are created, now we need
to configure our system for the Oracle installation. There are some kernel parameters that we must configure for the Oracle installation. Edit 'sysctl.conf' file with vim. Paste configuration below. Save the file and exit the editor. Now run the commands below to display all kernel parameter and apply the new values. Next, we need to configure some limits for the oracle user.
Specify the max number process and max number of open files descriptors. Edit 'limits.conf' file with vim. Paste the configuration below. Save the file and exit vim. New user and system configuration is finished. The Oracle installation requires GUI access, so the fastest way for this is by installing a X Window System on the server, and then access the GUI app with ssh -X option. Install X Window System with yum command below. When the installation is done, open a new terminal and connect to the server as oracle user with the ssh command option below. Try to run the GUI application and you will get the application
screen.Advertisement If you do not
have an Oracle account yet, register one and then log in to download 12c for Linux. Below are my oracle files. cd ~/oracle/ Install zip and unzip to extract the archives. yum -y install zip unzip Extract the Oracle files to a new directory named 'stage'. unzip linuxamd64_12102_database_se2_1of2.zip -d /stage/ Change owner and group of the '/stage/' directory to the oracle user and oinstall group. chown -R oracle:oinstall /stage/ Next, create new directories for the Oracle installation files and Oracle database files. Directory 'u01' is for the Oracle installation files and 'u02' for the Oracle database files. mkdir -p /u01 /u02 Change owner and group of the new directories and set permissions to '755'. chown -R oracle:oinstall /u01 /u02 Oracle is downloaded and the new directories for the installation are ready. Step 5 - Install Oracle Database 12cOpen a new terminal and connect to the CentOS 7 server with the ssh command below. ssh -X [email protected] Go to the stage database directory and run the installer file. cd /stage/database/ The script will check the server, make sure all tests are passed. And you will see the GUI installation screen below, there click 'Next'. At 'Installation Options', choose 'Create and configure a database' and click 'Next'. Under the 'System Class' section, choose 'Desktop Class' and click 'Next' again. 'Typical Installation' info.
Click Next. At 'Create Inventory', enter the path below: Inventory Directory: /u01/app/oraInventory oraInventory Group Name: use 'oinstall' group. Click 'Next'. Make sure all checks completed without an error, then you will see a summary of the Oracle configuration. Click 'Install'. Installation process. During installation process, you will be asked to execute some scripts as root. Open a new terminal and execute the files. ssh [email protected] You will get the results below.Advertisement Next, you will be shown a new pop-up from the database configuration assistant, please wait, it takes a time. When the 'Database Configuration Assistant' is finished, you will see the info below: Click 'Ok' and the Oracle database installation is done. Click 'Close'. Step 6 - TestingThe Oracle installation is finished and ready for testing. I will try to access Oracle from the command line first. Log in to the server and access the oracle user. ssh [email protected] Login to the oracle user. su - oracle Execute the commands below to set the oracle environment. export ORACLE_SID=orcl Access the oracle database utility 'sqlplus', log in as 'sysdba' privileges. sqlplus / as sysdba Oracle comes with some default users. Run the query below if you want to change the default user named 'sys'. alter user sys identified by yourpassword; Sqlplus is working fine. Next, try to access the web-based 'Oracle Enterprise Manager'. Open your web browser and type the https URL below on port 5500. Use the IP of your server! https://192.168.33.55:5500/em/ Login with user 'system', and the password you have setup as 'Administrative Password' in step 5. Or you can use the 'sys' user and your password. After login, you will see the 'Oracle Enterprise Manager' dashboard below. The Oracle Database 12c installation and configuration is done. Oracle database utility and Oracle Enterprise manager are working. Reference
Suggested articles
12 Comment(s)Comments× This feature is only available to subscribers. Get your subscription here. How do I download and install Oracle 12c?Downloading the Oracle Database Software. Open a web browser of your choice and navigate to http://otn.oracle.com/windows. ... . Click the Downloads tab.. Click on the latest version of Oracle Database 12c (x64).. The software downloads page displays the files required to download the database. ... . Log into your Oracle web account.. Is Oracle 12c available for download?Oracle database 12c now available for download.
How do I download and install Oracle Database?Step 1: Go to oracle.com and Click on Options Menu. Step 2: Click the Download Button and Scroll Down to Database Section. Step 3: Click Database 11g Enterprise/Standard Editions, after which you'll find different versions of Oracle for different OS. Download the Files according to your OS.
|