Oracle11g installation on the Ubuntu10.10 (transfer)

2011-10-18  来源:本站原创  分类:Database  人气:74 

Transfer from: http://xuershan.iteye.com/blog/1006861

1 need to install the server version of ubuntu graphical interface

sudo apt-get install ubuntu-desktop

2, install the necessary packages (do not know whether the called deb package)

sudo su -

apt-get install build-essential libaio1 gawk ksh libmotif3 alien libtool lsb-rpm

sudo apt-get install libstdc + +5 or sudo ln-s / usr / lib / libstdc + +. so.6 / usr / lib / libstdc + +. so.5
To libstdc + +. So.6 take individual name libstdc + +. So.5.

3, to establish some link
sudo su -
ln-sf bash / bin / sh
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
for i in 0 1 2 3 4 5 6 S; do ln-s / etc / rc $ id / etc / rc.d / rc $ id; done

4, create groups, users, and the relevant folder
addgroup oinstall
addgroup dba
addgroup nobody
usermod-g nobody nobody
useradd-g oinstall-G dba-p password-d / home / oracle-s / bin / bash oracle
passwd-l oracle
mkdir / home / oracle
chown-R oracle: dba / home / oracle
mkdir-p / u01/oracle
chown-R oracle: dba / u01

5, the relevant parameter modification
1) / etc / sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304

2) / etc / security / limits.conf
oracle soft nproc 2047
oracle hard nproc 16383
oracle soft nofile 1023
oracle hard nofile 65535

3) / etc / pam.d / login
session required / lib / security / pam_limits.so
session required pam_limits.so

4) the implementation of sysctl-p, so just modify the parameters to take effect

6, modify environment variables / etc / profile file, add
ORACLE_SID = orcl
ORACLE_BASE = / u01
ORACLE_HOME = / u01/oracle
NLS_LANG = AMERICAN_AMERICA.UTF8
PATH = $ ORACLE_HOME / bin: $ PATH
export ORACLE_BASE ORACLE_SID ORACLE_HOME PATH NLS_LANG

sudo source / etc / profile is to configure the environment variables to take effect

7, oracle11g installation file ready

Has been extracted

Oracle11g extract the files to copy / u01/oracle

sudo cp-r / srv / ftp / pub / database / u01/oracle /

Assign executable permissions

sudo chmod 755 u01/oracle/database

sudo chmod 755 u01/oracle/database / *.*

sudo chmod 755 u01/oracle/database/install/.oui

sudo chmod 755 u01/oracle/database/install / *.*

sudo chmod 755 u01/oracle/database/install/unzip

Not extract

mv ****. zip / u01/oracle /

unzip *. zip

Command to extract you are finished, so the files are installed under the u01/oracle/database.

Use

chown-R oracle: dba / u01/oracle/database /

Modify the directory ownership

8, to begin the installation
sudo su -
xhost +127.0.0.1 (or login to use graphical interface oracle installation)

xhost +127.0.0.1 fails use

export DISPLAY =: 0.0

su - oracle

cd / u01/oracle/database

export LANG = en_US (in English interface to install, Chinese garbled)

If the Chinese can also use the following command garbled

. / RunInstaller-jreLoc / opt/jdk1.6.0_24/jre

If you still can not solve it installed it in English, Chinese trouble with difficult.

. / RunInstaller-ignoreSysPrereqs (ignore version check during installation)

