later in this blog I will talk about 'how to install Oracle 10,201 (not XE) on Ubuntu 9.10.
we have to make changes to certain system files and the first council to do with a copy to be created so the user "oracle" belonging to his usual group "dba", then configure the appropriate user and run RunInstaller.
but proceed by steps.
1. modification of system parameters
# sudo vim / etc / sysctl.conf
add the following values \u200b\u200b
kernel.shmmni = 4096
# semaphores: SEMMSL, SEMMNS, semopm, SEMMNI
kernel.sem = 250 32000 100 128
-max = 65536 # fs.file
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
give the command to confirm the Changes made:
# sudo sysctl-p
then edit the file limits.conf
# sudo vim / etc / security / limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
65536 oracle hard nofile
# sudo vim / etc / pam.d / login
you session required / lib / security / pam_limits.so
2. create user oracle and his group
# groupadd dba sudo
admin.dba # sudo adduser-G-d / home / oracle-s / bin / bash-m oracle
# sudo passwd oracle
and give the password you want
3. configuration user "oracle"
define the folder where to install the oracle engine and possibly where to place "Orada" for the datafile. in my case I put everything in / home / oracle
also create a folder where to place the support unzip the file " 10201_database_linux32.zip" (which produces a folder called "database")
change the owner folder "database" # sudo chown
oracle.dba / database /
set in the file. bashrc oracle user the following values \u200b\u200b(at least those are the ones set by me):
# vim. Bashrc
TMP = / tmp; export TMP
TMPDIR = $ TMP; export TMPDIR
ORACLE_BASE = / home / oracle / database; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/1021; export ORACLE_HOME
ORACLE_SID = ORA1021; export ORACLE_SID
PATH = $ PATH: $ ORACLE_HOME / bin
LD_LIBRARY_PATH = $ ORACLE_HOME / lib ; Export LD_LIBRARY_PATH
4. Oracle installation
log in as root
# sudo su -
# xhost +
# su - oracle
# export DISPLAY =: 0.0
do a test with oracle user to see if the graphics component, 'active:
# xclock
then, stand in the unzipped directory, check if the file "RunInstaller' is a executable and issue the following command (as oracle)
#. / RunInstaller-ignoreSysPrereqs
if not part of the installation as written above and check the file and 'If not an executable and run:
# sudo chmod a + x runInstalle r
game installation, I chose to install only the engine and not to create the instance that beacon 'in later.
more 'or less towards the end you may have problems but who are not in any way blocking.
in particular are two compilation errors but when you click on "anvanti" the installation continues.
5. instantiation
oracle as oracle user, move into the folder $ ORACLE_HOME / bin and run:
oracle as oracle user, move into the folder $ ORACLE_HOME / bin and run:
#. / dbca
in my case I chose to create a custom database, I cleared all add-ons
and set as caracter set "WE8ISO8859P15 - * - * West." so I end up on the list.
0 comments:
Post a Comment