Sunteți pe pagina 1din 13

TOP TECHNOLOGY INSTITUTE ESCARCEGA

Computer Systems Engineering

SUBJECT Database administration

Manual installation of a database manager

MEMBERS: Mario Alberto Chan Balan Rub Esmeralda Espinoza Martnez David Montiel Ramrez Rigo Alberto Rodrguez Mex Daniel Magaa Rodrguez Jazmn Montiel Ramrez

ISMA- 6 18-04-2013

Introduction ---------------------------------------------------------------------------3

Requirements ------------------------------------------------------------------------3

Installation Development -------------------------------------------------------4

conclusion --------------------------------------------------------------------------13

INTRODUCCIN In this tutorial we will see step by step installation of Oracle Database XE 11g R2 Express Edition as well as some relevant information about the DBMS, this is on the Windows platform, ie the can follow this guide if you operating system is Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2, for those who are installing on Windows Vista or Windows 7 have to do it this way, select the executable, press right mouse button and a menu will appear, and select - Run as administrator - this is important because if you do then you can have problems during installation or if the installation is complete we will either unforeseen errors.

DBMS INFORMATION Oracle Database 11g R2 includes Oracle Application Express release 2.1 graphical development environment for building Web applications with database. Oracle Database XE is a reduced version of Oracle with the same characteristics and potential of Oracle Database. It should be emphasized that supports all data types in Oracle Database XE.

Oracle Database 11g R2 includes the following utilities:

SQL Command Line (SQL * Plus) to execute SQL commands and PL / SQL and execute scripts SQL * Loader to insert data into the database Utilities to import, export and database dump

STEPS TO INSTALL ORACLE DATABASE 11G R2

After downloading the zip have to unzip: unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip If all went well you created a folder called database Now we have to modify the / etc / hosts because you have to have all the server name. For this we logeamos as root. The file must be of the following form: <IP-address> <fully-qualified-machine-name> <machine-name> Ahora vamos a agregar unos parametros a /etc/sysctl.conf (como root) fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default=262144 net.core.rmem_max=4194304 net.core.wmem_default=262144 net.core.wmem_max=1048586 Ahora corremos el siguiente comando para aplicar los nuevos parametros: /sbin/sysctl -p Ahora debemos agregar la siguientes lineas en el "/etc/security/limits.conf" oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 And now we have to modify "/ etc / pam.d / login" and add the following line if it exists:

session required pam_limits.so

Then we have to disable the firewall that can be done with the application firewall {on itself to

Now to disable SELINUX for this edit "/ etc / selinux / config" and edit the line

SELINUX and put:SELINUX=disabled Ahora a Instalar librerias: yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum yum install install install install install install install install install install install install install install install install install install install install install install install install install install install install install install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make numactl-devel sysstat unixODBC unixODBC.i686 unixODBC-devel unixODBC-devel.i686

Ahora debemos crear los siguientes grupos: groupadd oinstall groupadd dba groupadd oper
5

groupadd asmadmin useradd -g oinstall -G dba,oper,asmadmin oracle passwd oracle Ahora creamos el directorio donde oracle va a ser instalado: mkdir -p /u01/app/oracle/product/11.2.0/db_1 chown -R oracle:oinstall /u01 chmod -R 775 /u01 Vamos a editar el archivo "/etc/redhat-release" y simulamos que es un red-hat borrando lo que tiene y escribiendo: redhat release 5 por ultimo tenemos que ir al .bash_profile logeados como usuario oracle y agregamos # Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_HOSTNAME=fedora14.localdomain; export ORACLE_HOSTNAME ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME ORACLE_SID=DB11G; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export PATH LD_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

Now we leave the secion and we logeamos as oracle and run . / runInstaller and follow the wizard ... Then we will leave the following window In this window is configured to receive updates

This window gives the option to create a configuration for the database

This window is to select the type of system

This window configures the installation, I recommend leaving the default brings Oracle 11g R2 or modify it according to your needs

In this part of the Oracle 11g Installer Wizard determine which will be the ORACLE_BASE directory and in that directory will install the unit is to choose I would always recommend using Oracle's proposed structure.

Once this verification can sharecroppers Ventada which describes the possible failures that Oracle Client installer is detected, you will have to fix them but in some cases may be faults that are not totally real, if you continue tikar in the check box 'Ignore All 'activate the next button and press.

This wizard window will be giving us information about installing the Oracle11g R2

10

11

And so ends the installation.

12

CONCLUSION

To conclude, this tool is very good from my point of view, because you can do everything that is needed for database design, implementation and management of the same, and it is easier and convenient to use this software if you you are interested in databases.

13

S-ar putea să vă placă și