
Habilitar X11 Forwarding para a instalação em modo gráfico do banco de dados é em alguns casos não permitido em alguns clientes, sejam por questões de segurança ou por qualquer outra razão do cliente. Com isso, como proceder com a instalação do binário do banco de dados sem o modo gráfico (sem usar a interface GUI)?
Para situações como essa, existe o modo de instalação em silent mode e este será o tema abordado no post de hoje. Sendo assim, segue o passo-a-passo:
- Primeiro passo é criar o response file que será utilizado como o arquivo de configuração para a instalação . Neste exemplo demos o nome de 1104gR2.rsp.
Como afirma o próprio fabricante, o arquivo pode ser encontrado no diretório response da media de instalação (ou no My Oracle Support) e nele será definido informações como ORACLE_HOME, grupo de instalção e outras definições importantes que o DBA achar apropriado. - Após a descompatação da média basta-se executar o comando “./runInstaller -ignoreSysPrereqs -ignorePrereq -waitforcompletion -showProgress -silent -responseFile” informando o caminho do response file: (Lembrando que em um momento será requisitado para executar o script root.sh com o usuário root em outro terminal).
oracle@techatabasketserver:/tmp/database> vi 1104gR2.rsp oracle@techatabasketserver:/tmp/database> ./runInstaller -ignoreSysPrereqs -ignorePrereq -waitforcompletion -showProgress -silent -responseFile /tmp/database/1104gR2.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 5797 MB Passed Checking swap space: must be greater than 150 MB. Actual 25092 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-08-12_04-13-32PM. Please wait ...You can find the log of this install session at: /opt/oracle/oraInventory/logs/installActions2017-08-12_04-13-32PM.log Prepare in progress. .................................................. 9% Done. Prepare successful. Copy files in progress. .................................................. 14% Done. .................................................. 20% Done. .................................................. 26% Done. .................................................. 31% Done. .................................................. 36% Done. .................................................. 41% Done. .................................................. 46% Done. .................................................. 51% Done. .................................................. 56% Done. .................................................. 63% Done. .................................................. 68% Done. .................................................. 73% Done. .................................................. 78% Done. .................................................. 83% Done. .............................. Copy files successful. Link binaries in progress. .......... Link binaries successful. Setup files in progress. .................................................. 88% Done. .................................................. 94% Done. Setup files successful. The installation of Oracle Database 11g was successful. Please check '/opt/oracle/oraInventory/logs/silentInstall2017-08-12_04-13-32PM.log' for more details. Execute Root Scripts in progress. As a root user, execute the following script(s): 1. /opt/oracle/product/11204/root.sh .................................................. 100% Done. Execute Root Scripts successful. Successfully Setup Software. oracle@techatabasketserver:/tmp/database> su - Password: su: incorrect password oracle@techatabasketserver:/tmp/database> su - Password: techatabasketserver:~ # /opt/oracle/product/11204/root.sh Check /opt/oracle/product/11204/install/root_techatabasketserver_2017-08-12_16-15-44.log for the output of root script techatabasketserver:~ #


*The views expressed here are my own and do not represent those of my employer.*
Hello, I’m Bruno — a dual citizen of Brazil and Sweden. I bring a global perspective shaped by experiences in both South America and Europe, with a strong focus on collaboration and innovation across cultures. I am a Computer Scientist, PhD Candidate in Information and Communication Technologies, focusing on Data Science and Artificial Intelligence, and hold dual Master’s degrees in Data Science and Cybersecurity. With over fifteen years of international experience spanning Brazil, Hungary, and Sweden, I have collaborated with global organizations such as IBM, Playtech, and Oracle, as well as contributed remotely to projects across multiple regions. My professional interests include Databases, Cybersecurity, Cloud Computing, Data Science, Data Engineering, Big Data, Artificial Intelligence, Programming, and Software Engineering, all driven by a deep passion for transforming data into strategic business value.