Newubuntu12.04server install oracle11gr2
1. Links to the official installation documents are as follows:
Http://www.techienote.com/tag/oracle-database-11g-r2-on-ubuntu-12-04
2. Install the VNC service and install Images
Note:
If some software cannot be installed successfully during installation, the package is missing in the software source. First, try to use the command # apt-get update to update the software source and then try to install it. If the problem persists, you need to change the software source. Change Procedure:
A) enter the command # cp/etc/apt/sources. list/etc/apt/sources. list_backup
B) enter the command # vi/etc/apt/sources. list
C) add other software sources (domestic sources with a high speed such as 163, HKUST, and Shanghai Jiao Tong University are recommended)
D) Save and close the window.
E) enter the command: # apt-get update
Now we have installed it!
After logging in with the root account name and password
1. install vncserver on ubuntu with the command: # apt-get install vnc4server
2. Enable the vnc service and enter the command: # vncserver
The password must be set at the first startup. You can use vncpasswd to modify the password later;
When you see new' *****: 1 (*****) 'desktop is *****: 1 (***** indicates that the vnc is successfully started, generate. vnc directory;
3. Download the "vnc client" software from the client and perform the link.
Enter ip: 1 in the server bar.
Enter the user name and password to view the vnc connection page.
However, this page does not seem to be the graphical interface we want. The default window manager used by vncserver is twm, which is a very simple window manager. Next we will change the desktop to GNOME or KDE.
4. Back up the original xstartup file: # cp ~ /. Vnc/xstartup ~ /. Vnc/xstartup. bak
Run the following command to modify the vnc Startup File: # vi ~ /. Vnc/xstartup
As shown in
We need to comment out the line "x-window-manager &", and then add a line "gnome-session &" below, or "startkde &", start GNOME desktop and KDE Desktop respectively. Here we have installed GNOME Desktop. As shown in the following figure: (specific modification steps: After opening the file, click the "insert" button. Then you can enter it. Add "#" before "x-window-manager &". press enter and enter "gnome-session &". Then click "Esc" to exit the editing mode and enter ": wq!" Save the changes)
5. In this case, we need to kill the original desktop process and enter the command: # vncserver-kill: 1 // here: 1 is the desktop number
Input again: # vncserver: 1 to generate a new session
6. Next we will start to install the gnome Desktop Environment
The installation here is a little slow and you need to wait patiently.
(1) Basic for installing x-windows: # sudo apt-get install x-window-system-core
(2) install the logon MANAGER: # sudo apt-get install RTL (or kdm/xdm)
(3) install Ubuntu desktop: # sudo apt-get install ubuntu-desktop (you can also use kmeanut-desktop/Xubuntu-desktop)
In addition:
Installation command: apt-get install gnome-core can install some GNOME basics. Apt-get install firefox/gaim/xmms can install the Firefox browser, Gaim chat program, and XMMS music player. You can install it according to your preferences.
7. Repeat Step 5 and enter the command: # vncserver-kill: 1 to kill the original desktop process,
Enter # vncserver: 1 to generate a new session. Connect to the vnc client to view the graphical interface,
Note: After the installation, the test key D cannot be used normally. Inputting d will display and disappear the terminal desktop. This is caused by a shortcut conflict (ubuntu 12.04 does not have this problem ).
To solve this problem, follow these steps:
1) System-> Preferences-> Keyboard Shortcuts
Find the system shortcut menu
2) Open the shortcut key Setting dialog box, find the following entries, and set a new shortcut key. \
3) enter the "Backspace" key to Disable the shortcut key.
4) run the following command: # vncserver-kill: 1 to kill the original desktop process: # vncserver: 1 to generate a new session.
5) edit/etc/rc. local and add it to the last line of the file:
Su root-c '/usr/bin/vncserver-name my-vnc-server-depth 16-geometry 1280x800: 1'
3. Solutions for "perl: warning: Setting locale failed ."
Vi/root/. bashrc
Add at the bottom
Export LC_ALL = C
Or run it directly.
Echo "export LC_ALL = C">/root/. bashrc
Run the following command:
Source/root/. bashrc
3. garbled Oracle Installation
Execute: export LANG = en_US in the command line
4. linux xhost: unable to open display ""
[Root @ localhost ~] # Vncserver
New 'localhost: 1 (root) 'desktop is localhost: 1
Starting applications specified in/root/. vnc/xstartupLog file is/root/. vnc/localhost: 1.log
[Root @ localhost ~] # Export DISPLAY = localhost: 1
[Root @ localhost ~] # Xhost +
Access control disabled, clients can connect from any host
5../runInstaller-ignoreSysPrereqs