Last active
March 29, 2024 23:21
-
-
Save jniltinho/327266096f9a4e6169a806c09e10a039 to your computer and use it in GitHub Desktop.
Install Oracle XE Debian/Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Links | |
## Ubuntu|Debian | |
# http://www.ccl.net/cca/software/UNIX/oracle/RH6.2/README2.html | |
# https://openacs.org/xowiki/oracle-install | |
# https://www.vivaolinux.com.br/dica/Instalacao-e-Configuracao-do-Oracle-Express-Edition-e-SQL-Developer-no-Ubuntu | |
# https://docs.oracle.com/cd/E16529_01/doc/server.112/e10839.pdf | |
# https://openacs.org/doc/oracle | |
# https://kenny-chlim.medium.com/oracle-18c-xe-installation-debian-10-4-buster-9cbf7f957d9f | |
# https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance | |
# https://www.comp.nus.edu.sg/~oradoc/doc/solaris.817/a85349/ch1.htm | |
# https://www.oracle.com/database/technologies/xe18c-downloads.html | |
# https://www.oracle.com/database/technologies/xe-downloads.html | |
# https://www.oracle.com/database/free/get-started/ | |
sudo apt-get update | |
sudo apt-get install alien libaio1 unixodbc wget procps libc-bin net-tools | |
## Converta o pacote RPM para DEB e instale-o: | |
wget https://download.oracle.com/otn-pub/otn_software/db-express/oracle-database-xe-18c-1.0-1.x86_64.rpm | |
sudo alien --scripts -d oracle-database-xe-18c-*.rpm | |
sudo dpkg -i oracle-database-xe-18c_*.deb | |
## Configure o Oracle XE: | |
sudo /etc/init.d/oracle-xe-18c configure | |
## Adicione as variáveis de ambiente: | |
echo 'export ORACLE_HOME=/opt/oracle/product/18c/dbhomeXE' >> ~/.bashrc | |
echo 'export PATH=$PATH:$ORACLE_HOME/bin' >> ~/.bashrc | |
echo 'export ORACLE_SID=XE' >> ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## https://oracle-base.com/articles/12c/oracle-db-12cr2-installation-on-oracle-linux-6-and-7 | |
## https://pub.nethence.com/obsolete/oracle8i | |
## https://web.archive.org/web/20150902195825/http://uw714doc.sco.com/en/LX_uw/LKP_oracle.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment