Linux installation setup VNC Remote Desktop Connection to install Oracle 11g
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 @ bkjia rpms] # ps-eaf | grep vnc
Root 1789 1557 0 00:00:00 pts/0 grep vnc
[Root @ bkjia rpms] #
[Root @ bkjia rpms] # rpm-qa | grep vnc
[Root @ bkjia rpms] #
2. If vnc is not installed, run the following command to install it:
Yum install tigervnc-server-y
Check the installation
[Root @ bkjia 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 @ bkjia 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:
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: