Oracle Learning Note 1 (Environment building)

Source: Internet
Author: User

The beginning of the study, I am a bit stupid, originally wanted to use Oracle VBox, installed a red hat+oracle, but the virtual machine has been error, 0x00000000 memory can not written. So think of other ways, just contact Golang, and then know Docker this great project, so this environment uses Docker to build. Save a large part of the time to start Oracle learning directly.

I hereby leave a note for reference ....

Tools: Total three tools required

      Docker-install.exe

Dockertoolbox-1.12.0.exe

Securecrt.rar

Then it was very quick to build the environment.

1, install Docker-install.exe

2, install Dockertoolbox-1.12.0.exe (desktop will have three tools: Boot2docker start,docker Quickstart terminal,kitematic (Alpha))

3,securecrt.rar (need to register a bit)

Modify the Hosts file to add a new line

  127.0  . 0.1    localhost

When the above steps are complete, it is time to operate:

Run: Boot2docker Start, this run will be slightly slower, (pictured) waiting for started to appear. Then the command line ends (the IP address, which we need to connect to Docker, is typically 192.168.59.103).

And then you can operate Docker, and here's the SECURECRT.

  

Username:docker

Password:tcuser

Hit enter and you'll jump to the Docker container.

Then SecureCRT (ping www.baidu.com to make sure your virtual machine is online)

Docker Search Oracle

  

You can then use Docker to download a mirrored wnameless/oracle-xe-11g (you can have a cup of tea and wait here for a long time)

Students with bad network may always appear

default tag:latestpulling repository Docker.io/wnameless/oracle-xe-11gGet https://  Registry-1.docker.io/v1/repositories/wnameless/oracle-xe-11g/tags/latest:net/http:tls Handshake Timeout

Just a few more times, that's what I did.

Open cmd after completion (do a port mapping)

49160:49161:1521 -e oracle_allow_romote=ture wnameless/oracle-xe-11g

SECURECRT can link to the Ubuntu system.

  

The account number here is provided by the wnameless/oracle-xe-11g Author:

Username:root Password:admin

Then you can start learning from Oracle.

 as sysdbaconn System/oracle

Modify the password for the next HR user

Alter user HR identified by tiger account unlock;
Conn Hr/tiger

OK, the environment is complete

  

Oracle Learning Note 1 (Environment building)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.