Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Ubuntu 10.10 install Oracle 10g graphic tutorials     - Ubuntu install driver manager Mint Driver Manager and Device Driver Manager (Linux)

- Ubuntu download install and configure Plank Dock (Linux)

- MySQL Tutorial: Some optimized for I / O memory areas (Database)

- Debian GNU / Linux service list acquisition, shutting down services or run (Linux)

- C ++ 11 feature: decltype keywords (Programming)

- The headers for the current running kernel were not found when VirtualBox installation enhancements (Linux)

- To install JDK1.7 and compiler Hadoop-2.7.1 under CentOS7 (Server)

- Prevent security threats caused Rootkit (Linux)

- Installation of Gitlab under Ubuntu (Linux)

- Ubuntu 14.04 How to install Cinnamon 2.4.5 (Linux)

- Linux security configuration (Linux)

- Advanced network security tips Linux backdoor Technology and Practice (Linux)

- AWR Report (Database)

- Ubuntu way of decompressing files (Linux)

- Oracle 11g user rights management study notes (Database)

- LNMP Note: Addressing mail function can not send mail (Server)

- Linux firewall Iptables study notes (Linux)

- Experts teach you safety precautions Linux Sniffer (Linux)

- Ubuntu server 8.04 Firewall Guide (Linux)

- Category prevent DoS attacks against Linux (Linux)

 
         
  Ubuntu 10.10 install Oracle 10g graphic tutorials
     
  Add Date : 2018-11-21      
         
         
         
  Environment: Host XP, memory, 3G, VMware in: Ubuntu10.10, hard disk 30G, memory 1024M
1, download Oracle10g
Login www.oracle.com official website, the next download, find oracle10g, download
Oracle Database 10gRelease 2 (10.2.0.1.0) Enterprise / Standard Edition for Linux x86 under: 10201_database_linux32.zip
Link: http: //www.oracle.com/technetwork/database/10201linuxsoft-097986.html
2, update ubuntu
sudo apt-get update
sudo apt-get upgrade
oracle is the java language to write, so JDK is required. Ubuntu Software Center in [] search jdk, install OpenJDK would not complete the path set path

3, install the missing package
1) .sudo apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 alien
2). Sudo apt-get install rpm libaio1 ksh libtool libstdc ++ 5 build-essential
Or replaced by the following methods (individuals not tried)

Download Searches: compat-libstdc ++ - 33-3.2.3-61.i386.rpm.
Open the shell, with cd, after entering the directory,
1) as root user: su -
2) to perform the installation command: alien -i compat-libstdc ++ - 33-3.2.3-61.i386.rpm

4, modify the ubuntu version, deception oracle installer.
You need to create a file RedHat-release in the / etc / directory, you need permission to create, add the following to create a good after
$ Sudo gedit / etc / redhat-release
Add the following line after saving.
Red Hat Linux release 3.1 (drupal)

5. Create user.
1) Log in as the root user: su -
(If you do not have to manually set the root password, use the command sudo passwd root the new setting, then log).
2) Create an Oracle user and two groups for the installer.
First check whether they already exist:
$ Grep oinstall / etc / group
$ Grep dba / etc / group
$ Grep nobody / etc / group
If they are not in the system, then create them.
$ Sudo addgroup oinstall
$ Sudo addgroup dba
$ Sudo addgroup nobody
$ Sudo useradd -m -g oinstall -G dba -p passwd -d / home / oracle -s / bin / bash oracle
$ Sudo usermod -g nobody nobody
NOTE: If you do not understand these parameters, please use the command: man useradd view.
Assign a password for the user oracle
sudo passwd oracle

6, add users to the list sudoer
sudo gedit / etc / sudoers
In the "root ALL = (ALL) ALL" the next line, add:
oracle ALL = (ALL) ALL
save.
NOTE: Linux default is not to add the user to the sudoers list, you need to root accounts manually added to the sudoers list to execute sudo command to let the account.

7, create oracle installation directory.
#mkdir -p / opt / ora10
 #chown -R oracle: oinstall / opt / ora *
 #chmod -R 775 / opt / ora *
You generate the oracle runtime path and write permissions granted to the oracle user, execute permissions to the dba group.

8, the system environment configuration.
1) Add the following lines to the /etc/sysctl.conf file:
Execution of the command sudo gedit /etc/sysctl.conf file for editing.
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Update your system, run:
$ Sudo sysctl -p
2) Add the following line to the /etc/security/limits.conf file:
* Soft nproc 2407
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
3) establish a flexible connection:
$ Sudo ln -s / usr / bin / awk / bin / awk
$ Sudo ln -s / usr / bin / rpm / bin / rpm
$ Sudo ln -s / usr / bin / basename / bin / basename
4) Modify the ubuntu oracle user's environment variables.
Edit: gedit /home/oracle/.bashrc file and add:
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

9, the installation oracle
After completing the cancellation, using the oracle user login. After extracting the downloaded zip file, generates database folder.
cd into the database.
Executive: ./ runInstaller
This time into the oracle install a graphical interface. If the screen is garbled
Change jre oracle installation files, do not use it comes with jre, jre to use the operating system, behind runinstaller add a parameter, change the installation program reads the jre path. Statement is as follows:
./runInstaller -jreLoc /usr/lib/jvm/java-1.6.0-openjdk/jre

10, to install the database

In the "Terminal" Run enter the command: dbca, if Chinese garbled

Modify dbca file:

cd $ ORACLE_HOME / bin

cp dbca dbca.bak

sudo gedit dbca

Find "JRE_DIR = / opt / ora10 / jdk / jre"

Replace

JRE_DIR = / usr / lib / jvm / java-1.6.0-openjdk / jre

Save, once again in the "terminal" Run enter the command: dbca, the Chinese showed normal
11, start oracle

In the "Terminal" Run as oracle

Start TNS listener: $ ORACLE_HOME / bin / lsnrctl start

($ ORACLE_HOME, is the oracle installation directory:. / Opt / ora10 direct cd, into the oracle installation directory to the bin folder, $ lsnrctl start, too).

Close TNS: $ ORACLE_HOME / bin / lsnrctl stop

Start sqlplus: $ ORACLE_HOME / bin / sqlplus / nolog

Close sqlplus: SQL> exit
     
         
         
         
  More:      
 
- Bash difference in single quotes and double quotes (Programming)
- How to download apk file from the Google Play store on Linux (Linux)
- Ubuntu installed Komodo editor by PPA (Linux)
- Linux system security check method (Linux)
- Linux, MySQL / MariaDB Galera Cluster Setup Process (Database)
- The FreeBSD zfs: failed with error 6 Error Resolution (Linux)
- Hadoop scheduling availability of workflow platform - Oozie (Server)
- JavaScript notes --Objects (Programming)
- Let Linux operating system more secure (Linux)
- Servlet life cycle code examples (Programming)
- socket busy poll of Linux kernel 3.11 to avoid sleep switch (Linux)
- Mybatis + binding Struts2: achieving user to insert and find (Programming)
- Ubuntu install the camera driver (Linux)
- The istgt PSD on ported to Mac OS X (Linux)
- Eclipse 3.7.2 can not start solving under Ubuntu 14.04 (Linux)
- Git bulk delete remote tag (Linux)
- How to find on Linux and delete duplicate files: FSlint (Linux)
- Python maketrans () method (Programming)
- A summary of Java multi-threaded programming - acquaintance multithreading (Programming)
- Preliminary understanding of SELinux security management (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.