Microsoft Cloud centos6.7 Virtual machine to prepare the VNC environment to install oracle11g

Source: Internet
Author: User
Tags prepare

The company is ready to use Microsoft Cloud Server, so first Test, oracle11g also migrate to Microsoft Cloud Server

1, first check whether the server has a VNC service installed, no installation, check the server is the installation of VNC command is as follows
[root@companydb1 rpms]# ps -eaf|grep vncroot      1789  1557  017:30 pts/0    00:00:00grep vnc[root@companydb1 rpms]# [root@companydb1 rpms]# rpm -qa | grep vnc[root@companydb1 rpms]# 
2. Installing VNC Software

Yum Install command:

yum install tigervnc tigervnc-server-y

Smooth installation, check under

[[email protected] rpms]# rpm -qa | grep vnctigervnc-1.1.0-16.el6.centos.x86_64tigervnc-server-1.1.0-16.el6.centos.x86_64libvncserver-0.9.7-4.el6.x86_64[[email protected] rpms]# 
3. Install GNOME Software
install -y gnome*
4, configuring Xstartup and Vncservers
[root@companydb1 .vnc]# vim /etc/sysconfig/vncserversVNCSERVERS="1:root"VNCSERVERARGS[1]="-geometry 800x600"

Save exit

[[email protected]. Vnc]# vim/ Root/.vnc/xstartup  #!/bin/sh  # Uncomment the Following lines for normal desktop:  unset  session_managerexec /etc/x11/xinit/xinitrc[-x/etc/vnc/xstartup] && exec< /span>/etc/vnc/xstartup[-R  $HOME /. Xresources] && xrdb  $HOME /. Xresourcesxsetroot-solid greyvncconfig-iconic & #xterm-geometry 80x24+10+10-ls- Title "$VNCDESKTOP Desktop" &   #twm &  gnome-session &  

Save exit
Ps:
Using the GNOME image interface, you need to comment out the following two lines,
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
TWM &
and add the following line:
Gnome-session &

5, change the permissions of Xstartup

This is a lot of people are easy to ignore the problem, but also caused a successful connection after the black screen one of the reasons.
In CentOS, the file path for Xstartup is:/root/.vnc/(You can view the Xstartup file path by locate Xstartup)
So need to execute: chmod 777/root/.vnc/xstartup

6. Start VNC

Start: Service Vncserver start
STOP: Service Vncserver stop
Restart: Service Vncserver restart

Set up the VNC service boot with the following command:
Chkconfig Vncserver on

7. Set VNC access password
.vnc]# vncpasswdPassword:Verify:.vnc]#
8, local Windows installation VNC viewer

Installing the VNC client under Windows
: Http://pan.baidu.com/s/1pJFkIIB; package name, Realvnc_cngr.rar, installed under native Windows, then open to start connection, the connection address is displayed as follows:

Connect to the past and enter the password as shown in 1.png

In this way, you can remotely operate the centos6.7 Oracle server via VNC, specifically install the oracle11g step, refer to the following Oracle installation Blog article:
http://blog.csdn.net/mchdba/article/details/43086037

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Microsoft Cloud centos6.7 Virtual machine to prepare the VNC environment to install oracle11g

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.