I. Install the susu9 Operating System II. Install the C/C ++ RPM package III. Use yast2 to check whether the following RPM package is installed (I remember to install all the RPM packages related to C/C ++) after, only the gnome and sysstat RPM packages are not installed) binutils-2.15.90.0.1.1-32.5 gcc-3.3.3-43.24 gcc-C ++-3.3.3-43.24 glibc-2.3.3-98.28 gnome-libs-1.4.1.7-671.1 libstdc ++-3.3.3-43.24 libstdc ++-devel-3.3.3-43.24 make-3.80-184.1 pdksh-5.2.14-780.1 sysstat-5.0.1-35.1 xscreensaver-4.16-2.6 4. Modify related profiles 1, create sysctl In The/etc directory. CONF file, add the following content: kernel. shmall= 209715 2kernel. shmmax = 2147483648 (it can be set to half of the memory or the same size as the memory) kernel. shmmni = 4096kernel. SEM = 250 32000 100 FS. file-max = 65536net. ipv4.ip _ local_port_range = 1024 65000net. core. rmem_default = 1048576net. core. rmem_max = 1048576net. core. wmem_default = 262144net. core. wmem_max = 262144 and then determine sysctl-P. Note that the file we created cannot be automatically read after the system restarts. You can consider # chkconfig boot. sysctl on2. Add the following content to/etc/security/limits. CONF file: Oracle soft nproc 2047 Oracle hard nproc 16384 Oracle soft nofile 1024 Oracle hard nofile 655363. add the following content to/etc/PAM. d/login file: session required/lib/security/pam_limits.sosession required pam_limits.so
5. Create a group and user/usr/sbin/groupadd oinstall/usr/sbin/groupadd DBA/usr/sbin/useradd-m-g oinstall-g dba Oracle modify Oracle user password passwd oracle 6. Create an Oracle installation directory, and grant the Oracle user permission mkdir-P/opt/APP/oraclechown-r oracle. oinstall/opt/appchmod-r 775/opt/APP 7. Set environment variables for oracle users # Su-Oracle
$ VI. bash_profile
Add the following content: oracle_base =/opt/APP/Oracle; export oracle_baseoracle_home = $ oracle_base/product/10.2.0/db_1; export oracle_homeoracle_sid = test; export oracle_sidoracle_term = xterm; export oracle_termpath =/usr/sbin: $ path; export pathpath = $ ORACLE_HOME/bin: $ path; export pathld_library_path = $ ORACLE_HOME/lib:/usr/lib: $ LD_LIBRARY_PATH; export ld_library_pathnls_lang = "simplified chinese_china.zhs16gbk"; export nls_lang
After the modification is complete, run this command to make the variable take effect:
$ Source .bash_profile use ftpsoftware to decompress the 10201_database_linux32.zip file/home/Oracle directory, unzip 10201_database_linux32.zip command to obtain Installation File 9, enter the installation file directory, and run the installation program CD database. /runinstaller terminal installation steps: 1) Start the xmanager program on the Windows client (first install attachmate. WRQ. reflection. for. x. v14 software)
2) $ export lang = C
3) $ export display = (operation terminal) IP: 0.0
4)./runinstaller 10. Follow the prompts to install it step by step. Here we will not describe it one by one. If you reinstall it, you need to clear the residual files of the last installation # rm-RF $ oracle_base
# Rm-RF $ ORACLE_HOME
# Rm-RF/etc/ora *
# Rm-RF/tmp/orainstall *
# Rm-RF/usr/local/bin/ora *
# Rm-RF control files, data files, log files, and other related directories