Rabu, 09 September 2020

ORACLE-create user & DB PTL

 dbsa@dbsa-X406UA:~$ ssh root@172.17.10.97 

root@172.17.10.97's password:  
Last login: Mon Sep  7 16:01:14 2020 from 172.17.10.182
[root@epsdc1 ~]# su - oracle                  
Last login: Kam Sep 10 08:52:33 WIB 2020 on :0
[oracle@epsdc1 ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 10 08:53:51 2020

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> connect /as sysdba;
Connected to an idle instance.
SQL> startup;
ORACLE instance started.

Total System Global Area 1603411968 bytes
Fixed Size                  2213776 bytes
Variable Size             419432560 bytes
Database Buffers         1174405120 bytes
Redo Buffers                7360512 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@epsdc1 ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 10-SEP-2020 08:54:25

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Starting /home/oracle/product/11.2.0/epsdc1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /home/oracle/product/11.2.0/epsdc1/network/admin/listener.ora
Log messages written to /home/oracle/diag/tnslsnr/epsdc1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=epsdc1)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                10-SEP-2020 08:54:26
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/product/11.2.0/epsdc1/network/admin/listener.ora
Listener Log File         /home/oracle/diag/tnslsnr/epsdc1/listener/alert/log.xml
Listening Endpoints Summary...
 (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
 (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=epsdc1)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@epsdc1 ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 10 08:54:32 2020

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> connect /as sysdba;
Connected.
SQL> 

SQL> create user picktolight identified by pick_to_light;


User created.

SQL> grant dba,resource,connect to picktolight;

Grant succeeded.

SQL>

Tidak ada komentar:

Posting Komentar