Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ Ubuntu 10.10 install Oracle 10g graphic tutorials     - Git 2.5 increase in the working tree, triangle improved workflow performance (Linux)

- Oracle 10g after the failure to start the upgrade (Oracle instance terminated. Disconnection forced) (Database)

- Nagios (centreon) monitoring LVS (Server)

- Vi syntax highlighting settings (Linux)

- Error: Unable to establish connection with FTP SFTP server (Server)

- Oracle to create an external table (Database)

- Why JavaScript basic types can invoke methods (Programming)

- Docker - for the development and deployment of unified lightweight Linux containers (Linux)

- CentOS6.7 text installation system (Linux)

- Linux Change ssh port and disable remote root login at (Linux)

- How open source code libraries hosted on Github (Linux)

- Adjustment expand VMDK format VirtualBox disk space (Linux)

- Docker Basic Concepts (Linux)

- Boot-Repair Tool - repair of frequent start-up problems (Linux)

- Port Telnet command to detect the remote host is turned on (Linux)

- Installation and Configuration rsync server under CentOS 6.3 (Server)

- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)

- Proficient in C / C ++ can also find a very good job (Programming)

- Emacs install clojure development environment (Linux)

- Android judgment toward camera pictures (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
- Local port forwarding using iptables under linux (Server)
- Java how to achieve bubble sort the problem Arraylist (Programming)
- Build ASP.NET 5 development environment in Ubuntu (Server)
- Elixir: the future of programming languages (Programming)
- Ubuntu installed Gimp 2.6.11 (stable version) with PPA (Linux)
- installation of Piwik under Ubuntu (Programming)
- Vi syntax highlighting settings (Linux)
- Linux SU command security Suggestions (Linux)
- Connect to the Oracle Database Help class (Database)
- CentOS 6.5 boot automatically mount the hard drive (Linux)
- MySQL concat function is SQL injection (Linux)
- Installation of Python2.7.8 and iPython under CentOS6.5 (Linux)
- CentOS and RHEL to install IPython 0.11 (Linux)
- Linux process group, session daemon (Linux)
- On event processing browser compatibility notes (Programming)
- VNC connection VMware vSphere ESXi 5.5 (Linux)
- Android Custom View password box example (Programming)
- MySQL Tutorial: About checkpoint mechanism (Database)
- VirtualBox virtual machine to install Linux (Linux)
- CentOS 6.4 (64bit) install Python 2.7.5 (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.