Computer Usage

All assignments/projects require computer usage, in particular the usage of Oracle 10g, Version 10.2.0.3.0, which is installed on an IT Unix computer. Below you find some information about how to work with PCs and Unix Workstations, how to use the installed software and where you can get some free or trial DBMS software.


How to install on Oracle Account on veni
  1. Use your UC Davis Account (Not your CSIF Account!!) to connect to veni.ucdavis.edu using secure shell (ssh).

  2. Once you are connected to veni, make sure that your Unix environment include the following (use the Unix command env):

  3.      ORACLE_HOME should be set to /opt/pkg/oracle/10.2.0
         ORACLE_SID  should be set to academic
        PATH        should include /opt/pkg/oracle/10.2.0/bin

    Your LD_LIBRARY_PATH should include $ORACLE_HOME/lib. If your environment variables don't look like this, change them and make the changes permanent in your .profile or .cshrc (depending on the Unix Shell you use; you can check this by typing echo $SHELL). We assume that you know how to set environment variables under Unix, so better check your Unix material before asking questions!
     
  4. Type orastart. The program first asks you for your Unix account (again, your UC Davis Account) and then the Oracle password you want to choose (<= 8 characters). Note that Oracle only allows letters and numbers for your password. Do not begin your password with a number!!. orastart then  creates an Oracle account for you (the account will be ops$<your Unix account>). Creating the account may take a while. After this, you should see your Unix shell prompt again. Note that you can create an Oracle account only once, so don't forget your password!!

  5.  
  6. Connect to the Oracle RDBMS by typing sqlplus /

  7. If you use "/", then you don't have to enter your password (Oracle then uses an OS-based authentication). Otherwise Oracle then asks you for your Oracle account which is ops$<your Unix account>, and then the password you just entered. After this you then should see some Oracle/SQL*Plus product release information and finally an SQL prompt SQL>.

  8. Type exit to leave Oracle SQL*Plus and connect again to Oracle by typing just sqlplus /<return>.

  9. Note that the next time you want to login in to Oracle you just have to use sqlplus /. You also don't have to set the environment variables again once you've entered the seetings into your startup file (.cshrc or .profile).
How to use Oracle via ssh to veni

List of free/trial DBMS software


Last modified: Tue Jan 8 01:15:54 PST 2008