Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.1 INFO-9339001 Oracle Database 11g: Administration II Presented By: Marc S. Paller,

Similar presentations


Presentation on theme: "Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.1 INFO-9339001 Oracle Database 11g: Administration II Presented By: Marc S. Paller,"— Presentation transcript:

1 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.1 INFO-9339001 Oracle Database 11g: Administration II Presented By: Marc S. Paller, CEO CNAPTICS Corporation P.O. Box 173 New York, NY 10159 Contact Information: Business: (646) 833-3163 E-Mail: marc.paller@cnaptics.com

2 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.2 Accessing the Oracle DB l Oracle db location is on: oit.scps.nyu.eduoit.scps.nyu.edu l Obtain slides from: http://oit.scps.nyu.edu/~pallerm/11ghttp://oit.scps.nyu.edu/~pallerm/11g l Access Database Control: https://oit.scps.nyu.edu:1158/emhttps://oit.scps.nyu.edu:1158/em l Access using ssh: –Download and install Putty l http://www.chiark.greenend.org.uk/~sgtatham/pu http://www.chiark.greenend.org.uk/~sgtatham/pu l Use host name: oit.scps.nyu.edu $ ksh $..profile –Download and install WinSCP l http://winscp.net/eng/index.php http://winscp.net/eng/index.php l Use host name: oit.scps.nyu.edu l Join Oracle. –Go to http://www.oracle.com and create an account.http://www.oracle.com

3 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.3 Using Linux l Unix does use \ it uses / to separate on directory from another. l Copying files –cp l cp oracle1.sql oracle2.sql #same directory l cp oracle1.sql../oracle2.sql #to a directory above l cp oracle1.sql../../oracle2.sql#to two directories above l Cp oracle1.sql /next/oracle2.sql#to a directory below l Deleting files –rm l rm oracle1.sql #same directory l rm../oracle1.sql#from directory above l rm /next/oracle1.sql# from a directory below

4 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.4 Using Linux l Changing directories –cd../#takes you up one directory –cd /next# takes you down one directory –cd../../#takes you up two directories –cd /next/next#takes you down two directories l Editing files –viVim –emacsAnother editor l Making Directories –mkdir –Can only make directories in your own home directory

5 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.5 Using Linux l Removing Directories –rmdir –Can only remove directories in your own home directory l Home directory –Located in the /home directory. –You have complete control over this area of the server.

6 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.6 Using Linux l Other important directories in your home directory –web directory l This is where you can place web pages that can be accessed remotely l The URL would be http://oit.scps.nyu.edu/~username/ –cgi-bin directory l This is where you can place server side includes and other scripts that you want to access remotely. l The URL would be http://oit.scps.nyu.edu/cgi-bin/username/

7 Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.7 Creating a User in Oracle l Once you have successfully logged you can access the sql engine by typing: sqlplus l Next, type in for username and password, system/manager. Next, at the sqlplus prompt type in the following command: CREATE USER IDENTIFIED BY DEFAULT TABLESPACE data QUOTA 8M ON data TEMPORARY TABLESPACE temp l Next the user must be granted privileges to access and use the int database and their tablespace. So, next we type the following: GRANT RESOURCE, CONNECT TO


Download ppt "Copyright (c) 2000-2010 by CNAPTICS Corporation. All rights reserved.1 INFO-9339001 Oracle Database 11g: Administration II Presented By: Marc S. Paller,"

Similar presentations


Ads by Google