Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Ubuntu 10.10 install Oracle 10g Installation Guide     - Linux process stack and process function stack frame (Linux)

- Ubuntu under VirtualBox virtual machine serial port settings (Linux)

- Linux Workstation Security Checklist - from the Linux Foundation Internal (Linux)

- MultiWriter: while the ISO image concurrent writes 20 USB Startup Disk (Linux)

- Linux, see picture not resolve the problem (Linux)

- CentOS 6.5 installation using a data recovery software extundelete (Linux)

- Linux Operating System Security Management describes the top ten tricks (Linux)

- How to troubleshoot Windows and Ubuntu dual system time is not synchronized (Linux)

- Hanoi problem Java Solution (Programming)

- Connect to the Oracle Database Help class (Database)

- JDK comes with tools JPS (Linux)

- CentOS 5.x install Lua 5.2.3 error (LIBS = -lncurses) (Linux)

- Linux (Ubuntu) How iptables port mapping (Server)

- Oracle archive log summary (Database)

- impdp error ORA-31631, ORA-39122 (Database)

- Solaris 10 installation configuration mrtg monitoring system (Linux)

- OpenSSH version smooth upgrade method (Linux)

- CentOS 5.5 install ntop (Linux)

- The free command in Linux (Linux)

- CentOS 6.6 permanent method to modify the DNS address (Linux)

 
         
  Ubuntu 10.10 install Oracle 10g Installation Guide
     
  Add Date : 2018-11-21      
         
         
         
  Ubuntu 10.10 install Oracle 10g Installation Guide

First, download oracle10 installation package (server and client)
http://download.oracle.com/otn/linux/oracle10g/10201/10201_client_linux32.zip
http://download.oracle.com/otn/linux/oracle10g/10201/10201_database_linux32.zip

The second step, the installation packages must

32: apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 libstdc ++ 6 alien

64: sudo apt-get install gcc libaio1 lesstif2 lesstif2-dev make libc6 libc6-i386 libc6-dev-i386 libstdc ++ 5 lib32stdc ++ 6 lib32z1 ia32-libs

When using Ubuntu10.10 installation oracle, an error is reported, it should be the default Ubuntu install libstdc ++ 6, and oracle installation program to use is libstc ++ 5, you can use the sudo apt-get install libstdc ++ 5 .

The third step is to create a user

# Adduser oracle
Adding user "oracle" ...
Adding a new group "oracle" (1001) ...
Adding a new user "oracle" (1002) to the group "oracle" ...
Create a home directory "/ home / oracle" ...
Copying files from the "/ etc / skel" ...
Enter new UNIX password:
Re-enter the new UNIX password:
passwd: password updated successfully
Changing the user information for oracle
Enter the new value, or press ENTER for the default
 Full Name []: oracle
 Room Number []:
 Work Phone []:
 Home Phone []:
 Other []:

The fourth step is to modify the settings

1) Set the swap area

oracle 10g need at least 500M RAM and 400M of swap space, use the cat / proc / meminfo Check swap space, if the space is less than 400M, then you need to increase the size of the swap.

dd if = / dev / zero of = tmp_swap bs = 1k count = 900000
chmod 600 tmp_swap
mkswap tmp_swap
swapon tmp_swap

After installation, this space can be released

swapoff tmp_swap
rm tmp_swap

count value based on the adjustment of the exchange zone size to be.

2) modify the sysctl.conf

Add the following line to /etc/sysctl.conf in:

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

note: shmmax (maximum shared memory) is a very important parameter, according to the machine's memory to be set, usually half of physical memory.

3) Modify limits.conf

Add the following line to /etc/security/limits.conf in:

oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384

4) Modify pam.d

Add the following line to /etc/pam.d/login

session required pam_limits.so
session required /lib/security/pam_limits.so

5) changes to take effect

Reboot the system, or use sudo sysctl -p

6) to produce the corresponding flexible connection

Create ch.sh, which reads as follows

#! / Bin / bash
ln -s / usr / bin / awk / bin / awk
ln -s / usr / bin / rpm / bin / rpm
ln -s / usr / bin / basename / bin / basename
mkdir /etc/rc.d
ln -s /etc/rc0.d /etc/rc.d/rc0.d
ln -s /etc/rc2.d /etc/rc.d/rc2.d
ln -s /etc/rc3.d /etc/rc.d/rc3.d
ln -s /etc/rc4.d /etc/rc.d/rc4.d
ln -s /etc/rc5.d /etc/rc.d/rc5.d
ln -s /etc/rc6.d /etc/rc.d/rc6.d
ln -s /etc/init.d /etc/rc.d/init.d

After you have created using sudo chmod u + x ch.sh to perform, sudo ch.sh execution.

7) Create a file version affirms

Using sudo vi / etc / RedHat-release add about affirmed so that the installer is installed on a RedHat system, redhat-release have not in Ubuntu, is newly added.

Red Hat Linux release 3.1 (drupal)

8) modify environment variables

Edit /home/oracle/.bashrc, increase at the contents.

export ORACLE_HOME = / opt / ora10
export ORACLE_OWNER = oracle
export ORACLE_SID = ora1
export ORACLE_TERM = xterm
export PATH = $ ORACLE_HOME / bin: $ ORACLE_HOME / Apache / Apache / bin: $ PATH
     
         
         
         
  More:      
 
- mysqldump issue a note (Database)
- Ceph tuning --Journal and tcmalloc (Server)
- grep search from files and display the file name (Linux)
- Nginx log cutting and MySQL script regular backup script (Server)
- Install the open source database PostgreSQL 9.4 and phpMyAdmin on Ubuntu (Database)
- hexdump Linux command (Linux)
- Oracle GoldenGate encryption (Database)
- RM Environment Database RMAN Backup Strategy Formulation (Database)
- JSON data normalization (normalize) (Programming)
- Chromium Install Flash Official Guide (Linux)
- 5 interesting Linux command line tips (Linux)
- ORA-00911 invalid character error Solution (Database)
- C / C ++ various data types Conversion Summary (Programming)
- Oracle restrict certain IP, the malicious user actions on important table (Database)
- RHEL6.4 one key installation Redmine (Linux)
- How Linux system password security guarantee (Linux)
- Write perfect printf (Programming)
- Start Linux ISO image directly from the hard disk (Linux)
- MySQL how to export files with the date format (Database)
- grep regular expression (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.