A Mac sysadmin, documenting useful code, ideas, & guides.

Oracle on Omega at UTA

· Read in about 4 min · (731 Words)
oracle database college

Intro

The University of Texas at Arlington (UTA) has some articles that are quite outdated regarding using their Oracle database server. On top of that no information is given to users that have Macintosh computers. If you happen to be taking an Information System class like Database Management Systems (INSY 3304) then good luck when it comes to remotely connecting to the Oracle server. To make-up for the lack of documentation I am creating the following guide.

All information should be up-to-date at the time of writing. I however cannot ensure that years or even months from now that UTA’s system will be the same. This is mostly targeted at classmates in my current section that expressed an overall sound of confusion when my professor attempted to demonstrate the process in class using a Windows computer.

Requirements

Before you are able to connect to the Oracle application. You need to make sure you have the following:

  • A Oracle Database account
  • A active connection at UTA or a VPN connection
  • Access to the Omega server

Setup Instructions

Since each section below is heavily reliant on the setup from the previous section being complete please do not skip any steps. Sorry if you hear background noise during any of the videos below. I was slightly rushed to get the videos created so the volume of my voice might also be a little low.

Oracle account

This was the most time consuming step as it seems like a UTA helpdesk staff member has to manually create the account for each request. If you have homework due in the future please do not wait on getting your account created.

Oracle accounts are available to everyone with a current Omega account. You can request an Oracle account by emailing Help Desk at [email protected]. Additionally, instructors may request Oracle accounts for all students in a particular session.

Using Oracle on Omega

As of the 2015 Fall semester my Omega account was created automatically. To get my Oracle account created I sent an email to the helpdesk. Make sure and include that you need an “Oracle database account created on the Omega server”.

In short, Omega is a server that UTA maintains. On that server they have Oracle’s Database application installed. You as a student need access to both Omega (should use your NetID username/password) and an Oracle account which will have the same username as your NetID but the password will be sent to you via the Helpdesk once an account has been created.

VPN connection

Since most students will want to work on their homework while at home I highly recommend setting up the VPN connection now. This VPN connection is needed to access the Omega server. The setup should be very similar on Windows.

Note: If you are currently on the UTA campus the VPN connection does not need to be active.

You will need to download and install the Cisco AnyConnect application from https://vpn.uta.edu.

The server address for the VPN application is: vpn.uta.edu

Cyberduck

I highly recommend using Cyberduck to copy files from your computer to the Omega server. The graphical interface is much easier to use for individuals that are new the command line.

Download Cyberduck from https://cyberduck.io.

SSH setup

Make sure you are still connected to the UTA VPN for the following.

Run the following commands on your Mac:

mkdir -p ~/.ssh
nano ~/.ssh/config

~/.ssh/config file contents:
Change the User field to your UTA NetID.

Host omega
    User clb4596
    HostName omega.uta.edu
    Port 22

Sqlplus

Type the following commands when connected to the Omega Server:

sqlplus
@PERFECTPETS.SQL

List all tables owned by you:

SELECT * FROM cat;

Clear screen in SQLPlus

SQL > host clear

Exit Prompt

SQL > exit

The UTA helpdesk does provide some useful documentation at this point on using the Oracle database. I highly recommend changing your default password using the following instructions:

To change your Oracle password. In sqlplus, type:

SQL> ALTER USER username IDENTIFIED BY newpassword;

Replace username with your NetID.

Replace newpassword with the new password that want to create.

Using Oracle on Omega

Conclusion

Hopefully these instructions help clear up any confusion on using the Omega server and Oracle application provided by UTA.

As always feel free to drop a comment below or on Twitter. Feedback is always appreciated.


Articles:
UTA VPN,
SSH application for Windows,
Using Oracle on Omega,
More Oracle tips

Comments