怎样做SQL数据库的界面?

怎样做SQL数据库的界面?,第1张

要做界面只能用VB、VC之类的工具,SQL只是数据 *** 作语言,是不可能做界面的。

如果你不需要使用网页访问数据,就当然不需要使用ASP、PHP之类的东东了。

数据库界面时肯定要用到ADO之类的数据访问通用接口,如果你把ADO弄熟了之后,不管用什么编程语言都可以顺利地做出好的界面来。

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 passwordrun '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代表桌面号,这个要根据你的配置文件定义的桌面号

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


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/sjk/9957143.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-03
下一篇2023-05-03

发表评论

登录后才能评论

评论列表(0条)

    保存