<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kuralarasan Sjk on Medium]]></title>
        <description><![CDATA[Stories by Kuralarasan Sjk on Medium]]></description>
        <link>https://medium.com/@kuralarasansjk2?source=rss-746326f1b5a0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cPr1eDxMtZwn6CQC5ZmuNA.jpeg</url>
            <title>Stories by Kuralarasan Sjk on Medium</title>
            <link>https://medium.com/@kuralarasansjk2?source=rss-746326f1b5a0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:31:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kuralarasansjk2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Oracle Database 19c Installation on Oracle Linux 7.9 - Step-by-Step Guide]]></title>
            <link>https://medium.com/@kuralarasansjk2/oracle-database-19c-installation-on-oracle-linux-7-9-step-by-step-guide-1d8984a5e85e?source=rss-746326f1b5a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d8984a5e85e</guid>
            <category><![CDATA[oracle-linux-7]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[database-installation]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-database-19c]]></category>
            <dc:creator><![CDATA[Kuralarasan Sjk]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 05:26:13 GMT</pubDate>
            <atom:updated>2026-03-11T11:25:13.993Z</atom:updated>
            <content:encoded><![CDATA[<p>Installing Oracle Database manually on Linux is one of the best ways to understand how enterprise databases work behind the scenes. Oracle Database 19c is a <strong>long-term support release</strong> widely used in enterprise environments.</p><p>Learning how to install it helps you understand <strong>Oracle directory structures, environment variables, and database creation tools used by DBAs in real production environments</strong>.</p><p>This guide walks through the <strong>step-by-step installation of Oracle Database 19c on Oracle Linux 7.9</strong>.</p><h3>System Requirements</h3><p>Before starting the installation, ensure your system meets the following requirements:</p><ul><li><strong>Operating System:</strong> Oracle Linux 7.9</li><li><strong>RAM:</strong> Minimum 4 GB</li><li><strong>Disk Space:</strong> Minimum 30 GB free</li><li><strong>User:</strong> root privileges required during installation</li></ul><h3>Step 1: Install Required Pre-Installation Package</h3><p>Switch to root user:</p><pre>su -</pre><p>Oracle provides a preinstall package that automatically configures the system with required dependencies.</p><pre>yum install -y oracle-database-preinstall-19c</pre><p>This package installs required libraries and configures:</p><ul><li>Kernel parameters</li><li>User limits</li><li>Required OS packages</li><li>Oracle user and groups</li></ul><p>This step saves time because it prepares the system according to <strong>Oracle recommended settings</strong>.</p><h3>Step 2: Create Oracle Directories</h3><p>Oracle software is usually installed inside the /u01 directory in enterprise environments.</p><p>Create the directory structure:</p><pre>mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1</pre><p>This directory will store the <strong>Oracle Database software binaries</strong>.</p><p>Now assign ownership to the Oracle user:</p><pre>chown -R oracle:oinstall /u01</pre><p>This ensures the <strong>oracle user can install and manage the database software</strong>.</p><p>Set permissions:</p><pre>chmod -R 775 /u01</pre><p>This allows proper read and write access for Oracle processes.</p><h3>Step 3: Switch to Oracle User</h3><p>Oracle software should always be installed using the <strong>oracle user instead of root</strong>.</p><pre>su - oracle</pre><p>The - loads the Oracle user’s environment and profile settings.</p><h3>Step 4: Set Environment Variables</h3><p>Environment variables help the system know where Oracle software is installed.</p><p>Edit the .bash_profile file:</p><pre>vi ~/.bash_profile</pre><p>Add the following configuration:</p><pre>export ORACLE_BASE=/u01/app/oracle<br>export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1<br>export ORACLE_SID=ORCL<br>export PATH=$PATH:$ORACLE_HOME/bin</pre><p>Explanation:</p><ul><li><strong>ORACLE_BASE</strong> → Main Oracle directory</li><li><strong>ORACLE_HOME</strong> → Location of Oracle software binaries</li><li><strong>ORACLE_SID</strong> → Database instance name</li><li><strong>PATH</strong> → Allows running Oracle commands from anywhere</li></ul><p>After editing the file in vi, press Esc and :</p><pre>:wq</pre><p>This <strong>saves the file and exits the editor</strong>.</p><p>Apply the changes:</p><pre>source ~/.bash_profile</pre><p>The source command reloads the profile so the <strong>new environment variables take effect immediately</strong>.</p><h3>Step 5: Upload and Extract Oracle Database Software</h3><p>Download the Oracle Database 19c installation file from <strong>Oracle eDelivery</strong>.</p><p>Move to the Oracle home directory:</p><pre>cd /u01/app/oracle/product/19.0.0/dbhome_1</pre><p>Extract the installation files:</p><pre>unzip LINUX.X64_193000_db_home.zip</pre><p>This command extracts the <strong>Oracle installation binaries</strong> needed to run the installer.</p><h3>Step 6: Start the Oracle Installer</h3><p>Run the installer:</p><pre>./runInstaller</pre><p>This launches the <strong>Oracle Universal Installer (OUI)</strong> which installs the database software.</p><p>During installation select:</p><ol><li><strong>Set Up Software Only</strong></li><li><strong>Single Instance Database Installation</strong></li><li><strong>Enterprise Edition</strong></li></ol><p>This installs the Oracle software but <strong>does not create the database yet</strong>.</p><h3>Step 7: Run Root Scripts</h3><p>During installation, Oracle will ask you to run root scripts.</p><p>Run these commands as root:</p><pre>sudo /u01/app/oraInventory/orainstRoot.sh<br>sudo /u01/app/oracle/product/19.0.0/dbhome_1/root.sh</pre><p>These scripts configure:</p><ul><li>Oracle inventory</li><li>System permissions</li><li>Environment integration</li></ul><p>They complete the system-level configuration required for Oracle.</p><h3>Step 8: Create the Database Using DBCA</h3><p>After installing the software, create the database using <strong>Database Configuration Assistant (DBCA)</strong>.<br>Navigate to the Oracle Home bin directory and run DBCA.</p><pre>cd /u01/app/oracle/product/19.0.0/dbhome_1/bin</pre><pre>./dbca</pre><p>DBCA is a graphical tool that simplifies database creation.</p><p>Choose:</p><ul><li><strong>Create Database</strong></li><li><strong>General Purpose Template</strong></li><li>Database name (example: <strong>ORCL</strong>)</li></ul><p>This process creates:</p><ul><li>Datafiles</li><li>Control files</li><li>Redo log files</li><li>Default users and tablespaces</li></ul><h3>Oracle Database Architecture Overview</h3><p>Understanding the architecture helps explain how Oracle processes queries.</p><pre>Client Application<br>       ↓<br>Listener<br>       ↓<br>Server Process<br>       ↓<br>Oracle Instance<br>   ├── SGA (Shared Memory)<br>   └── Background Processes<br>       ↓<br>Database Files<br>   ├── Datafiles<br>   ├── Control Files<br>   └── Redo Logs</pre><p>The <strong>Oracle Instance</strong> manages memory and background processes that interact with the physical database files.</p><h3>Verifying the Installation</h3><p>Check if the listener is running:</p><p>Connect to the database:</p><pre>sqlplus / as sysdba</pre><p>Start the database:</p><pre>startup;</pre><p>Check the database name:</p><pre>select name from v$database;</pre><p>These commands confirm that the <strong>database and services are running successfully</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d8984a5e85e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>