In order to be able to make all the steps you must initiate the session in the database with a user with administration permissions, you can use the SYSTEM user, for example
These tablespaces are the location where Oracle will save the objects of the scheme which we are going to create.
Tablespace for data, with initial size of 1024 Mb, and autoextensive
CREATE TABLESPACE "APPDAT" LOGGING DATAFILE '/export/home/oracle/oradata/datafiles/APPDAT.dbf' SIZE 1024M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
CREATE TABLESPACE "APPIDX" LOGGING DATAFILE '/export/home/oracle/oradata/datafiles/APPIDX.dbf' SIZE 512M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
CREATE USER “APP” PROFILE “DEFAULT” IDENTIFIED BY “APPPWD”
DEFAULT TABLESPACE “APPDAT” TEMPORARY TABLESPACE “TEMP” ACCOUNT UNLOCK;
Assign the permissions necessary to work.
“Connect” and “Resource” rolls provide minimum permissions
GRANT “CONNECT” TO “APP”;
GRANT “RESOURCE” TO “APP”;
We can complete the allocation of permissions with specific privileges on objects to assure that user can conduct all the operations he needs.
GRANT ALTER ANY INDEX TO “APP”;
GRANT ALTER ANY SEQUENCE TO “APP”;
GRANT ALTER ANY TABLE TO “APP”;
GRANT ALTER ANY TRIGGER TO “APP”;
GRANT CREATE ANY INDEX TO “APP”;
GRANT CREATE ANY SEQUENCE TO “APP”;
GRANT CREATE ANY SYNONYM TO “APP”;
GRANT CREATE ANY TABLE TO “APP”;
GRANT CREATE ANY TRIGGER TO “APP”;
GRANT CREATE ANY VIEW TO “APP”;
GRANT CREATE PROCEDURE TO “APP”;
GRANT CREATE PUBLIC SYNONYM TO “APP”;
GRANT CREATE TRIGGER TO “APP”;
GRANT CREATE VIEW TO “APP”;
GRANT DELETE ANY TABLE TO “APP”;
GRANT DROP ANY INDEX TO “APP”;
GRANT DROP ANY SEQUENCE TO “APP”;
GRANT DROP ANY TABLE TO “APP”;
GRANT DROP ANY TRIGGER TO “APP”;
GRANT DROP ANY VIEW TO “APP”;
GRANT INSERT ANY TABLE TO “APP”;
GRANT QUERY REWRITE TO “APP”;
GRANT SELECT ANY TABLE TO “APP”;
GRANT UNLIMITED TABLESPACE TO “APP”;
Now this user can connect and start working on his scheme