Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ Ubuntu 10.10 install Oracle 10g graphic tutorials     - How to use the command line ftp upload and download files (Linux)

- Android webView URL redirects affect goBack () (Programming)

- Linux software firewall ACL match point optimization (Linux)

- Terminal fun: 6 interesting Linux command-line tools (Linux)

- Grep, Ack, Ag searches Efficiency Comparison (Linux)

- Setting Lns firewall against ARP attacks (Linux)

- Ubuntu 14.04 install the NVIDIA driver + CUDA + MATLAB (Linux)

- Python closure and function objects (Programming)

- Android Application Development: Genymotion can not start solving (Linux)

- CKEditor + SWFUpload achieve a more powerful editor (Linux)

- HomeKit User Interface Guidelines (Linux)

- Axel install plug under CentOS 5/6 acceleration yum downloads (Linux)

- Video editing captions under Linux (Linux)

- Linux deploy Tutorial (Linux)

- Simple to use multi-threaded programming under Linux mutex and condition variable (Programming)

- Using Linux stat command to view the files (Linux)

- HTML5 postMessage cross-domain data exchange (Programming)

- Python pickle module for simple use notes (Programming)

- Kibana use installation (Linux)

- MySQL query performance comparison of a single truth (Database)

  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 ( 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
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"


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
- OGG-01496 OGG-01031 Error Resolution (Database)
- Virtualization and IT cooperation (Linux)
- A brief description of Java 8 new features introduced syntax (Programming)
- Linux Log Clear (Linux)
- SpringMVC the use of interceptors (Programming)
- How to configure chroot environment in Ubuntu 14.04 (Linux)
- iOS constants, variables, properties and characteristics (Programming)
- Java developers question (Programming)
- hexdump Linux command (Linux)
- Oracle11g build physical standby database (Database)
- Btrfs file system repair techniques (Linux)
- Ubuntu uses conky add desktop control (Linux)
- vector C ++ sequence containers (Programming)
- How to Install SeaMonkey 2.25 for Ubuntu (Linux)
- Hibernate Search 5.5 in the search results sorted (Linux)
- Orabbix binding Python send graphical reports (Linux)
- HTTPS Encryption Algorithm (Linux)
- Linux shell in back quotes (`) Application (Linux)
- To install and deploy Java applications under CentOS 6.5 (Linux)
- MySQL rollback insert statement causes ibd file grows double (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.