Home > Hosting > Server

How to build the oracle environment under vmware

2023-02-07 10:24:37

<p style="text-align: left;">The editor in this article will introduce in detail how to build an oracle environment under vmware. The content is detailed, the steps are clear, and the details are handled properly. I hope this article on how to build an oracle environment under vmware can help you solve your doubts. Follow the editor&#39;s thinking slowly Slow down, let&#39;s learn new knowledge together.</p><h3 id="h2" data-id="h590b8bf-FJggmNMB" style="text-align: left;">Preparation software:</h3><ul data-id="u738a58b-heJ1mdTL" class=" list-paddingleft-2"><li><p style="text-align: left;">oracle11g(database: Installed in a virtual machine)</p></li><li><p style="text-align: left;">oracle client (client: installed on your local machine)</p></li><li><p style="text-align: left;">VMware( Install virtual machine)</p></li><li><p style="text-align: left;">windows7 system</p></li><li><p style="text-align: left;">pl/sal devoloper (pl/sql programming client: installed on this machine You can remotely connect to the oracle database on the virtual machine)</p></li></ul><h3 id="h3" data-id="h590b8bf-4HJBZGhY" style="text-align: left;">Step 1: Install VMware, and install Good windows system</h3><p data-id="p838747a-p04TDJBc" style="text-align: left;">Process: Omit</p><p data-id="p838747a-FCNbUEDF" style="text-align: left;">Test whether the machine can ping the system of the virtual machine</p><p data-id="p838747a-FCNbUEDF" style="text-align: left;">p&gt;</p><p><br/></p><h3 id="h4" data-id="h590b8bf-7YTfD0iB" style="text-align: left;">Step 2: Install oracle11g in the virtual machine</h3><p data-id="p838747a-EXV8ApMF " style="text-align: left;"><strong>Note:</strong> The installation process can be done by default (typical installation), and one of the steps is to set the passwords of the three default database users of sys system soctt, which must be remembered, and can be uniformly set to root</p><h3 id="h5" data-id="h590b8bf-KebAMiWb" style="text-align: left;">Step 3: Install the oracle client on this machine (the client used to connect to the oracle database)</h3><p><br/></p><p data-id="p838747a -QnLA5RrT" style="text-align: left;">a, after the installation is complete, go to the installation directory of the virtual machine oracle and find</p><p style="text-align: left;">C:appDELL-PCproduct11.2.0dbhome_1NETWORKADMIN</p><p data-id="p838747a-WYMd8I5L" style="text-align: left;">Find the tnsnames.ora file, copy</p><p data-id="p838747a-BopnTCXr" style="text-align: left;">b, and then find the installation directory of oracle client</p><p style="text-align: left;">product10.1.0Client_1 NETWORKADMIN</p><p data-id="p838747a-X28SBqCU" style="text-align: left;">Just replace the tnsnames.ora file inside</p><p data-id="p838747a-GliVQwwW" style="text-align: left;">The content is as follows:&lt; /p&gt;</p><p style="text-align: left;"># tnsnames.ora Network Configuration File: C:appDELL-PCproduct11.2.0dbhome_1networkadmintnsnames.ora #</p><p data-id="p838747a-KwHSTasn" style="text-align: left;">Change to:</p><p style="text-align: left;"># tnsnames.ora Network Configuration File: F:Oracleproduct10.1.0Client_1network admintnsnames.ora #</p><p data-id="p838747a-LxxJZFJp" style="text-align: left;">Note: 192.168.242.134 can be changed to the ip address of your virtual machine system</p><h3 id="h6" data-id=" h590b8bf-H96GnKFA" style="text-align: left;">Step 4: Install pl/sql deplover locally</h3><p data-id="p838747a-WEx7Rf16" style="text-align: left;">Open pl/sql, log in as user scott, password is root set by myself</p><p><br/></p><p data-id="p838747a-xXVgjiPv" style="text-align: left;">Confirm that you can log in successfully, write it down and you can happily program pl/sql.</p><p><br/></p>


Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us