Linux安装设置VNC远程桌面连接来安装Oracle 11g
在Linux下面进行Oracle安装,需要启动Java的swing界面,所以需要x-window窗口,那么就需要直接去服务器机房去现场操作挺麻烦,远
前言:
在Linux下面进行Oracle安装,需要启动Java的swing界面,所以需要x-window窗口,那么就需要直接去服务器机房去现场操作挺麻烦,远程xshell无法视窗,这种情况下可以采用vnc的模式远程连接Linux系统的视窗来进行远程安装Oracle。
1,先检查一下服务器是否已经安装了VNC服务,没有安装,检查服务器的是否安装VNC的命令如下
[root@linuxidc rpms]# ps -eaf|grep vnc
root 1789 1557 0 17:30 pts/0 00:00:00 grep vnc
[root@linuxidc rpms]#
[root@linuxidc rpms]# rpm -qa | grep vnc
[root@linuxidc rpms]#
2,如果没有安装vnc可以使用下面命令进行安装:
yum install tigervnc tigervnc-server -y
顺利安装完,check下
[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,接下来就是安装之后的配置问题了,,使用下面的命令编辑配置文件:
vim /etc/sysconfig/vncservers
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"
下面这段是上面所讲配置文件注解,做参考之用:
#这个是配置远程桌面登录的用户名,如果两个用户,则使用VNCSERVERS="1:user1
2:user2" ,,
依次类推,默认情况下,1:user1对应5901,2:user2对应5902(VNC的默认监听端口是
5900,监听端口规则为590+usernumber),如下
VNCSERVERS="usernumber:myusername"
#下面这项配置为登录桌面配置,其中的“1”为用户序号,800x600为分辨率,-
nolisten tcp为阻止tcp包,-localhost代表只监听本地,
VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp -localhost"
如果想阻止http包,可以使用如下配置
VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
4,设置vnc密码
使用下面的命令为vnc设置密码(需要使用su 切换到要设置vnc密码的用户上,比如:
su - oracle,其中oracle就是在上面配置文件内写的帐号)
[root@powerlong4 ~]# vncpasswd
Password:
Password must be at least 6 characters - try again
Password:
Verify:
[root@powerlong4 ~]#
密码设置为vncpasswd
5,启动vnc服务
设置好密码之后,就是启动VNC服务了,启动VNC服务的时候也需要用su user1(user1
就是在上面配置文件内写的帐号)切换到要启动服务的帐号上(很多朋友在使用DirectSpace默认的桌面VNC的时候,遇到无法连接“10061错误”,即可在ssh下输入下
面命令解决!)
重启vncserver命令:
service vncserver restart
设置VNC服务开机启动用下面的命令:
chkconfig vncserver on
在一些minimal系统里,即使英文也会出现方框乱码,请使用本处命令修正:yum -y install fontforge
6,在windows下安装vnc客户端
下载地址:;软件包名称,RealVNC_cngr.rar,在本机windows下安装好,之后进行打开开始连接,连接地址显示如下:
Oracle 11gR2 RAC实时应用集群
在CentOS 6.4下安装Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虚拟机中安装步骤
Debian 下 安装 Oracle 11g XE R2
Oracle Linux 6.5安装Oracle 11.2.0.4 x64
更多详情见请继续阅读下一页的精彩内容:

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



As a powerful operating system, Linux's remote management tools are widely used in server management, network monitoring, etc. In our daily work, we often need to use some specialized tools to remotely manage Linux servers. This article will introduce five practical Linux remote management tools and provide specific code examples to demonstrate their usage. 1.SSHSSH (SecureShell) is an encrypted network protocol used to securely log in and execute commands remotely. Via SSH, users can

Installation steps: 1. Install VNC server; 2. Start VNC server; 3. Set VNC password; 4. Stop VNC server; 5. Configure VNC client; 6. Configure firewall; 7. Configure user permissions; 8. Configure VNC options ; 9. Other configurations, etc. Detailed introduction: 1. Install VNC server: Enter the "sudo apt-get update; sudo apt-get install tightvncserver" command in the terminal to install the VNC server software package.

Starting from scratch: Detailed explanation of the installation and settings of VNC on Ubuntu On the Ubuntu operating system, VNC (Virtual Network Computing) is a remote desktop protocol that enables remote access and control of the Ubuntu desktop through a network connection. This article will detail the steps to install and set up VNC on Ubuntu, including specific code examples. Step 1: Install the VNC server. Open the terminal and enter the following command to update the software source and install the VNC server: sud

Understand Linux remote management tools: five recommendations In today's information society, many companies and individuals are inseparable from the operation and maintenance of servers. As a powerful operating system, Linux has been widely used in the server field. In order to manage Linux servers more efficiently, remote management tools have become an indispensable tool. This article will introduce five recommended Linux remote management tools, with specific code examples to help readers better understand their usage and advantages. SSH (SecureSh

VNC (Virtual Network Computing) is a remote desktop control technology that allows users to remotely access and control the desktop of another computer through the network. In the Ubuntu operating system, VNC can be easily installed and configured to provide users with a convenient remote desktop control experience. This article will detail the simple method of installing and configuring VNC on Ubuntu and provide specific code examples. 1. Install VNCServer To install VNCServer, you can

Linux remote management tools you don’t know: five recommended recommendations In the modern information technology field, the Linux operating system has become one of the preferred operating systems for many businesses and individuals. For Linux system administrators, remote management tools are very important, helping them monitor and manage remote servers quickly and efficiently. This article will introduce five Linux remote management tools that you may not know and provide specific code examples. I hope it will be helpful to you in Linux remote management. tmu

Ubuntu is a powerful operating system that provides a wide variety of tools and software to meet the daily needs of users. VNC (Virtual Network Computing) is a remote desktop control protocol that allows users to connect to a remote host through the network and control its desktop environment. This article will introduce in detail how to install and configure VNC on Ubuntu, and take you step by step to achieve remote desktop control. The following are the specific steps and code examples: Step 1: Install VNC server to open

You need to use the remote desktop service of Linux. I have used xmanager before and found it average. This time I tried VNC. My operating system is CentOS7 1. Install VNCServer on the server side#yum-yinstallvnc*vnc-server*Set password#vncserverYouwillrequireapasswordtoaccessyourdesktops.Password:123456#Enter vnc connection password Verify:123456#Confirm vnc password xauth:creatingnewauthorityfile/root/.Xauthor
