(1) Update the Ubuntu10.04LTS system to the latest, install the following package sudoapt-getinstallalienbinutilsgccia32-libslesstif2lesstif2-dev
(1) Update Ubuntu 10.04 LTS system to the latest, install the following package sudo apt-get install alien binutils gcc ia32-libs lesstif2 lesstif2-dev
(1) Update the Ubuntu 10.04 LTS system to the latest version and install the following package:
Sudo apt-get install alien binutils gcc ia32-libs lesstif2 lesstif2-dev lib32stdc + + 6 lib32z1 libaio1 libc6 libc6-dev libc6-dev-i386 libc6-i386 libmotif3 make libstdc + + 5 rpm
(2) create a user
$ Sudo adduser Oracle
(3) create an installation directory
$ Sudo mkdir-p/opt/oracle/db $ sudo chown-R oracle: oracle/opt/oracle
(4) Modify/etc/sysctl. conf and add the following lines to/etc/sysctl. conf.
Kernel. shmmax = 3147483648
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Modify/etc/security/limits. conf and add the following lines to/etc/security/limits. conf.
* Soft nproc 2407
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
Make the modified parameters take effect
$ Sudo sysctl-p
Create link:
$ Sudo ln-s/usr/bin/awk
$ Sudo ln-s/usr/bin/rpm
$ Sudo ln-s/usr/bin/basename
(5) set the user environment
Switch to oracle user
$ Su oracle
Edit/home/oracle/. bashrc
# Add the following content
Export ORACLE_BASE =/opt/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_2
Export PATH = $ ORACLE_HOME/bin: $ ORACLE_HOME/Apache/bin: $ PATH
Export ORACLE_OWNER = oracle
Export ORACLE_SID = orcl
Export ORACLE_TERM = xterm
(6) Start installation preparation
You need to create a file RedHat-release in the/etc/directory. You need the permission to create the file. After the file is created, add the following content:
$ Sudo vim/etc/redhat-release
# Add
Red Hat Linux release 3.1 (drupal)
Download an xmanager from the Local Machine (windows). After installation, xstart connects to Ubuntu,
Xmanager:
After installation, configure protocol to SSH, and select xterm (Linux: Type 2) for Execution Command)
(7) install oracle
Download the corresponding version. Check whether your machine is 32-bit or 64-bit.
You need to register a user name and password for free.
Log on to xmanager and perform the following operations:
# As mentioned earlier, oracle is required for installation. Now, if you log out, the system is changed to oracle for logon.
$ Unzip 10201_database_linux32.zip (if the. cpio file is downloaded, use cpio-idmv <10201_database_linux_x86_64.cpio to decompress it)
$ Cd database
To avoid Chinese garbled characters on the interface during subsequent installation, you can install jdk. However, you do not need to install jdk by entering the following command on the command line.
$ Export LANG = en_US run the following command to go to the oracle Installation interface.
$./RunInstaller