1- root ile login olunuyor.
ifconfig -a -ip listeler
df -h /tmp - tmp in 400 mg dan buyuk olması gerekiyor.
2- check hardware --------------------------
/usr/sbin/prtconf | grep "Memory size" - en az 512 olmalı
/usr/sbin/swap -s - ram in iki katı olmalı
df -k /tmp -tmp dosyası en az 400 mg olmalı
df -k -1.5 2 gb boş alan olmalı
/bin/isainfo -kv - 32-bit i386 kernel modules olmalı benim indirdigim versiyon için
3- check software---------------------
uname -r -sistem versiyonu
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \
SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
-paketlerin yüklü olması gerekiyor.
/usr/sbin/patchadd -p | grep 111713 -patch versiyonu
4- check network ----------------------
/etc/hosts -host ların bulundugu dosya
nsswitch.conf
cat /etc/nsswitch.conf | grep hosts
hostname
domainname
cat /etc/hosts | grep `eval hostname` -hostnamleri listeliyor.
Setting the ORACLE_HOSTNAME Environment Variable;
Bourne, Bash, or Korn shell:
$ ORACLE_HOSTNAME=somehost.us.acme.com
$ export ORACLE_HOSTNAME
C shell:
% setenv ORACLE_HOSTNAME somehost.us.acme.com
5-Creating Required Operating System Groups and Users---------
To determine whether the Oracle Inventory group exists, enter the following command:
# more /var/opt/oracle/oraInst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd oper
---Creating the Oracle user
id -a oracle
uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
/usr/sbin/useradd -g oinstall -G dba[,oper] oracle
In this command:
The -g option specifies the primary group, which must be the Oracle Inventory group, for example oinstall
The -G option specifies the secondary groups, which must include the OSDBA group and if required, the OSOPER group. For example, dba or dba,oper
parola koyma;
passwd -r files oracle
--Modifying an Oracle Software Owner User
/usr/sbin/usermod -g oinstall -G dba[,oper] oracle
--the User nobody Exists
# id nobody
#/usr/sbin/useradd nobody
6 Configuring Kernel Parameters----------
To view the current values of the resource control, enter the following commands:
# id -p // to verify the project id
uid=0(root) gid=0(root) projid=1 (user.root)
# prctl -n project.max-shm-memory -i project user.root
# prctl -n project.max-sem-ids -i project user.root
To modify the value of max-shm-memory to 6 GB:
# prctl -n project.max-shm-memory -v 6gb -r -i project user.root
To modify the value of max-sem-ids to 256:
# prctl -n project.max-sem-ids -v 256 -r -i project user.root
after a system restart:
# su - oracle
$ id -p
uid=100(oracle) gid=100(dba) projid=100(group.dba)
$ exit
To set the maximum shared memory size to 2 GB, run the projmod command:
# projmod -sK "project.max-shm-memory=(privileged,2G,deny)" group.dba
Alternatively, add the project.max-shm-memory=(privileged, 2147483648,deny)
cat /etc/project
The following is the output of the command:
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
group.dba:100:Oracle default
project:::project.max-shmmemory=(privileged,2147483648,deny)
To verify that the resource control is active, run the id and prctl commands:
# su - oracle
$ id -p
uid=100(oracle) gid=100(dba) projid=100(group.dba)
$ prctl -n project.max-shm-memory -i process $$
process: 5754: -bash
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 2.00GB - deny
7-Identifying Required Software Directories-------
9 Temmuz 2009 Perşembe
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder