October 5, 2006

Installing Oracle

I am in the process of Installing Oracle on my Powerbook G4 and G4 Desktop for development purposes. Here are the steps I am currently using.

First download Oracle Database 10g Release 1 ( for Mac OS X Server

Then perform the following commands from the Terminal:

su -
sudo nicl . -append /groups/admin users oracle
sudo gcc_select 3.3
sudo nicl . -create /groups/dba
sudo nicl . -append /groups/dba gid 601 
sudo nicl . -append /groups/dba passwd "*"
sudo nicl . -create /users/oracle
sudo nicl . -append /users/oracle uid 601
sudo nicl . -append /users/oracle gid 600
sudo nicl . -append /users/oracle shell /bin/bash
sudo nicl . -append /users/oracle home /Users/oracle
sudo nicl . -append /groups/dba users oracle        
mkdir /Users/oracle
chown oracle:dba /Users/oracle
sudo nicl . -append /users/oracle gid 601
nireport . /users uid name | more
mkdir /opt
mkdir /opt/oracle
mkdir /opt/oracle/product
mkdir /opt/oracle/product/10.1
chown -R oracle:dba /opt/oracle
cd /Users/cryan/Desktop
mv ship_mac_db.cpio.gz /opt/oracle/product/10.1/
cd /opt/oracle/product/10.1
gzip -d ship_mac_db.cpio.gz 
cpio -idmv < ship_mac_db.cpio

That's where I am at for now...


Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!