Install Oracle_11g with Docker 1. Pull the oracle_11g image docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g 2. Create an oracle11g container docker run -d -p 1521:1521 --name oracle11g registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g 3. Check whether the oracle11g container is created successfully docker ps -a 4. Start the oracle11g container docker start oracle11g 5. Enter the oracle11g container for configuration docker exec -it oracle11g bash 6. Switch to the root user for configuration su root Password: 7. Edit the profile file to configure the ORACLE environment variables vi /etc/profile 8. Finally, add the following 3 lines of configuration export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2 export ORACLE_SID=helowin export PATH=$ORACLE_HOME/bin:$PATH Save: 9. Create a soft link ln -s $ORACLE_HOME/bin/sqlplus /usr/bin 10. Switch to oracle user su - oracle 11. Log in to sqlplus and modify the passwords of sys and system users sqlplus /nolog conn /as sysdba 12. Modify the sys and system user passwords and refresh permissions alter user system identified by oracle; alter user sys identified by oracle; ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED; Exit: lsnrctl status 14. Use nacivat to connect to the Oracle database Service name: This is the end of this article about installing Oracle_11g with Docker. For more information about installing Oracle_11g with Docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: HTML Several Special Dividing Line Effects
>>: Design theory: people-oriented green design
Import and export of Docker images This article i...
1. Create a table using HTML tags: Copy code The ...
When using Oracle database for fuzzy query, The c...
Preface Recently connected to mysql /usr/local/my...
This article example shares the specific code of ...
Today, I want to write about a "low-tech&quo...
Table of contents Docker Basic Concepts Docker in...
Detailed example of database operation object mod...
If the server's images are hotlinked by other...
Preface One of the functions of an interceptor is...
Table of contents 1. Relationship between parent ...
Preface Sometimes, we need a floating effect requ...
This article example shares the specific code of ...
Think about it: Why should css be placed in the h...
The MySQL server is running with the --skip-grant...