Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ Ubuntu 10.10 install Oracle 10g graphic tutorials     - How to create SWAP files in Ubuntu 14.04 (Linux)

- Linux / CentOS 7.0 installation and configuration under Tomcat 8.0 (Server)

- In addition to wget and curl, what better alternatives (Linux)

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

- Nginx log cutting and MySQL script regular backup script (Server)

- To help you easily protect the Linux System (Linux)

- Xshell upload files to achieve Windows host Linux (Linux)

- Database start listening TNS-12537, TNS-12560 error (Database)

- Java how to achieve bubble sort the problem Arraylist (Programming)

- MySQL Basic tutorial: About varchar (N) (Database)

- CentOS 7 source code to compile and install Nginx process record (Server)

- CentOS and RHEL installation under GAMIT10.6 (Linux)

- Linux system security configuration (Linux)

- Windows7 / 8 / 8.1 hard drive to install Ubuntu 14.04 dual system (Linux)

- JVM garbage collector and memory allocation strategy (Programming)

- Use Python automatically cleared Android Engineering excess resources (Programming)

- VSFTPD Security (Linux)

- How to use Android Studio development / debugging Android source code (Linux)

- Linux RPM (Linux)

- Using C / C ++ extensions Python (Programming)

  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
- mysqldump issue a note (Database)
- How to use jgit to manage Git submodule (Linux)
- CentOS 6.4 install and configure Squid Proxy Server (Linux)
- Redis Design and Implementation study notes (Database)
- Based on Google Cloud Storage Mirroring open Maven Central Repository (Server)
- Python image processing library (PIL) to install and simple to use (Linux)
- Analysis examples: Intrusion Response Linux platform Case (Linux)
- 5 steps to help you become a good Docker contributors (Linux)
- Using Java arrays implement sequential stack (Programming)
- Linux SVN installation and configuration graphic tutorials (Server)
- Normal start Lazarus 1.0.8 under Ubuntu (Linux)
- CentOS install SVN server configuration and automatically synchronized to the Web directory (Server)
- Hadoop upload files error solved (Server)
- Ubuntu 15.04 installation Powercommands 2.0 (Linux)
- SecureCRT session buffer size settings (Linux)
- PHP call a Python program (Programming)
- Linux Getting Started tutorial: build your own Vim (Linux)
- Use MongoDB C # MongoDB official driving operation (Database)
- SUSE Linux network configuration and firewall configuration (Linux)
- Ubuntu 15.10 under Python + Apache + CGI fully configured (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.