How to start an Oracle database on Linux?
To start the Oracle database on Linux, you can follow these steps:
- Make sure that you have properly installed the Oracle database software and have created a database instance.
- Open the terminal and log in as the root user.
- Navigate to the bin directory of the Oracle software installation directory, for example: /u01/app/oracle/product/12.2.0/dbhome_1/bin.
- Run the following command to start the listener:
- Start the listener control.
- Run the following command to start the Oracle database instance:
- Connect to the database as a sysdba using the command “sqlplus / as sysdba”.
- This will initiate the SQL*Plus tool and connect to the database with sysdba privileges.
- To start the database instance in SQL*Plus, run the following command:
- new business venture
- Wait for the database to finish starting up, you will see a message indicating that the database has started.
In this way, you have successfully started the Oracle database on Linux.