UBUNTU16 installation completed, test the installation of the successful steps

Source: Internet
Author: User

1. View the Oracle environment variables, enter the command in the terminal

Echo $ORACLE _base

Echo $ORACLE _home

Echo $PATH

See if output is the path set when installing

2. Turn on the listener

Lsnrctl start

In addition, you can use LSNRCTL status to view listening information

3. Start Oracle

Sqlplus/nolog

4. Log in as system default user

Conn/as SYSDBA

5. Start the database

Startup

(Close database: Shutdown normal/transactional/immediate/abort Four parameters of different meanings)

6, the initial installation of the database, you need to create users

Create user fybing identified by 123456

7. Exit

Exit/quit; (two commands available)

8. Close the Listener

Lstrctl stop

Other common commands

echo $ORACLE _sid View ORACLE instance Name

or SYSDBA login, enter: select name from V$database

UBUNTU16 installation completed, test the installation of the successful steps

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.