相关文章
  • Oracle11g installation on the Ubuntu10.10 (transfer) 2011-10-18

    Transfer from: http://xuershan.iteye.com/blog/1006861 1 need to install the server version of ubuntu graphical interface sudo apt-get install ubuntu-desktop 2, install the necessary packages (do not know whether the called deb package) sudo su - apt-

  • Final choice of the hard disk to install ubuntu10.10 2010-11-14

    Contact mandriva2010 the beginning is no problem on the desktop has recently bought a Lenovo y460 not know how to replace the rear is a black screen can not directly enter the login screen is still not tested many times do not know the problem is my

  • Final choice of hard disk installation ubuntu10.10 2010-11-14

    Most came into contact with mandriva2010 no problem on the desktop has recently bought a Lenovo y460 do not know how that is installed after the login screen directly into a black screen can not try many times still do not know is not the problem my

  • After the eclipse installation Macubuntu ubuntu10.10 main menu theme solution disappears 2010-11-13

    ubuntu10.10 default color theme to eclipse deep, especially in sub-menu, because it is black, I often can not see the menu in English, but no icon. Under the theme in a macubuntu online. Have to say that this is a great mac theme. Some BUG, but can b

  • TTServer installation (Ubuntu10.10) 2011-01-10

    Official Website: http://1978th.net/ Tokyo Tyrant dbm database Tokyo Cabinet provides a network interface. It uses a simple TCP / IP-simple binary protocol. At the same time it has Memcached compatible and can use the HTTP/1.1 protocol agreement for

  • Ubuntu10.10 installation and configuration under the Tomcat7.0 2011-01-11

    Ubuntu10.10 installation and configuration under the Tomcat7.0 Before we introduced the Tomcat7 configuration under Windows, and today we introduce how to install and configure ubuntu Tomcat7.0. First, the software download 1. Tomcat7: http://tomcat.

  • ubuntu10.10 installation Macubuntu main menu theme disappear after the eclipse solution 2010-11-13

    ubuntu10.10 default color theme to eclipse deep, especially the sub-menu, because it is black, so often not see the menu in English, but there is no icon. The next topic in a macubuntu online. Have to say that this is a great mac theme. There are som

  • ubuntu10.10 installation vmwaretools 2011-01-28

    These days are installed in vmware6.5 a ubuntu10.10 to play a bit, as follows: Directory into the extracted vmwaretools $ Cd / tmp / vmware-tools-distrib The installation command $ sudo. / Vmware-install.pl Next, enter a carriage return all the way T

  • Ubuntu10.10 following installation of JDK1.6 and Tomcat7 2011-04-02

    First, we download, respectively jdk-6u24-linux-x64.bin and apache-tomcat-7.0.11.tar.gz Automatic installation directory, Create a directory $ Mkdir program Two files were moved to create the directory $ Cp path/apache-tomcat-7.0.11.tar.gz program/ap

  • Compiled with the source code on the installation MYSQL5.5 to ubuntu10.10 2011-04-05

    http://forum.ubuntu.org.cn/viewtopic.php?t=319886 Compiled with the source code on the installation MYSQL5.5 to ubuntu10.10 [Notes] I first training beginner, badly written, forgive me - today soak up the afternoon forum, could not find the appropria

  • ubuntu10.10 install the Enterprise Edition oracle11g 2011-04-18

    1 server need to install the GUI version of ubuntu sudo apt-get install ubuntu-desktop 2, install the necessary packages (do not know whether the called deb package) sudo su - apt-get install build-essential libaio1 gawk ksh libmotif3 alien libtool l

  • ubuntu10.10 compile the linux kernel, the kernel upgrade to 2.6.38.2 2011-04-06

    My environment is installed in a virtual machine ubuntu10.10 system, memory, 1024,2 processor, 20G hard drive (SCSI), i686 (32-bit systems) the current kernel version 2.6.35-22-generic, my computer is Old, Acer aspire4720G, core2 Duo 1.5GHZ frequency

  • Ubuntu10.10 "grub rescue no such device" problem solutions 2010-10-13

    Ubuntu10.10 released three days. Unfortunately, the project has been busy until today that I have time to install. I chose the official USB installation. My machine is a dual system: Windows7 + Ubuntu10.04, the intention to change to 10.10. All goes

  • Hard disk ubuntu10.10 2010-11-26

    I installed ubuntu10.10 the installation process, a reference for later re-installation (1) Installation environment: the environment, the hard disk to install xp (2) Preparing for Installation a> reserved for installation of hard disk space: the F d

  • Upgrade the kernel to 2.6.36 Ubuntu10.10 use systemtap 2010-12-12

    Has been doing development work on the linux platform has been for years, but the linux kernel have not seriously studied, personal knowledge of linux have stayed at the system level api's to use on linux little is known about the underlying design.

  • Acer Acer 4741G ubuntu10.10 GT 330M video card 2010-12-31

    Students recently bought a new laptop, Acer 4741G (i3 370M, GT 330M 1G), although the display after installed ubuntu10.10 normal, but do not install the appropriate driver, with built-in "additional driver" tool to search a Nvidia, drive, the in

  • Acer Acer 4741G ubuntu10.10 GT 330M video card driver 2010-12-31

    See also: Sony vaio330M graphics driver solution: http://code.google.com/p/vaio-f11-linux/downloads/list gt 330M linux driver problems and solutions: 1. http://www.nvnews.net/vbulletin/showthread.php?t=148200 2. http://ubuntuforums.org/showthread.php

  • To upgrade the kernel to 2.6.36 Ubuntu10.10 use systemtap 2010-12-12

    Has been done on the linux platform has been developed for years, but the linux kernel are not seriously studied, personal knowledge of linux have stayed in the system api's to use level, the underlying design of little knowledge of linux. In coworke

  • ubuntu10.10 + vista dual boot set grub2 2011-04-05

    New version installed ubuntu10.10 notebook in the company, resulting in system start-up of face many problems. Recorded for later use. Background: The company's laptop, installed vista, must be retained. Therefore only consider vista + ubuntu dual sy

  • PHP installation under the Ubuntu8.10 coreseek full text search engine to support the detailed steps 2010-03-12

    Made not more tired on the sphinx, and a very good full-text search engine. Whether or retrieval speed indexing speed is really fast. As coreseek, can visit the site http://www.coreseek.com Li Mo Southern Way to thank the students for the sphinx Li M