Deploy Oracle on the server and realize the remote connection of the client

Resource link used for deployment: https://pan.baidu.com/s/1hzvwqfHc1Yjt8uIV1orHZA 
Extraction code: 2022

Not much nonsense, just start the installation

Step 1: Mount the Windows Server 2003 system

Here I use Windows Server 2003 in the virtual machine Vmware (found in the resource link above) as the server. ① After decompressing 01.windows2003.zip in the resource file, ② double-click the file Windows Server 2003 Enterprise Edition.vmx , and the Mount the Windows Server 2003 system to Vmware, as shown in the figure:

The second step: network configuration: connect the local network to the server

①Add a virtual network card: Open Vmware, open the virtual network editor  in the upper left corner of the editor , click Add Network, and complete the configuration in the figure below. (If it cannot be added, click Change Settings in the lower right corner)

 Bind the virtual machine to the network card

③Find Network and Internet Options in Settings , find and click Change Adapter Options

Find the virtual network card you just added, and right-click Properties

④Start the virtual machine, open the following panel in Start---->Control Panel---->Network Connection---->Local Connection,

The network configuration is successful, and the test is performed: ping the virtual machine on the local machine to see if the connection can be successful

Step 3: Install Oracle on the server

①Decompress the 02.ORACLE installation package.zip in the resource folder  , and paste and copy it directly to the C disk of the virtual machine: Copy ---->Start---->My Computer---->Local Disk C---->Paste, then open and double-click setup.exe in the folder

After filling in the password, click Next, and then click the next step without thinking. After the installation is complete, click Exit

③Test whether the installation is successful

Step 4: Realize local remote connection to Oracle

①Decompress 03.Oracle Client.zip in the resource folder ( remember to delete the Chinese characters after decompression, do not include Chinese characters in the path, and the directory should not be too deep )

②Open the command terminal locally, enter the decompressed library path, enter the command sqlplus system/password@remote server ip:port number/orcl , and the remote connection is successful

Step 5: Graphical interface (a bit troublesome, you can omit it if you don’t want to use it)

After decompressing  05.PLSQL+Developer10.0.3.1701.zip in the resource folder , double-click PLSQL Developer10.0.3.1701.exe to enter the installation step, (the installation path cannot contain Chinese or spaces), and there are no brain next step

②Double- click PLSQL Developer on the desktop, and open PLSQL Developer10.0.3.1701_keygen.exe in the resource file  to crack (if you can’t open it, remember to turn off the firewall), enter the content one by one, and then click Register

③Do not log in first, click Cancel  first and then enter the page to configure, click Tools---->Preference, enter the directory of the client remote connection tool in the box below (don’t forget to click Apply, if you can’t log in later, look back check whether it is saved) 

Enter the directory C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN on the server side of the virtual machine , and copy the file tnsnames.ora to any local directory (the directory should not be too deep), open it with Notepad, and Change the content of HOST to the ip address of the virtual machine server, save and exit. Then configure the path of the file as an environment variable

After configuring the environment variables, just open the login

⑤If Chinese data is stored in the database, there will be problems of garbled characters. Solution: After logging in, enter the statement  select userenv('language') from dual;  and execute it, copy the result, and then configure the environment variables

Guess you like

Origin blog.csdn.net/weixin_52850476/article/details/126442303