Install Oracle11g in Linux by setting VNC Remote Desktop Connection

Source: Internet
Author: User
To install Oracle in Linux, you need to start the swing interface of Java. Therefore, if you need an x-window, it is very troublesome to directly go to the server room for field operations.

To install Oracle in Linux, you need to start the swing interface of Java. Therefore, if you need an x-window, it is very troublesome to directly go to the server room for field operations.

Preface:
To install Oracle in Linux, you need to start the swing interface of Java. Therefore, the x-window is required. Therefore, it is difficult to directly go to the server room to perform on-site operations. Remote xshell cannot run Windows, in this case, you can use the vnc mode to remotely connect to the windows of the Linux system for remote Oracle installation.

1. Check whether the VNC service has been installed on the server. The command to check whether the VNC is installed on the server is as follows:
[Root @ linuxidc rpms] # ps-eaf | grep vnc
Root 1789 1557 0 00:00:00 pts/0 grep vnc
[Root @ linuxidc rpms] #
[Root @ linuxidc rpms] # rpm-qa | grep vnc
[Root @ linuxidc rpms] #

2. If vnc is not installed, run the following command to install it:
Yum install tigervnc-server-y
Check the installation
[Root @ linuxidc rpms] # rpm-qa | grep vnc
Tigervnc-1.1.0-16.el6.CentOS.x86_64
Tigervnc-server-1.1.0-16.el6.centos.x86_64
Libvncserver-0.9.7-4.el6.x86_64
[Root @ linuxidc rpms] #


3. The configuration after installation is incorrect. Run the following command to edit the configuration file:
Vim/etc/sysconfig/vncservers
VNCSERVERS = "1: root"
VNCSERVERARGS [1] = "-geometry 800x600"


The following section describes the configuration file annotations for reference:
# This is the username used to configure remote desktop login. If two users are used, use VNCSERVERS = "1: user1
2: user2 ",,
And so on. By default, 1: user1 corresponds to 5901, 2: user2 corresponds to 5902 (the default listening port of VNC is
5900, the listening port rule is 590 + usernumber), as follows:
VNCSERVERS = "usernumber: myusername"
# The following configuration indicates the login desktop configuration. "1" indicates the user serial number, and "800x600" indicates the resolution ,-
Nolisten tcp: to prevent tcp packets,-localhost indicates that only the local network is monitored,
VNCSERVERARGS [1] = "-geometry 800x600-nolisten tcp-localhost"
If you want to block http packets, you can use the following Configuration:
VNCSERVERARGS [1] = "-geometry 800x600-nolisten tcp-nohttpd-localhost"


4. Set the vnc Password
Use the following command to set a password for vnc (you need to use su to switch to the user who wants to set the vnc password, for example:
Su-oracle, where oracle is the account written in the preceding configuration file)
[Root @ powerlong4 ~] # Vncpasswd
Password:
Password must be at least 6 characters-try again
Password:
Verify:
[Root @ powerlong4 ~] #
Set password to vncpasswd

5. Start the vnc service.
After the password is set, the VNC service is started. When the VNC service is started, su user1 (user1
The account written in the configuration file above) is switched to the account for starting the Service (many friends encounter "10061 error" when using DirectSpace's default desktop VNC ", enter
!)

Restart the vncserver command:
Service vncserver restart

Run the following command to set the VNC service to start at startup:
Chkconfig vncserver on

In some minimal systems, box garbled characters may appear even in English. Use this command to correct it: yum-y install fontforge

6. Install the vnc client in windows
: ;Software package name, realvnc_cngr.rar, installed in the local windows, and then start the connection, the connection address is displayed as follows:

Oracle 11gR2 RAC real-time application Cluster

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Install Oracle 11.2.0.4 x64 in Oracle Linux 6.5

For more details, please continue to read the highlights on the next page:

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.