Set up VNC Remote Desktop Connection in Linux to install Oracle11G and vncoracle11g

Source: Internet
Author: User

Set up VNC Remote Desktop Connection in Linux to install Oracle11G and vncoracle11g

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 @ powerlong5 rpms] # ps-eaf | grep vnc
Root 1789 1557 0 00:00:00 pts/0 grep vnc
[Root @ powerlong5 rpms] #
[Root @ powerlong5 rpms] # rpm-qa | grep vnc
[Root @ powerlong5 rpms] #



2. If vnc is not installed, run the following command to install it:
Yum install tigervnc-server-y
Check the installation
[Root @ powerlong5 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 @ powerlong5 rpms] #


3. The following is the configuration problem after installation. Use 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
: Bytes:



After the connection is established, the following information is displayed:




7. Use Terminal commands under vnc
Go to Application-> System Tools-> Terminal and drag it to the desktop.




8. Adjust the window size in vnc.
The window is too small. Choose System> Preferences> Display> Resolution. Select 1280x960 here. Then, click Apply to change to a large window. As shown in





OK. vnc has been installed. you can install oracle11G below.



Bytes ----------------------------------------------------------------------------------------------------------------
<All Rights Reserved. This document can be reprinted, but the source address must be indicated by link. Otherwise, we will be held legally responsible.>
Original blog address: http://blog.itpub.net/26230597/viewspace-1412487/
Original Author: Huang Shan (mchdba)
Bytes ----------------------------------------------------------------------------------------------------------------


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.