Configure local x server to remotely install an Oracle database

Source: Internet
Author: User
Tags iptables windows remote desktop

When we need to install the Oracle database on the server, we always want to maximize the performance utilization of the Linux server. Install as few other complex software as possible and install only the necessary Oracle software. In fact, however, it's a bit unfamiliar with Linux. The Oracle database is installed only if the X Window graphical suite is already installed. And it's scary to think that Oracle must be a graphical suite of X window. By reading Oracle's official documentation, we find that Oracle has nothing to do with GNOME or KDE, and Oracle can do all the drawing functions on its own. Oracle needs only one x Server. Knowing this, we can not install X window and GNOME suite locally. Instead, the X Server running on the local computer is used over an IP network. Linux hosts make this a breeze, and windows can run an X Server from the X Manager software for use by Oracle.

In a Linux system, X Window Suite x server and X client use X protocol communication. The diversity of x protocol determines that x server and x client do not necessarily have to be on the same host. You can use the local x Server to display and manipulate the contents of the remote X client. This is similar to the advantages of Windows Remote Desktop, but the X window is a high level of windows, both in terms of mechanism and technology. Based on the principle of x Window, we implemented the Oracle database without installing the X window+ Gnome suite. Improve system security by reducing the installation of software packages and reducing the chance of a system being attacked.

Operators using the Linux operating system

If the operator is using a Linux system that installs X Window + Gnome suite. It is simply too simple to implement this function. Let's step through the steps below.
The following command executes on the CentOS 6.2 version of Linux, if you are using a different distribution than the author. Maybe the command is not quite the same. Please make your own modifications. We collectively refer to the server where Oracle is to be installed as "server" and the host running GNOME as the client.
At the client, first we want to allow server-side x client to connect to x server. Execute the following command to add the server-side IP address to the ACL. This is temporarily added and will be lost after a reboot.

#script from:www.xiyang-liu.com # by:xiyang[[email Protected]ager ~]# xhost +10.17.36.3310.17.36.33 being added to access Control List

Viewing the display variable number for x server

#script from:www.xiyang-liu.com # By:xiyang[[email protected] ~]# echo $DISPLAY: 1.0

View the TCP ports that the client is opening for X server. If the client has no important data, simply shut down the firewall. If you cannot turn off the firewall, add an incoming connection license for the corresponding port.
#关闭防火墙

 from: www.xiyang-~]# service iptables stop

Get x server corresponding port number via NETSTAT-ATPL

Edit/etc/sysconfig/iptables to add the port's incoming connection license.

 from: www.xiyang-~]# vi/etc/sysconfig/6001 -~]# service iptables Restart

Server-side, set the display variable.

 from: www.xiyang-~]# export display=10.17. 36.210:1.0

Install Xclock test whether the above settings work correctly.

 from: www.xiyang-~~]# xclock

If the client can normally display a clock window as follows. Description successfully configured

Next, run the Oracle Setup program.

The operator uses the Windows operating system

Install the X Manager program on the client, the same folder has key

: Http://dl.vmall.com/c0sfidvng2 Download Password: www.xiyang-liu.com

Run xmanager-passive program after completion

After running the system notification area will have a small icon, mouse over to display the local x server Displaynumber and Screennumber. As shown

Setting the display variable on the server

 from: www.xiyang-~]# export display=10.17. 35.50:1.0

Similarly, perform xclock tests to make the above settings work correctly.

 from: www.xiyang-~]# xclock

Similarly, turn off Windows Firewall.
Windows displays the following window, indicating that the setting was successful.

Configure local x server to remotely install an Oracle database

Related Article

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.