Sie sind auf Seite 1von 9

TECNOLGICO DE ESTUDIOS

SUPERIORES DE TIANGUISTENCO

[ADMINISTACION DE BASES DE DATOS]


ENSAYO

[CARRERA]
INGENIERO EN SISTEMAS COMPUTACIONALES

[NOMBRE DEL ALUMNO]


[NAVA, MARTINEZ LUIS ANGEL]

[201023111]

[602]

TIANGUISTENCO, MXICO [JUNIO, 2013]


INTRODUCCION.

En esta practica se realizara una serie de configuraciones para Oracle realizando 13


comandos desde la terminal de CENTOS, para realizar esto haremos uso de la maquina
virtual, instalado el programa de Centos en la maquina, una vez teniendo esto
configuraremos Oracle paso a paso, n esta primera parte lo perimero que realizaremos
ser mostrar un reloj, para ello ejecutaremos los siguientes comandos.

1. Edit /etc/hosts file


2. Edit /etc/sysctl.conf
#kernel.shmall = 2097152
#kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
#fs.file-max = 65536
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
3. Run the following command to change the kernel parameters
/sbin/sysctl -p
4. Add the following security parameter
in /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
5. Edit /etc/pam.d/login and add following linesession required pam_limits.so
6. SElinux and firewall should be turned offcheck /etc/selinux/config
SELINUX=disabled
7. Creating following users and Groups
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracle
8. Oracle will be installed in the following Directories
#mkdir -p /u01/app/oracle/product/10.2.0/db_1
#chown -R oracle.oinstall /u019. Login as Root user on the machine in GUI console and execute
#xhost +
This will enable other users to use X console10. Take backup of the file /etc/rgedit edhat-release to
/etc/redhat-release.original
and edit /etc/redhat-release
#echo redhat-4> /etc/redhat-release
11. Edit the /home/oracle/.bash_profile
add the following lines
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIRORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export exportORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export
PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
12. Log into the oracle user. If you are using X emulation then set the DISPLAY environmental
variable:
DISPLAY=:0.0; export DISPLAY
13. Copy the file 10201_database_linux32.zip into oracle user home directory ,i.e, /home/oracle
and unzip the file.
DESARROLLO.
CONCLUSION.

En esta ocasin al realizar la practica estuvimos familiarizados con un nuevo S:O en este
caso fue CENTOS, experimentamos como poder configurar Oracle , esto fue un poco
complicado ya que no tenemos tantos conocimiento en este sistema, sin embargo esto
nos ayuda a ampliar mas nuestro conocimiento .

Das könnte Ihnen auch gefallen