The world's most detailed graphical VMware installation in Linux environment (i) "Weber products must be a boutique"

Source: Internet
Author: User

  1. Installation process: Pre-Preparation---> Install Oracle software---> Install upgrade patches---> Install ODBC CREATE DATABASE---> Install listener---> Install em
  2. "Pre-preparatory work"
  3. Install the configuration system environment
    Install Linux, all services are not selected, just choose to install the development tools, do not install a firewall (of course, can also be closed later)
  4. Open Terminal, execute the following command, check the installation package, do not have to install
    Make , glibc, Libaiocompat-libstdc++, compat-gcc-, compat-gcc--c++, GCC, Libxpopenmotif, Compat--qa | grep glib
  5. If it is not installed, the installation needs to mount the RHEL5 disc
    # mount  /dev/cdrom  //media/server
  6. Then install it using the RPM package installation method
    # RPM-IVH compat-gcc--*---IVH openmotif-*---IVH libxp-*---IVH compat-db-*-- Nodeps
  7. modifying kernel parameters
    Add the following content to the file/etc/sysctl.conf in: Kernel.shmall=2097152--maximum number of memory pages that the system can use Kernel.shmmax=2147483648--maximum size of a single shared memory segment, in bytes Kernel.shmmni=4096--size of Memory pages # SEMAPHORES:SEMMSL, Semmns, SEMOPM, Semmnikernel.sem= - 32000  -  -Fs.file-max =65536Net.ipv4.ip_local_port_range=1024x768 65000Net.core.rmem_default=262144Net.core.rmem_max=262144Net.core.wmem_default=262144Net.core.wmem_max=262144
  8. Run the following command to make the kernel parameters effective:
    /sbin/sysctl-p
  9. Add the following at the end of the vi/etc/security/limits.conf line
     for Oracle 2047 16384 1024x768 65536
  10. Add the following at the end of the Vi/etc/pam.d/login line
    Session Required Pam_limits.so
  11. Close the firewall, vi/etc/selinux/config ensure the following
    selinux=disabled off Seliinux
  12. The configuration work is done, and we are now starting to really graphical interface installation
  13. New Groups and Users:
    -G Oinstall-G. dba ORACLEPASSWD Oracleoinstall: Users belonging to this group can install ORACLEDBA: users belonging to this group can perform sys this user's operating system verification oper: Users belonging to this group can be public this user's operating system validation
  14. Create an Oracle installation directory and pay the permissions to the Oracle User:
    Mkdir-p/u01/app/-R oracle:oinstall/775 /u01
  15. Since Oracle's official support is only available to RHEL4, to modify the release notes, edit the file/etc/redhat-release change red Hat Enterprise Linux Server Release 5 (tikanga) to version 4:red Hat-4
  16. Environment Variables for Oracle users

    Log in as Oracle and add the following line through the. Bash_profile

    Add the following content:

    Export oracle_base=/u01/app/oracleexport oracle_home= $ORACLE _base/10.2. 0/db_1export oracle_sid=orclexport PATH= $PATH: $ORACLE _home/bin
  17. Switch account
    ? # Su- Oracle explains here: The difference between Su and no -plus-the current user environment is determined by the user behind it. If not added, the user's environment is determined by root.
  18. We copy the 10201_database_linux32.zip,p8202632_10205_linux.zip,p8350262_10205_generic.zip to the/u01 path. Here is a description of the role of three files:
    10201_database_linux32.zip   : oracle_database_10.  2.0. 1 . version 0. P8202632_10205_linux.zip    : Will oracle_database_10. 2. version 01 is upgraded to 10. 2.0. 5 . 0 version of patch file P8350262_10205_generic.zip  : This is the patch file for EM
  19. Unzip after the copy is complete
    #: Unzip  10201_database_linux32.zip
  20. After the decompression is complete, the folder has a database folder.
    #: CD Database
  21. After entering, there are so many files inside.

    "Doc, install, response, Runinstaller, stage, welcome.html"

  22. To perform the operation:
    #:./runinstaller
  23. An exception will occur here:
    ExceptioninchThread"Main"Java.lang.InternalError:Can't connect to X11 window server using':0.0'As the value of the DISPLAY variable.At Sun.awt.X11GraphicsEnvironment.initDisplay (Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown source) at JAVA.LANG.CLASS.FORNAME0 (Native Method) at Java.lang.Class.forName (Unknown source) At Java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (Unknown Source) at Java.awt.Window.init (Unknown S Ource) at Java.awt.Window.<init>(Unknown Source) at Java.awt.Frame.<init>(Unknown Source) at Oracle.ewt.popup.PopupFrame.<init>(Unknown Source) at Oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source) at Oracle.sysman.oio.oioc.OiocOneClickInstaller.<init> (Oioconeclickinstaller.java:378) at Oracle.sysman.oio.oioc.OiocOneClickInstaller.main (Oioconeclickinstaller.java:2091Explanation: The exception occurred because the Oracle user did not have permission to perform a graphical interface
  24. We open a new window: Switch to Administrator privileges
    # Xhost + from any host
    Here's an explanation: Xhost + This command allows other users ' launcher programs to display graphics on the current screen.
  25. Go back to the last window to execute again:
    $:. Runinstall
  26. The screen immediately appears and the next step is to install the graphical interface. To install the contents please see the picture of the red color notes.
  27. A network error has been reported here, and we need to deal with it at this time.
    $ vi/etc/hosts   modifies the hosts configuration file to delete the last line of content, add the host's IP address and hostname to the last line, and delete the third line of IP address above your hostname, and not allow two IP addresses to correspond to the same host name. That is, two Oracle cannot be present. The configuration is as follows.
  28. OK, this interface will appear when finished, we need to run the two scripts below.
    #/u01/app/oracle/orainventory/770/u01/app/oracle/ is complete
  29. Execute the second script, this time there are some inquiries, regardless of him, press the ENTER key directly.
    #/u01/app/oracle/10.2.0/db_1/root.shrunning Oracle10 root.sh script ... The following environment variables isSet  as: Oracle_owner=Oracle Oracle_home=/u01/app/oracle/10.2.0/Db_1enter the full pathname of the Local bin directory: [/usr/local/bin]: the file"Dbhome"already existsinch/usr/local/bin. Overwrite it? (y/n) [n]: the file"oraenv"already existsinch/usr/local/bin. Overwrite it? (y/n) [n]: the file"coraenv"already existsinch/usr/local/bin. Overwrite it? (y/n) [n]: Creating/etc/oratab File ... Entries 'll be added to the/etc/oratab file asneeded bydatabase Configuration Assistant when a database iscreatedfinished running generic part of root.sh script. Now product-specific root actions would be performed.
  30. At this point, the installation of oracle-10.2.0.1.0 in our Linux installation is complete.
    You can enter the following actions in the Oracle User directory:
     as Sysdbale DSQL 10.2. 0.1. 0  A Max:19822005, Oracle.  All rightsreserved. Connected to an idle instance. SQL>10.2. 0.1. 0 installation succeeded.
  31. Now we need to install the upgrade patch.
  32. See the world's most detailed graphical VMware installation of Oracle in Linux Environment (ii) "Weber products must be a boutique"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.