Hemanth's Scribes

web

Script to Install Oracle

Author Photo

Hemanth HM

Thumbnail

Script to Install Oracle

Simple hack to install oracle on Ubuntu

!/bin/bash

sudo sh -c ‘echo “deb http://oss.oracle.com/debian unstable main non-free” >> /etc/apt/sources.list’ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add - sudo apt-get update sudo apt-get install oracle-xe sudo /etc/init.d/oracle-xe configure cat >> $HOME/.bashrc << ‘EOF’ ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server PATH=$PATH:$ORACLE_HOME/bin export ORACLE_HOME export ORACLE_SID=XE EOF To test if its working fine Log in as database admin : sqlplus sys as sysdba

#javascript#linux
Author Photo

About Hemanth HM

Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.