linux如何进入oracle文件夹,在linux中如何进入到oracle的图形配置数据库界面

1、需要配置安装VNC,然后通过VNC连接

2、安装和配置VNC

① 安装vnc

# yum install -y  tigervnc-server tigervnc-server-module libXfont pixman xterm xorg-x11-twm  安装vnc及字体库

# chkconfig  vncserver on      设置开机自动启动

②VNC配置

修改 /etc/sysconfig/vncservers 文件,添加以下内容

# The VNCSERVERS variable is a list of display:user pairs.

#

# Uncomment the lines below to start a VNC server on display :2

# as my 'myusername' (adjust this to your own).  You will also

# need to set a VNC password; run 'man vncpasswd' to see how

# to do that.

#

# DO NOT RUN THIS SERVICE if your local area network is

# untrusted!  For a secure way of using VNC, see this URL:

# http://kbase.redhat.com/faq/docs/DOC-7028

# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.

# Use "-localhost" to prevent remote VNC clients connecting except when

# doing so through a secure tunnel.  See the "-via" option in the

# `man vncviewer' manual page.

# VNCSERVERS="2:myusername"

# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

VNCSERVERS="1:root"

VNCSERVERARGS[1]="-geometry 1024x768 -nolisten tcp -depth 24"

# -alwaysshared代表允许多用户同时登录 -depth代为色深,参数有8,16,24,32

#红色为新增内容

③ 设置VNC密码

# vncpasswd

Password:

Verify:

连续两次输入同样的密码

设置的密码保存在  /root/.vnc/passwd

④ 修改防火墙配置,修改/etc/sysconfig/iptables

# vi /etc/sysconfig/iptables    #编辑,添加以下代码,开启5901、5902端口

-A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 5902 -j ACCEPT

:wq! 保存,退出

service iptables restart   # 重启

⑤使用VNC连接CentOS主机

直接打开VNC,输入IP地址,冒号后面的1代表桌面号,这个要根据你的配置文件定义的桌面号

4d74b0d8789656b2fdefc0e5ce5adda5.png

3、通过vnc登陆后,切换到oracle用户下面,即可进入到oracle的图形配置数据库界面

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值