Oracle Installation on Linux requires a graphical interface (except for Silent Installation). good comrades can do it in the data center. The physical quality is generally the case of honest remote operations. For convenience, we will use the vnc-server that comes with Linux.
First, check whether the vnc-server service is installed:
[Root @ localhost ~] # Rpm-qa vnc-server
Vnc-server-4.0-8.1
If the installation is not complete, upload the installation package and install it. After the installation is complete, run vncserver. If this is the first operation, you need to set the vnc password. Otherwise, you do not need to set the password.
[Root @ localhost ~] $ Vncserver
You will require a password to access your tops.
Password:
Verify:
Xauth: creating new authority file/root/. Xauthority
New 'localhost. localdomain: 1 (root) 'desktop is localhost. localdomain: 1
Creating default startup script/root/. vnc/xstartup
Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/localhost. localdomain: 1.log
The above section indicates that a graphical terminal is started and numbered 1. Now we can remotely connect to the server using tools such as vncviewer. The graphic terminal number is required during connection. After the connection, we will find that the graphic interface is quite ugly, because the default Image Terminal uses xterm + twm. We can modify the startup script to use gnome or kde as the default image terminal. Edit/. vnc/xstartup in the user's home directory, replace twm with gnome-session, and restart vncserver.
[Root @ localhost ~] # Vi/root/. vnc/xstartup
#! /Bin/sh
# Uncomment the following two lines for normal desktop:
# Unset SESSION_MANAGER
# Exec/etc/X11/xinit/xinitrc
[-X/etc/vnc/xstartup] & exec/etc/vnc/xstartup
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
Xsetroot-solid gray
Vncconfig-iconic &
Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
Gnome-session &
[Root @ localhost ~] # Vncserver-kill: 1
Killing Xvnc process ID 4117.
[Root @ localhost ~] # Vncserver
New 'localhost. localdomain: 1 (root) 'desktop is localhost. localdomain: 1
Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/localhost. localdomain: 1.log