/install-sql

Python Installer for SQL-Plus on Debian SYstems

Primary LanguagePython

Ubuntu x64 python installer script for Oracle SQL Plus

Windows

  • Windows 32 bit and 64 bit. Unzip the download and run DISK1/setup.exe
  • Follow the installer instructions.

Resources

  • For a Debian based system , download the package from here

Note: If for some reason, you are not able to download the .deb file, you can convert the .rpm package into a .deb using the following command

sudo alien --scripts -d oracle-xe-11.2.0-1.0.x86_64.rpm

Installation

python3 setup.py

The script will start the download of the package and install it. You will be prompted for your root password.

  • Once you are prompted for a username, enter the username as sys as sysdba and password as a single keyboard space.

  • Once logged in, execute the following commands and replace USERNAME and PASSWORD by your a username and password of your choice create user USERNAME identified by PASSWORD;

  • if you get an error after the above step, execute alter database open resetlogs;

  • if no error, execute the last command to give your user access to the database grant connect, resource to USERNAME;