FAQs about Oracle Installation-1
Installing Oracle may be a simple task for some people, but the installation process contains a wealth of knowledge points, especially on the Linux platform, we may encounter a variety of strange problems. We can see the essence of the problem. This is the essence of understanding Oracle in depth. At least I think so. You are welcome to make a decision...
The following describes some problems or knowledge points that may be encountered during the installation process in several scenarios. You are also welcome to have encountered other installation problems, one is to let us learn new things, and the other is to provide some reference for others and avoid detours.
Scenario 1: Install VNC Server
Most installations are performed by logging on from a remote client rather than directly logging on to the server. However, if you do not select silent for silent Installation, you need the graphical interface, therefore, the common method is to first install the VNC Server on the Server, and then use VNC to remotely log on to the Server graphical interface for installation.
There are several methods to install VNC Server in Linux:
1. Download the rpm of VNC and install it with rpm-ivh ***, for example: rpm-ivh vnc-E4_2_8-x64_linux.rpm, and then enter License to use it. One License I used before is a WHJRK-UXY7V-Q34M9-CZU8L-8KGFA, but it is not guaranteed to be available.
2. Install VNC on the CD using Linux.
3. install and use yum. (yum is called Yellow dog Updater and Modified. It is a Shell front-end Package Manager in Fedora, RedHat, and SUSE. Based on RPM package management, You can automatically download and install the RPM package from the specified server, automatically handle dependencies, and install all dependent software packages at a time, you do not need to download and install it repeatedly .)
For example:
[Root @ localhost software] # yum install vnc
Loaded plugins: product-id, refresh-packagekit, security, subrole-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tigervnc. x86_64. 0.90-0.17.20110314svn4359.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================== ========================================================== ========================================================== ================
Package Arch Version Repository Size
========================================================== ========================================================== ========================================================== ================
Installing:
Tigervnc x86_64 1.0.90-0.17.20110314svn4359.el6 dvd 260 k
Transaction Summary
========================================================== ========================================================== ========================================================== ================
Install 1 Package (s)
Total size: 260 k
Installed size: 651 k
Is this OK [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing: tigervnc-1.0.90-0.17.20110314svn4359.el6.x86_64 1/1
Installed products updated.
Verifying: tigervnc-1.0.90-0.17.20110314svn4359.el6.x86_64 1/1
Installed:
Tigervnc. x86_64. 0.90-0.17.20110314svn4359.el6
Complete!
Run:
[Root @ localhost bin] # ls-l vn *
-Rwxr-xr-x. 1 root 594840 Nov 10 2011 vncviewer
You can see that vncviewer is installed, which is equivalent to a client.
You also need to install the server:
[Root @ localhost bin] # yum install tigervnc-server
Loaded plugins: product-id, refresh-packagekit, security, subrole-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tigervnc-server.x86_64. 0.90-0.17.20110314svn4359.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================== ========================================================== ========================================================== ================
Package Arch Version Repository Size
========================================================== ========================================================== ========================================================== ================
Installing:
Tigervnc-server x86_64 1.0.90-0.17.20110314svn4359.el6 dvd 1.1 M
Transaction Summary
========================================================== ========================================================== ========================================================== ================
Install 1 Package (s)
Total download size: 1.1 M
Installed size: 2.8 M
Is this OK [y/N]: y
Downloading Packages:
Tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64.rpm | 1.1 MB
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 1/1
Installed products updated.
Verifying: tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 1/1
Installed:
Tigervnc-server.x86_64. 0.90-0.17.20110314svn4359.el6
Complete!
Run [root @ localhost bin] # ls-l vn *
-Rwxr-xr-x. 1 root 86472 Nov 10 2011 vncconfig
-Rwxr-xr-x. 1 root 19912 Nov 10 2011 vncpasswd
-Rwxr-xr-x. 1 root 20085 Nov 10 2011 vncserver
-Rwxr-xr-x. 1 root 594840 Nov 10 2011 vncviewer
We can see that all the executable files required by the server have been installed. vncconfig is used for configuration and vncpasswd is used for password management.
After setting the VNC password, you can start the VNC Server.
[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
However, if you want to log on to the interface, you also need to configure:
1. The firewall shown above is: 1. Configure port 5901:
[Root @ localhost ~] # Iptables-I INPUT-p tcp -- dport 5901-j ACCEPT
2. Execute xhost + and configure DISPLAY to indicate where the console can be displayed,
[Root @ localhost ~] # Xhost +
Xhost: unable to open display ""
When xhost + is executed directly, an error is prompted. Configure the DISPLAY variable first:
[Root @ localhost ~] # Export DISPLAY =: 0.0
Execute again:
[Root @ localhost ~] # Xhost +
Access control disabled, clients can connect from any host
The client can be connected from any host.
Now you can use vncviewer to open the IP address on the local machine to display a graphical interface. However, you can only see some options but cannot log on to the interface:
If the VNC graphic desktop environment is configured as the KDE or GNOME desktop environment, you also need to configure an xstartup file,
[Root @ testdb ~] # Vi environment? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> Principal + CtDeuMTOxLz + o7o8YnI + Principal" 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
Log On With vncviewer again, and you will be able to see the graphic interface.
Scenario 2: system configuration parameters
When installing Oracle in Linux, I think the most tedious thing is to set system configuration parameters, but the Oracle 11g provides a more concise method:
System parameters are definitely a good thing for the majority of users.
[Root @ localhost CVU_11.2.0.1.0_ora11g] #./runfixup. sh
Response file being used is:./fixup. response
Enable file being used is:./fixup. enable
Log file location:./orarun. log
Setting Kernel Parameters...
Kernel. sem = 250 32000 100 128
Fs. file-max = 6815744
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. wmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_max = 1048576
Fs. aio-max-nr = 1048576
Uid = 501 (ora11g) gid = 102 (oinstall) groups = 102 (oinstall), 101 (dba)
For the description of this script, you can see the introduction of Master Hou (http://blog.itpub.net/519536/viewspace-619629/), and he pointed out that if you study these scripts, you can also write a general system configuration parameter automatic correction script, in this way, the installation of other versions is still available, but the premise is that it must be absolutely universal.
Scenario 3: unconfigured
According to the official documentation, some operations may not be necessary. At least during the installation process, the following steps are not performed:
1. selinux is not closed.
2./etc/pam. d/login is not configured.
3. Not configured in profile:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
To be continued...