[root@sujeet ~]#
buffers
151772
cached
1234832
[root@sujeet ~]#
vi
/etc/hosts
[Fully-qualified-machine-name]
R0202.iwarelogic.com
[Machine-name]
R0202
5) GUI:-Create User and Group:System -> Administration -> Users and Groups ->
i) Add user oracle
ii) Add Group dba
iii) Assign user to that group
OR
COMMAND LINE:[root@sujeet ~]# useradd -g dba -m oracle
[root@sujeet ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
6) Create directories where the Oracle Software and database
will be installed.
[root@sujeet ~]#
[root@sujeet ~]#
[root@sujeet ~]#
Mkdir /10g_install
chown -R oracle:dba /10g_install
chmod -R 777 /10g_install
7) SELINUX=disabled
System -> Administration ->
If you leave SELINUX=enforcing then you may get an error later
while starting sqlplus:
sqlplus: error while loading shared libraries:
/usr/lib/oracle/default/client64/lib/libclntsh.so.11.1:
cannot restore segment
prot after reloc: Permission denied
8) Linux Kernel Parameters to support Oracle.
Open /etc/sysctl.conf and add the following lines:
[root@sujeet ~]# vi /etc/sysconfig/network
# Oracle settings
fs.file-max = 65536
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
[root@sujeet ~]#
cd /setup/rpms
[root@sujeet newrpms]# ls
binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
binutils-2.17.50.0.6-9.0.1.el5.i386.rpm
compat-binutils215-2.15.92.0.2-24.i386.rpm
compat-libcwait-2.0-2.i386.rpm
compat-libstdc++-3.2-1.i386.rpm
compat-libstdc++-egcs-1.1.2-1.i386.rpm
compat-oracle-el5-1.0-5.i386.rpm
fonts-chinese-3.02-12.el5.noarch.rpm
openmotif21-2.1.30-11.EL5.i386.rpm
openmotif21-debuginfo-2.1.30-11.EL5.i386.rpm
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
<rpmname>
12)
vi .bash_profile
[oracle@sujeet ~]#
[oracle@sujeet ~]#
cd /10g_setup/database/
$ ./runInstaller
Uninstalling all products from UNIX is a lot more consistent. If you do need to resort to a
manual uninstall you should do something like:
Uninstall all Oracle components using the Oracle Universal Installer (OUI).
Stop any outstanding processes using the appropriate utilities.
# oemctl stop oms user/password
# agentctl stop
# lsnrctl stop
Alternatively you can kill them using the kill -9 pid
# cd $ORACLE_HOME
# rm -Rf *
With the exception of the product directory, delete directories below the
$ORACLE_BASE.
# cd $ORACLE_BASE
# rm -Rf admin doc jre o*
Delete the /etc/oratab file. If using 9iAS delete the /etc/emtab file also.
# rm /etc/oratab /etc/emtab
Windows
Uninstall all Oracle components using the Oracle Universal Installer (OUI).
Delete any references to Oracle services left behind in the following part of the
registry (HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*). It should be
pretty obvious which ones relate to Oracle.
Reboot your machine.
If you are running 64-bit Wiindows, you should also delete the " C:\Program Files
directory.
(x86)\Oracle"
Reactions:
No comments:
Post a Comment