Oracle Study Notes: Use of the graphic management tool EM

Source: Internet
Author: User

Oracle Study Notes: Use of the graphic management tool EM

Use of common Oracle learning notes tools-EM

Graphics Management Tool em

Server

1 Ensure Listening Starts -----> grid

Lsnrctl status

Or

Netstat-tunlp | grep 1521

If not

Lsnrctl start

2. Ensure database startup ----> oracle

Sqlplus/as sysdba

If not started

Shutdown abort;

Startup;

3. Enable the em tool ---> oracle

[Oracle @ yutianedu ~] $ Emctl status dbconsole

Default port 1158

Or you can view

[Oracle @ yutianedu ~] $ Netstat-tunlp | grep 1158

If not started

Emctl stop dbconsole

Emctl start dbconsole

The client can be accessed through a browser (google browser is recommended)

Https: // database server name or ip: 1158/em

Https: // 192.168.2.1: 1158/em

Point continues

We need English

Click Settings-> click Advanced Settings-> click language and input settings-> click Add-> click English at the end-English-> click to move up to the top

Click Finish

Then refresh the page

Who can log on: Only sys system users

* User Name sys

* Password oracle

Connect As sysdba

View who can log on to em

Requirement: Use em to create an account web_admin and grant dba permissions. You can use em to manage databases.

Sys logon em

Server ---> Security --> Users

Point Creation

Account name web_admin

Password: oracle

Roles ----> editlist ---> dba role

System Privileges --- "editlist

Sysdba role ---> OK

You can click show SQL to view the corresponding SQL statement you just clicked.

Last click OK

Add this account to the em Administrator

Upper right ---- "setup ---> administrators ---> create

Select web_admin for Name

Permission: super administrator

Finish

Requirement: Log On With web_admin and create a table xs (id number, name char (10 ))

Logout ----> login --

> Enter the username web_admin and password for oracle

Schema ---> tables ---> create

Input table name

Input column name select data type

Click show SQL

OK

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

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.