Slide 10.8: Database accessing embedded in Java host language (JDBC) Slide 10.10: Using JDBC on the server shell Home |
172.20.4.9
172.20.4.9
Hosting the Oracle9.2.0i
172.20.4.9
using a Sun Solaris OS 5.10.
Note that the IP address of this server is not fixed.
Once it is changed, this page will be updated.
172.20.4.9
172.20.4.9
:
shell.aero.und.edu
server by using telnet
or ssh
such as F-Secure SSH Client.
172.20.4.9
by using the following command from the shell.aero.und.edu
server:
shell> ssh 172.20.4.9
Password:
172.20.4.9
and Oracle9i, contact the instructor.
You need to change your server password by using the command passwd.
.profile
File
.profile
file in your home directory is a collection of Korn shell commands that are executed whenever you login.
Commonly, the .profile
file is used to set environment variables and shell options.
Put the following code in the ~/.profile file:
~/.profile
|
||
---|---|---|
ORACLE_BASE=/export/home/oracleuser export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE export ORACLE_HOME ORACLE_SID=aero export ORACLE_SID PATH=/usr/bin:/usr/ucb:/etc:. PATH=$PATH:$ORACLE_HOME/bin export PATH ORAENV_ASK=NO . /usr/local/bin/oraenv |
.profile
file, you may exit the server 172.20.4.9
and re-enter it to have the environment variables and shell options set.
sqlplus
, and to start it, enter
$ sqlplus userid/password
SQL*Plus: Release 9.2.0.1.0 - Production on Sun Dec 30 13:24:00 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
You need to change your password with the command:
SQL> alter user userid identified by pwpwpwpw;
where pwpwpwpw
is whatever new password you want.
Note that, unlike Unix login names and passwords, Oracle account names and passwords are NOT case sensitive.
172.20.4.9
SQL> exit Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production $ exit Connection to 172.20.4.9 closed. shell>