Linux - Installing Oracle Database 10g on Novell SUSE Linux.pdf
(
118 KB
)
Pobierz
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Professional 9.1, 9.2, and 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Profe... 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
Written by
Werner Puschitz
.
Installing Oracle Database 10g on Novell SUSE Linux
Enterprise Server 9 and on SUSE Linux Professional 9.1, 9.2,
and 9.3
>>> Werner's Oracle - Linux Page <<<
The following procedure is a step-by-step guide (Cookbook) with tips and information for installing
Oracle Database 10g on SUSE Linux.
This guide shows how I installed:
- Oracle 10g Release 1 (10.1.0.3.0) on Novell SUSE Linux Enterprise Server 9 (SLES-9)
- Oracle 10g Release 1 (10.1.0.3.0) on SUSE Linux Professional 9.1 (SLP-9.1)
- Oracle 10g Release 1 (10.1.0.3.0) on SUSE Linux Professional 9.2 (SLP-9.2)
- Oracle 10g Release 1 (10.1.0.3.0) on SUSE Linux Professional 9.3 (SLP-9.3)
Validation/Certification
Oracle10g is supported on SLES-9. For Validations/Certifications, go to
Oracle's Certification Matrices
.
This article covers the following subjects and steps:
*
Downloading Novel SUSE Linux
*
Downloading Oracle10g Software and Burning Oracle10g CDs
*
Checking Memory and Swap Space
*
Checking /tmp Space
*
Checking Software Packages (RPMs)
*
Checking Kernel Parameters
*
Sizing Disk Space for Oracle10g
*
Creating Oracle User Accounts
*
Setting Shell Limits for the Oracle User
*
Creating Oracle Directories
*
Setting Oracle Environments
*
Installing Oracle10g
Installing Oracle10g on a Remote Linux Server
Starting Oracle Universal Installer
http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml (1 of 23)19/4/2005 17:29:02
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Profe... 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
Using Oracle Universal Installer
Updates after Running Oracle Universal Installer
*
Oracle Post-installation Tasks
Startup and Shutdown of the Oracle10g Database
Shutdown of other Oracle 10g Background Processes
*
Tips and Hints for Oracle10g on Linux
*
Oracle10g/Linux Errors and Problems
*
References
Downloading Novel SUSE Linux
For downloading SUSE Linux, see
http://www.puschitz.com/LinuxDownload.shtml
.
Downloading Oracle10g Software and Burning Oracle10g CDs
Download Oracle Database 10g for Linux at:
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
NOTE:
To install a Oracle Database 10g (without RAC) you only need to download the file
ship.db.
lnx32.cpio.gz
.
Compute a cyclic redundancy check (CRC) checksum for the downloaded files and compare the
checksum numbers against the numbers posted on Oracle's download website. For example:
cksum ship.db.lnx32.cpio.gz
Uncompress the downloaded file(s):
gunzip ship.db.lnx32.cpio.gz
Unpack
ship.db.lnx32.cpio
:
$
cpio -idmv < ship.db.lnx32.cpio
Disk1/stage/Components/oracle.server/10.1.0.3.0/1
Disk1/stage/Components/oracle.server/10.1.0.3.0
Disk1/stage/Components/oracle.server
Disk1/stage/Components/oracle.tg/10.1.0.3.0/1/DataFiles
Disk1/stage/Components/oracle.tg/10.1.0.3.0/1
Disk1/stage/Components/oracle.tg/10.1.0.3.0
Disk1/stage/Components/oracle.tg
http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml (2 of 23)19/4/2005 17:29:02
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Profe... 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
Disk1/stage/Components/oracle.assistants.dbca/10.1.0.3.0/1/DataFiles/
doc.3.1.jar
Disk1/stage/Components/oracle.assistants.dbca/10.1.0.3.0/1/DataFiles/
class.jar
...
I executed the following command to burn the
Disk1
directory on a CD:
#
mkisofs -r Disk1 | cdrecord -v dev=0,0,0 speed=20 -
(Drives' speed varies; you can get the dev numbers when you execute cdrecord -scanbus).
Checking Memory and Swap Space
Oracle's documentation says that the Linux system must have at least 512MB of RAM and 1GB of swap
space or twice the size of RAM. And for systems with more than 2 GB of RAM, the swap space can be
between one and two times the size of RAM. You might also want to check out my recommendations
about swap space at
Sizing Swap Space
.
To check the size of physical memory, execute:
grep MemTotal /proc/meminfo
To check the size of swap space, execute:
grep SwapTotal /proc/meminfo
You can also add temporary swap space to your system by creating a temporary swap file instead of
using a raw device. Here is the procedure:
su - root
dd if=/dev/zero of=tmpswap bs=1k count=900000
chmod 600 tmpswap
mkswap tmpswap
swapon tmpswap
To disable the temporary swap space execute the following commands:
su - root
swapoff tmpswap
http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml (3 of 23)19/4/2005 17:29:02
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Profe... 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
rm tmpswap
Checking /tmp Space
According to Oracle's documentation, the Oracle Universal Installer (OUI) requires up to 400 MB of
free space in the
/tmp
directory. But OUI checks if
/tmp
is only greater than 80 MB.
To check the space in
/tmp
, run:
$
df -h /tmp
If you do not have enough space in the
/tmp
filesystem, you can temporarily create a
tmp
directory in
another filesystem. Here is how you can do this:
su - root
mkdir /<AnotherFilesystem>/tmp
chown root.root /<AnotherFilesystem>/tmp
chmod 1777 /<AnotherFilesystem>/tmp
export TEMP=/<AnotherFilesystem>
# used by Oracle
export TMPDIR=/<AnotherFilesystem>
# used by Linux programs
like the linker "ld"
When you are done with the Oracle installation, shutdown Oracle and remove the temporary
/tmp
directory:
su - root
rmdir /<AnotherFilesystem>/tmp
unset TEMP
unset TMPDIR
Checking Software Packages (RPMs)
Before you install an Oracle 10g database, you need to check the system for required RPMs. For
example, when I installed SLES-9 I selected "Minimum System" as my basic system which installs the
OS without a graphical user interfcase and without any development packages. And by default, YaST
installs less than 250 RPMs for a "Minimum System". This means that some required RPMs will be
missing on the system if you selected e.g. a Minimum System".
The document
Oracle Database Installation Guide 10g Release 1 (10.1) for UNIX Systems
lists the
following software requirements for SLES-9:
http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml (4 of 23)19/4/2005 17:29:02
Installing Oracle 10g on SUSE Linux Enterprise Server 9, SUSE Linux Profe... 9.3 (Oracle Database 10g Installation, Oracle10g, Novell, SLES-9, SLES9)
kernel-2.6.5-7.5
gcc-3.3.3-43
gcc-c++-3.3.3-43
glibc-2.3.3-98
libaio-0.3.98-18
libaio-devel-0.3.98-18
make-3.80
openmotif-libs-2.2.2-519.1
Even though it's not mentioned in Oracle's installation guide, the
openmotif
package is also required.
In fact, OUI checks for
openmotif-2.1.30-11
or a higher version.
To verify whether these packages and versions are installed on the system, run
uname -r
# to get the kernel version
rpm -q gcc gcc-c++ glibc libaio libaio-devel make openmotif openmotif-
libs
On my SLES-9 system I had to install the following RPMs and dependencies to meet the above software
requirements:
CD 2:
rpm -Uvh make-3.80-184.1.i586.rpm
rpm -Uvh libaio-0.3.98-18.3.i586.rpm
rpm -Uvh openmotif-libs-2.2.2-519.1.i586.rpm \
XFree86-libs-4.3.99.902-43.22.i586.rpm \
freetype2-2.1.7-53.5.i586.rpm \
fontconfig-2.2.92.20040221-28.13.i586.rpm \
expat-1.95.7-37.1.i586.rpm
CD 3:
rpm -Uvh gcc-3.3.3-43.24.i586.rpm \
gcc-c++-3.3.3-43.24.i586.rpm \
libstdc++-devel-3.3.3-43.24.i586.rpm \
glibc-devel-2.3.3-98.28.i686.rpm
http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml (5 of 23)19/4/2005 17:29:02
Plik z chomika:
darekisap
Inne pliki z tego folderu:
Linux - Installing Oracle Database 10g on Novell SUSE Linux.pdf
(118 KB)
APress - Expert One-on-One Oracle.pdf
(9221 KB)
APress - Expert Oracle Database Architecture - 9i and 10g Programming Techniques and Solutions (2004).pdf
(4845 KB)
APress - Expert Oracle 9i Database Administration (2003)(1).chm
(10006 KB)
APress - Oracle 9i PL SQL - A Developer's Guide (2003)(1).chm
(4391 KB)
Inne foldery tego chomika:
Oracle 10g
Oracle 8i
Zgłoś jeśli
naruszono regulamin