Download - Apache Mysql Php4 Modo Seguro

Transcript
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    1/36

    Cmo instalar Apache en Linux como Servidor Seguro + PHP4 +

    MySQL?

    Las instrucciones que se muestran a continuacin, eliminarn toda instalacin de apache

    que tengas en tu servidor. Si quieres conservar las paginas web, los log, y laconfiguracin del actual apache hazte una copia de seguridad de los directorios

    correspondientes, normalmente:

    /home/httpd

    /var/log/httpd

    /etc/httpd

    De todos modos, el script que se muestra a continuacin ya te copiar toda la

    informacin del Apache y del MySQL a un directorio temporal: /tmp

    Para que las instrucciones que se muestran a continuacin surtan efecto, debes tener en

    el directorio /home/install de tu host linux los siguientes ficheros:

    apache-1.3.12.tar.gz

    php-4.0.4.tar.gz

    mysql-3.22.32.tar.gz

    openssl-0.9.5a.tar.gz

    apache_1.3.12+ssl_1.40.tar.gz

    que podrs conseguir en estos enlaces:

    apache-1.3.12.tar.gz

    php-4.0.4.tar.gz

    mysql-3.22.32

    openssl-0.9.5a.tar.gz

    apache_1.3.12+ssl_1.40.tar.gz

    Ficheros Originales y Lugares oficiales de descarga:

    apache-1.3.12.tar.gz

    php-4.0.4.tar.gz

    mysql-3.22.32.tar.gz openssl-0.9.5a.tar.gz

    apache_1.3.12+ssl_1.40.tar.gz

    Si tienes instalado wget en tu mquina Linux, no es necesario que consigas

    manualmente estos ficheros, porque el script lo har por ti automyicamente.

    Debes tener acceso como root a la mquina Linux para que la instalacin se efectue

    correctamente.

    Ahora sigue los pasos que se muestran a continuacin para la compilacin del Apache con todas las opcionesanteriormente indicadas:

    http://www.apache.org/dist/apache_1.3.12.tar.gzhttp://es.php.net/distributions/php-4.0.4.tar.gzhttp://www.mysql.com/Downloads/MySQL-3.22/mysql-3.22.32.tar.gzhttp://www.openssl.org/source/openssl-0.9.5a.tar.gzftp://ftp.funet.fi/pub/crypt/mirrors/ftp.ox.ac.uk/SSL/Apache-SSL/apache_1.3.12+ssl_1.40.tar.gzhttp://www.apache.org/httpd.htmlhttp://www.php.net/http://www.mysql.com/download.htmlhttp://www.openssl.org/source/http://www.apache-ssl.org/#Downloadhttp://www.apache.org/dist/apache_1.3.12.tar.gzhttp://es.php.net/distributions/php-4.0.4.tar.gzhttp://www.mysql.com/Downloads/MySQL-3.22/mysql-3.22.32.tar.gzhttp://www.openssl.org/source/openssl-0.9.5a.tar.gzftp://ftp.funet.fi/pub/crypt/mirrors/ftp.ox.ac.uk/SSL/Apache-SSL/apache_1.3.12+ssl_1.40.tar.gzhttp://www.apache.org/httpd.htmlhttp://www.php.net/http://www.mysql.com/download.htmlhttp://www.openssl.org/source/http://www.apache-ssl.org/#Download
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    2/36

    ################################################################################################################################################################################################################################################### NOTAS:

    1.- Los errores tipo "File exists", o "No such file or directory"puede considerarlos como normales a lo largo de esta instalacin.

    2.- Antes de proceder, asegrese de que no tiene datos importantesen los siguientes directorios: /home/httpd, /usr/local/apache,/usr/local/mysql, /etc/httpd, /usr/src/apache, /usr/src/mysql,/usr/src/php

    3.- Esta instalacion compila Apache, PHP y SSL de forma integrada,no como mdulos.

    ################################################################################################################################################################################################################################################

    ### Descargo los ficheros necesariosmkdir /home/install

    mkdir /home/install/serviciosmkdir /home/install/servicios/apachesslcd /home/install/servicios/apachesslwget -c -t100 -T60 http://www.apache.org/dist/apache_1.3.12.tar.gzwget -c -t100 -T60 http://www.mysql.com/Downloads/MySQL-3.22/mysql-3.22.32.tar.gzwget -c -t100 -T60 http://www.openssl.org/source/openssl-0.9.5a.tar.gzwget -c -t100 -T60 ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.ox.ac.uk/SSL/Apache-SSL/apache_1.3.12+ssl_1.40.tar.gz

    mkdir /home/install/programacionmkdir /home/install/programacion/phpcd /home/install/programacion/phpwget -c -t100 -T60 "http://www.php.net/do_download.php?download_file=php-4.0.4.tar.gz&source_site=www.php.net"

    -------------------------------------------

    ### "Mato" posibles demonios que estn funcionando/etc/rc.d/init.d/httpd stop/etc/rc.d/init.d/httpsd stop/usr/local/apache/bin/apachectl stop/usr/local/apache/bin/httpdctl stop/usr/local/apache/bin/httpsdctl stop

    /etc/rc.d/init.d/mysql stop/usr/local/mysql/bin/mysqladmin shutdown

    ### Se crean algunos directorios necesariosmkdir /etc/httpdmkdir /home/httpdmkdir /home/httpd/www.midominio.commkdir /home/httpd/www.midominio.com/htmlmkdir /home/httpd/www.midominio.com/cgi-binmkdir /var/log/httpdmkdir /var/log/httpd/www.midominio.com

    -------------------------------------------

    ### En caso de que tuviera instalado Apache o MySQL o PHP:### Hago copias de seguridad de las configuracion, logs y datos

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    3/36

    rm -Rf /tmp/apache.backupmkdir /tmp/apache.backupcp -Rdp /home/httpd /tmp/apache.backup/htdocscp -Rdp /etc/httpd /tmp/apache.backup/etccp -Rdp /var/log/httpd /tmp/apache.backup/log

    rm -Rf /tmp/mysql.backupmkdir /tmp/mysql.backupcp -Rd /usr/local/mysql/var/mysql /tmp/mysql.backup/data

    ### Borro los programas antiguos instaladosrm -Rf /usr/local/apacherm -Rf /usr/local/sslrm /usr/sbin/ssleayrm -Rf /usr/local/mysqlrm /usr/local/lib/php3.inirm /usr/local/lib/php.inirm -Rf /usr/local/php*

    ### Borro codigos fuente antiguosrm /usr/src/apacherm -Rf /usr/src/apache*rm /usr/src/sslrm -Rf /usr/src/openssl*rm -Rf /usr/src/ssleay*rm -Rf /usr/src/SSLeay*rm /usr/src/phprm -Rf /usr/src/php*rm /usr/src/mod_sslrm -Rf /usr/src/mod_ssl*rm /usr/src/mysqlrm -Rf /usr/src/mysql*

    -------------------------------------------

    ### Descomprimo codigos fuente en /usr/srccd /usr/src/tar -zxvf /home/install/servicios/apachessl/apache-1.3.12.tar.gztar -zxvf /home/install/servicios/apachessl/openssl-0.9.5a.tar.gz

    ### Aplico parche SSL al Apachecd /usr/src/apache_1.3.12tar -zxvf /home/install/servicios/apachessl/apache_1.3.12+ssl_1.40.tar.gz./FixPatch# Manualmente! Contestar 'y' para que aplique el patch

    ### Descomprimo mas codigos fuente en /usr/srccd /usr/src/tar -zxvf /home/install/servicios/apachessl/mysql-3.22.32.tar.gztar -zxvf /home/install/programacion/php/php-4.0.4.tar.gz

    ### Creo enlaces sencillos (libres de version) al codigo fuenteln -s /usr/src/apache_1.3.12 /usr/src/apacheln -s /usr/src/openssl-0.9.5a /usr/src/sslln -s /usr/src/mysql-3.22.32 /usr/src/mysqlln -s /usr/src/php-4.0.4 /usr/src/php

    ### Compilo SSL

    SSL_BASE=/usr/src/sslcd /usr/src/sslln -s /usr/bin/perl /usr/local/bin/perl

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    4/36

    ./configmakemake testmake install

    ### Preparo fuentes para la compilacion de Apache

    cd /usr/src/apache./configure --prefix=/usr/local/apache

    ### Compilo MySqlcd /usr/src/mysql./configure --without-debug --prefix=/usr/local/mysqlmakemake installcp /usr/src/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql/usr/src/mysql/scripts/mysql_install_dbchmod 755 /etc/rc.d/init.d/mysql/usr/local/mysql/bin/safe_mysqld &

    * Es normal que esta ultima orden no nos devuelva la

    * linea de comando hasta que pulsemos ENTER/usr/local/mysql/bin/mysqladmin -u root password 'miclave'* Sustituya miclave por la clave que desee

    ### Se crean enlaces a los programas ms usados ...ln -s /usr/local/mysql/bin/mysql /usr/bin/mysqlln -s /usr/local/mysql/bin/mysqladmin /usr/bin/mysqladminln -s /usr/local/mysql/bin/mysqldump /usr/bin/mysqldump

    ### Compilo PHP4 como modulo de Apachecd /usr/src/php./configure --with-mysql=/usr/local/mysql \--with-apache=/usr/src/apache --enable-track-varsmake

    make installcp /usr/src/php/php.ini-dist /usr/local/lib/php.ini

    ### Compilo PHP4 como CGIcd /usr/src/phpmake clean./configure --with-mysql=/usr/local/mysql --enable-track-varsmakemake install

    ### Compilo Apachecd /usr/src/apache./configure --prefix=/usr/local/apache/ \

    --activate-module=src/modules/php4/libphp4.a \--activate-module=src/modules/standard/mod_speling.o \--activate-module=src/modules/standard/mod_info.omake

    ### Genero Certificado propioln -s /usr/local/ssl/bin/openssl /usr/sbin/ssleaycd /etc/httpdssleay req -new > new.cert.csr### responder interactivamente a las preguntas### (incluyendo la clave secreta) ...### introduzca una clave 2 veces y luego los datos### del Certificado

    ssleay rsa -in privkey.pem -out new.cert.keyssleay x509 -in new.cert.csr -out new.cert.cert -req-signkey new.cert.key -days 365

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    5/36

    ### Instalo Apachecd /usr/src/apachemake install

    ### En caso de que hayamos hecho copias de seguridad:

    mkdir /home/httpdcp -Rdp /tmp/apache.backup/htdocs /home/httpd

    ### Creo enlacesmv -f /usr/local/apache/logs/* /var/log/httpdrm -Rf /usr/local/apache/logsln -s /var/log/httpd /usr/local/apache/logs

    ### Creo enlacesmv -f /usr/local/apache/conf/* /etc/httpdrm -Rf /usr/local/apache/confln -s /etc/httpd /usr/local/apache/confln -s /etc/httpd/httpsd.conf /etc/httpd/httpd.conf

    ln -s /etc/httpd/httpd.conf /etc/httpd/httpsd.conf

    ### Creo enlacesmv -f /usr/local/apache/htdocs/* /home/httpd/www.midominio.com/htmlrm -Rf /usr/local/apache/htdocsln -s /home/httpd/www.midominio.com/html /usr/local/apache/htdocs

    ### Creo enlacesmv -f /usr/local/apache/cgi-bin/* /home/httpd/www.midominio.com/cgi-binrm -Rf /usr/local/apache/cgi-binln -s /home/httpd/www.midominio.com/cgi-bin /usr/local/apache/cgi-bin

    ### Creo enlaces

    ln -s /usr/local/apache/bin/httpsdctl /etc/rc.d/init.d/httpdln -s /var/log/httpd/httpd.pid /var/run/httpd.pidln -s /var/log/httpd/httpd.pid /var/log/httpd/httpsd.pid

    ### En caso de que hayamos hecho copias de seguridad:### Copio los ficheros de log del backup a /var/log/httpdcp -Rdp /tmp/apache.backup/log /var/log/httpd### Copio los ficheros de configuracion viejoscp -Rdp /tmp/apache.backup/etc /etc/httpd

    ### Editamos el fichero de configuracion de Apache:vi /etc/httpd/httpsd.conf

    * Cogemos como ejemplo el fichero de configuracin de

    http://jips.kipelhouse.com/linux/apache/ssl/httpsd.html

    ### Pruebamos a arrancar el servidor con el siguiente comando:/usr/local/apache/bin/httpsdctl start

    ### Verificamos que vive Apacheps ax | grep http

    ### Verificamos que vive MySQLps ax | grep sql

    ### Verificamos que esta activo el SSLps ax | grep gcache

    ### Verificamos que funciona Apachelynx http://www.midominio.com/

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    6/36

    ################################################################################################################################################################################################################################################

    ### Como preparar directorios para un dominio virtual?### Vamos a crear el dominio www.otrodominio.commkdir /var/log/httpd/www.otrodominio.commkdir /home/httpd/www.otrodominio.commkdir /home/httpd/www.otrodominio.com/htmlecho "Funciona www.otrodominio.com" > /home/httpd/www.otrodominio.com/html/index.htmlmkdir /home/httpd/www.otrodominio.com/cgi-bin

    ### An~adimos a /etc/httpd/httpsd.conf las siguientes lineas al finalServerAdmin [email protected] 80

    DocumentRoot /home/httpd/www.otrodominio.com/html/ServerName www.otrodominio.comErrorLog logs/www.otrodominio.com/error.logCustomLog logs/www.otrodominio.com/access.log combinedScriptAlias /cgi-bin/ /home/httpd/www.otrodominio.com/cgi-bin/

    ######################################################################################### Ejemplo de configuracion para servidor Apache + PHP4 + SSL + Dominios Virtuales# Modificado por BankHacker, 2.001########################################################################################

    ######################################################################################### Normativas:

    ############## Servidor Apache Compilado: /usr/local/apache/# Servidor Apache Fuentes: /usr/src/apache/# Ficheros de Configuracion: /etc/httpd/# Ficheros de Log: /var/log/httpd# Dominio1: /var/log/httpd/www.midominio.com/# Dominio2: /var/log/httpd/www.otrodominio.com/# ...# WebSites:# Dominio1: /home/httpd/www.midominio.com/# Dominio2: /home/httpd/www.otrodominio.com/# ...# Estructura WebSite:

    # Dominio1: /home/httpd/www.dominio.com/# Paginas Web: /home/httpd/www.dominio.com/html/# Ejecutables CGI: /home/httpd/www.dominio.com/cgi-bin/## IMPORTANTE: Sustituir 127.0.0.1 por la IP real del servidor########################################################################################

    ### Section 1: Global Environment## The directives in this section affect the overall operation of Apache,# such as the number of concurrent requests it can handle or where it# can find its configuration files.

    #

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    7/36

    ## ServerType is either inetd, or standalone. Inetd mode is only supported on# Unix platforms.#ServerType standalone

    ## ServerRoot: The top of the directory tree under which the server's# configuration, error, and log files are kept.## NOTE! If you intend to place this on an NFS (or otherwise network)# mounted filesystem then please read the LockFile documentation# (available at );# you will save yourself a lot of trouble.## Do NOT add a slash at the end of the directory path.#ServerRoot /usr/local/apache

    ## The LockFile directive sets the path to the lockfile used when Apache# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at# its default value. The main reason for changing it is if the logs# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL# DISK. The PID of the main server process is automatically appended to# the filename.##LockFile logs/httpd.lock

    ## PidFile: The file in which the server should record its process

    # identification number when it starts.#PidFile logs/httpd.pid

    ## ScoreBoardFile: File used to store internal server process information.# Not all architectures require this. But if yours does (you'll know because# this file will be created when you run Apache) then you *must* ensure that# no two invocations of Apache share the same scoreboard file.## ScoreBoardFile logs/httpd.scoreboard

    #

    # In the standard configuration, the server will process this file,# srm.conf, and access.conf in that order. The latter two files are# now distributed empty, as it is recommended that all directives# be kept in a single file for simplicity. The commented-out values# below are the built-in defaults. You can have the server ignore# these files altogether by using "/dev/null" (for Unix) or# "nul" (for Win32) for the arguments to the directives.##ResourceConfig conf/srm.conf#AccessConfig conf/access.conf

    ## Timeout: The number of seconds before receives and sends time out.

    #Timeout 300

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    8/36

    ## KeepAlive: Whether or not to allow persistent connections (more than# one request per connection). Set to "Off" to deactivate.#KeepAlive On

    ## MaxKeepAliveRequests: The maximum number of requests to allow# during a persistent connection. Set to 0 to allow an unlimited amount.# We recommend you leave this number high, for maximum performance.#MaxKeepAliveRequests 100

    ## KeepAliveTimeout: Number of seconds to wait for the next request from the# same client on the same connection.#KeepAliveTimeout 15

    ## Server-pool size regulation. Rather than making you guess how many# server processes you need, Apache dynamically adapts to the load it# sees --- that is, it tries to maintain enough server processes to# handle the current load, plus a few spare servers to handle transient# load spikes (e.g., multiple simultaneous requests from a single# Netscape browser).## It does this by periodically checking how many servers are waiting# for a request. If there are fewer than MinSpareServers, it creates# a new spare. If there are more than MaxSpareServers, some of the# spares die off. The default values are probably OK for most sites.

    #MinSpareServers 5MaxSpareServers 10

    ## Number of servers to start initially --- should be a reasonable ballpark# figure.#StartServers 5

    ## Limit on total number of servers running, i.e., limit on the number# of clients who can simultaneously connect --- if this limit is ever

    # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.# It is intended mainly as a brake to keep a runaway server from taking# the system with it as it spirals down...#MaxClients 250

    ## MaxRequestsPerChild: the number of requests each child process is# allowed to process before the child dies. The child will exit so# as to avoid problems after prolonged use when Apache (and maybe the# libraries it uses) leak memory or other resources. On most systems, this# isn't really needed, but a few (such as Solaris) do have notable leaks# in the libraries.

    #MaxRequestsPerChild 30

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    9/36

    ## Listen: Allows you to bind Apache to specific IP addresses and/or# ports, in addition to the default. See also the # directive.#Listen 443Listen 80

    ## BindAddress: You can support virtual hosts with this option. This directive# is used to tell the server which IP address to listen to. It can either# contain "*", an IP address, or a fully qualified Internet domain name.# See also the and Listen directives.##BindAddress *

    ## Dynamic Shared Object (DSO) Support## To be able to use the functionality of a module which was built as a DSO you# have to place corresponding `LoadModule' lines at this location so the# directives contained in it are actually available _before_ they are used.# Please read the file README.DSO in the Apache 1.3 distribution for more# details about the DSO mechanism and run `httpd -l' for the list of already# built-in (statically linked and thus always available) modules in your httpd# binary.## Note: The order is which modules are loaded is important. Don't change# the order below without expert advice.## Example:# LoadModule foo_module libexec/mod_foo.so

    ## ExtendedStatus controls whether Apache will generate "full" status# information (ExtendedStatus On) or just basic information (ExtendedStatus# Off) when the "server-status" handler is called. The default is Off.##ExtendedStatus On

    ### Section 2: 'Main' server configuration## The directives in this section set up the values used by the 'main'

    # server, which responds to any requests that aren't handled by a# definition. These values also provide defaults for# any containers you may define later in the file.## All of these directives may appear inside containers,# in which case these default settings will be overridden for the# virtual host being defined.#

    ## If your ServerType directive (set earlier in the 'Global Environment'# section) is set to "inetd", the next few directives don't have any# effect since their settings are defined by the inetd configuration.

    # Skip ahead to the ServerAdmin directive.#

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    10/36

    ## Port: The port to which the standalone server listens. For# ports < 1023, you will need httpd to be run as root initially.#Port 443

    ## If you wish httpd to run as a different user or group, you must run# httpd as root initially and it will switch.## User/Group: The name (or #number) of the user/group to run httpd as.# . On SCO (ODT 3) use "User nouser" and "Group nogroup".# . On HPUX you may not be able to use shared memory as nobody, and the# suggested workaround is to create a user www and use that user.# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)# when the value of (unsigned)Group is above 60000;# don't use Group nobody on these systems!#User nobodyGroup nobody

    ## ServerAdmin: Your address, where problems with the server should be# e-mailed. This address appears on some server-generated pages, such# as error documents.#ServerAdmin [email protected]

    ## ServerName allows you to set a host name which is sent back to clients for# your server if it's different than the one the program would get (i.e., use# "www" instead of the host's real name).## Note: You cannot just invent host names and hope they work. The name you# define here must be a valid DNS name for your host. If you don't understand# this, ask your network administrator.# If your host doesn't have a registered DNS name, enter its IP address here.# You will have to access it by its address (e.g., http://123.45.67.89/)# anyway, and this will make redirections work in a sensible way.#ServerName www.midominio.com

    ## DocumentRoot: The directory out of which you will serve your

    # documents. By default, all requests are taken from this directory, but# symbolic links and aliases may be used to point to other locations.#DocumentRoot "/home/httpd/www.midominio.com/html"

    ## Each directory to which Apache has access, can be configured with respect# to which services and features are allowed and/or disabled in that# directory (and its subdirectories).## First, we configure the "default" to be a very restrictive set of# permissions.#

    Options FollowSymLinks Indexes Includes

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    11/36

    AllowOverride None

    ## DirectoryIndex: Name of the file or files to use as a pre-written HTML# directory index. Separate multiple entries with spaces.#DirectoryIndex index.html index.phtml index.htm index.php3 index.php home.html home.htm

    ## AccessFileName: The name of the file to look for in each directory# for access control information.#AccessFileName .htaccess

    ## The following lines prevent .htaccess files from being viewed by# Web clients. Since .htaccess files often contain authorization# information, access is disallowed for security reasons. Comment# these lines out if you want Web visitors to see the contents of# .htaccess files. If you change the AccessFileName directive above,# be sure to make the corresponding changes here.#

    Order allow,denyDeny from all

    ## CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each# document that was negotiated on the basis of content. This asks proxy# servers not to cache the document. Uncommenting the following line disables# this behavior, and proxies will be allowed to cache the documents.## CacheNegotiatedDocs

    ## UseCanonicalName: (new for 1.3) With this setting turned on, whenever# Apache needs to construct a self-referencing URL (a URL that refers back# to the server the response is coming from) it will use ServerName and# Port to form a "canonical" name. With this setting off, Apache will# use the hostname:port that the client supplied, when possible. This# also affects SERVER_NAME and SERVER_PORT in CGI scripts.#UseCanonicalName On

    ## TypesConfig describes where the mime.types file (or equivalent) is# to be found.#TypesConfig conf/mime.types

    ## DefaultType is the default MIME type the server will use for a document# if it cannot otherwise determine one, such as from filename extensions.# If your server contains mostly text or HTML documents, "text/plain" is# a good value. If most of your content is binary, such as applications# or images, you may want to use "application/octet-stream" instead to

    # keep browsers from trying to display binary files as though they are# text.

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    12/36

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    13/36

    # define per- access logfiles, transactions will be# logged therein and *not* in this file.#CustomLog logs/www.midominio.com/access.log combined

    ## Optionally add a line containing the server version and virtual host# name to server-generated pages (error documents, FTP directory listings,# mod_status and mod_info output etc., but not CGI generated documents).# Set to "EMail" to also include a mailto: link to the ServerAdmin.# Set to one of: On | Off | EMail#ServerSignature On

    ## Aliases: Add here as many aliases as you need (with no limit). The format is# Alias fakename realname## Note that if you include a trailing / on fakename then the server will# require it to be present in the URL. So "/icons" isn't aliased in this# example, only "/icons/"..#Alias /icons/ /usr/local/apache/icons/

    Options Indexes MultiViewsAllowOverride NoneOrder allow,denyAllow from all

    Order allow,denyAllow from all

    ## ScriptAlias: This controls which directories contain server scripts.# ScriptAliases are essentially the same as Aliases, except that# documents in the realname directory are treated as applications and# run by the server when requested rather than as documents sent to the client.# The same rules about trailing "/" apply to ScriptAlias directives as to# Alias.#ScriptAlias /cgi-bin/ /home/httpd/www.midominio.com/cgi-bin/

    ## "/usr/local/apache/cgi-bin" should be changed to whatever your ScriptAliased# CGI directory exists, if you have that configured.#

    AllowOverride NoneOptions NoneOrder allow,denyAllow from all

    #

    # FancyIndexing is whether you want fancy directory indexing or standard#

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    14/36

    IndexOptions FancyIndexing

    ## AddIcon* directives tell the server which icon to show for different# files or filename extensions. These are only displayed for# FancyIndexed directories.#AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

    AddIconByType (TXT,/icons/text.gif) text/*AddIconByType (IMG,/icons/image2.gif) image/*AddIconByType (SND,/icons/sound2.gif) audio/*AddIconByType (VID,/icons/movie.gif) video/*

    AddIcon /icons/binary.gif .bin .exeAddIcon /icons/binhex.gif .hqxAddIcon /icons/tar.gif .tarAddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .ivAddIcon /icons/compressed.gif .Z .z .tgz .gz .zipAddIcon /icons/a.gif .ps .ai .epsAddIcon /icons/layout.gif .html .shtml .htm .pdfAddIcon /icons/text.gif .txtAddIcon /icons/c.gif .cAddIcon /icons/p.gif .pl .pyAddIcon /icons/f.gif .forAddIcon /icons/dvi.gif .dviAddIcon /icons/uuencoded.gif .uuAddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tclAddIcon /icons/tex.gif .texAddIcon /icons/bomb.gif core

    AddIcon /icons/back.gif ..AddIcon /icons/hand.right.gif READMEAddIcon /icons/folder.gif ^^DIRECTORY^^AddIcon /icons/blank.gif ^^BLANKICON^^

    ## DefaultIcon is which icon to show for files which do not have an icon# explicitly set.#DefaultIcon /icons/unknown.gif

    ## AddDescription allows you to place a short description after a file in# server-generated indexes. These are only displayed for FancyIndexed

    # directories.# Format: AddDescription "description" filename##AddDescription "GZIP compressed document" .gz#AddDescription "tar archive" .tar#AddDescription "GZIP compressed tar archive" .tgz

    ## ReadmeName is the name of the README file the server will look for by# default, and append to directory listings.## HeaderName is the name of a file which should be prepended to# directory indexes.

    ## The server will first look for name.html and include it if found.

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    15/36

    # If name.html doesn't exist, the server will then look for name.txt# and include it as plaintext if found.#ReadmeName READMEHeaderName HEADER

    ## IndexIgnore is a set of filenames which directory indexing should ignore# and not include in the listing. Shell-style wildcarding is permitted.#IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

    ## AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress# information on the fly. Note: Not all browsers support this.# Despite the name similarity, the following Add* directives have nothing# to do with the FancyIndexing customization directives above.#AddEncoding x-compress ZAddEncoding x-gzip gz

    ## AddLanguage allows you to specify the language of a document. You can# then use content negotiation to give a browser a file in a language# it can understand. Note that the suffix does not have to be the same# as the language keyword --- those with documents in Polish (whose# net-standard language code is pl) may wish to use "AddLanguage pl .po"# to avoid the ambiguity with the common suffix for perl scripts.#AddLanguage en .enAddLanguage fr .frAddLanguage de .deAddLanguage da .daAddLanguage el .elAddLanguage it .it

    ## LanguagePriority allows you to give precedence to some languages# in case of a tie during content negotiation.# Just list the languages in decreasing order of preference.#LanguagePriority en fr de

    ## AddType allows you to tweak mime.types without actually editing it, or to

    # make certain files to be certain types.

    # For PHP 4.x, use:#AddType application/x-httpd-php .phpAddType application/x-httpd-php .php3AddType application/x-httpd-php .php4AddType application/x-httpd-php .phtmlAddType application/x-httpd-php-source .phps

    ## AddHandler allows you to map certain file extensions to "handlers",# actions unrelated to filetype. These can be either built into the server

    # or added with the Action command (see below)#

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    16/36

    # If you want to use server side includes, or CGI outside# ScriptAliased directories, uncomment the following lines.## To use CGI scripts:##AddHandler cgi-script .cgi

    ## To use server-parsed HTML files#AddType text/html .shtmlAddHandler server-parsed .shtmlAddHandler server-parsed .html

    ## Some MIME-types for downloading Certificates and CRLs#AddType application/x-x509-ca-cert .crtAddType application/x-pkcs7-crl .crl

    ## Uncomment the following line to enable Apache's send-asis HTTP file# feature##AddHandler send-as-is asis

    ## If you wish to use server-parsed imagemap files, use##AddHandler imap-file map

    ## To enable type maps, you might want to use##AddHandler type-map var

    ## Action lets you define media types that will execute a script whenever# a matching file is called. This eliminates the need for repeated URL# pathnames for oft-used CGI file processors.# Format: Action media/type /cgi-script/location# Format: Action handler-name /cgi-script/location#

    #

    # MetaDir: specifies the name of the directory in which Apache can find# meta information files. These files contain additional HTTP headers# to include when sending the document##MetaDir .web

    ## MetaSuffix: specifies the file name suffix for the file containing the# meta information.##MetaSuffix .meta

    #

    # Customizable error response (Apache style)# these come in three flavors

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    17/36

    ## 1) plain text#ErrorDocument 500 "The server made a boo boo.# n.b. the (") marks it as text, it does not get output## 2) local redirects#ErrorDocument 404 /missing.html# to redirect to local URL /missing.html#ErrorDocument 404 /cgi-bin/missing_handler.pl# N.B.: You can redirect to a script or a document using server-side-includes.## 3) external redirects#ErrorDocument 402 http://some.other_server.com/subscription_info.html# N.B.: Many of the environment variables associated with the original# request will *not* be available to such a script.

    ## The following directives modify normal HTTP response behavior.# The first directive disables keepalive for Netscape 2.x and browsers that# spoof it. There are known problems with these browser implementations.# The second directive is for Microsoft Internet Explorer 4.0b2# which has a broken HTTP/1.1 implementation and does not properly# support keepalive when it is used on 301 or 302 (redirect) responses.#BrowserMatch "Mozilla/2" nokeepaliveBrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

    ## The following directive disables HTTP/1.1 responses to browsers which# are in violation of the HTTP/1.0 spec by not being able to grok a# basic 1.1 response.#BrowserMatch "RealPlayer 4\.0" force-response-1.0BrowserMatch "Java/1\.0" force-response-1.0BrowserMatch "JDK/1\.0" force-response-1.0

    ## Allow server status reports, with the URL of http://servername/server-status# Change the ".your_domain.com" to match your domain to enable.#

    SetHandler server-statusOrder deny,allowDeny from all

    ## Allow remote server configuration reports, with the URL of# http://servername/server-info (requires that mod_info.c be loaded).# Change the ".your_domain.com" to match your domain to enable.#

    SetHandler server-infoOrder deny,allowDeny from all

    #

    # There have been reports of people trying to abuse an old bug from pre-1.1# days. This bug involved a CGI script distributed as a part of Apache.

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    18/36

    # By uncommenting these lines you can redirect these attacks to a logging# script on phf.apache.org. Or, you can record them yourself, using the script# support/phf_abuse_log.cgi.### Deny from all# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi#

    ### Parametros SSL genericosSSLVerifyClient 0SSLVerifyDepth 10SSLCertificateKeyFile /etc/httpd/new.cert.keySSLCertificateFile /etc/httpd/new.cert.cert

    ############################################################## Note: The following directives are only required if session# cacheing is enabled (the default from 1.17). To disable# cacheing, make sure the following is set in apache_ssl.c##define CACHE_SESSIONS FALSESSLCacheServerPath /usr/local/apache/bin/gcacheSSLCacheServerPort /tmp/ssl.fictional.co.cache.socketSSLSessionCacheTimeout 300# end conditional section

    ### Section 3: Virtual Hosts## VirtualHost: If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost containers for them.# Please see the documentation at # for further details before you try to setup virtual hosts.# You may use the command line option '-S' to verify your virtual host# configuration.

    ## If you want to use name-based virtual hosts you need to define at# least one IP address (and port number) for them.#NameVirtualHost 127.0.0.1:80NameVirtualHost 127.0.0.1:443

    Redirect / http://www.midominio.com/

    ServerAdmin [email protected] 80TransferLog /dev/null

    ########################################################################################################################################################################

    ServerAdmin [email protected] 80

    DocumentRoot /home/httpd/www.midominio.com/htmlServerName www.midominio.com

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    19/36

    ErrorLog logs/www.midominio.com/error.logCustomLog logs/www.midominio.com/access.log combinedScriptAlias /cgi-bin/ /home/httpd/www.midominio.com/cgi-bin/

    ####################################################################################

    ####################################################################################

    ### Section 4: Modulos ...## CheckSpelling#CheckSpelling On

    ######################################################################################### Ejemplo de configuracion para servidor Apache + PHP4 + SSL + Dominios Virtuales# Modificado por BankHacker, 2.001########################################################################################

    Enlaces relativos a Apache y el Servidor Seguro

    Castellano:

    Instalacin de un Servidor Seguro en Internet (Estas pginas ...)

    Apache-SSL (Muy Completo)

    Php en Castellano

    Filnet: Monta Servidores Seguros

    Sol10: Monta Servidores Seguros

    Seguridad Linux COMO: Criptografa en general

    Enlaces de PHP en Castellano

    Castellano: Manuales, Tutoriales y Cursos de PHP y MySQL:

    Tutorial PHP (BULMA)

    Introduccin PHP y MySQL

    Tutorial de PHP y MySQL: Excelente introduccin al mundo de la

    programacin de servidores Apache utilizando el lenguaje de script PHP y el

    gestor de bases de datos relacionales MySql. Por Jos Antonio Rodrguez

    Curso de PHP: Manual sobre el lenguaje PHP. Introduccin a PHP: de ciberteca.net

    Curso de PHP: Curso en la Universidad

    Primera entrega del curso de PHP: por Alvaro del Castillo San Flix

    Segunda entrega del curso de PHP: por Alvaro del Castillo San Flix

    Tercera entrega del curso de PHP: por Alvaro del Castillo San Flix

    Apuntes de PHP: en PDF, por cortesa de Banesto

    Manual de PHP: Curso de PHP/MySQL: Cmo instalar ambas aplicaciones y

    tiene numerosos ejemplos.

    Programacin en PHP: Principios bsicos para la programacin en PHP, el

    popular lenguaje del lado del servidor. Manual asequible para no programadores

    que sienta los fundamentos bsicos de este lenguaje. Continuacin lgica delmanual de pginas dinmicas.

    http://jips.kipelhouse.com/linux/apache/ssl/http://www.geocities.com/SiliconValley/Monitor/1043/informatica/Apache-SSL.htmlhttp://php.masterd.es/http://www.filnet.es/htm/sslserver.htmhttp://sol10.es/ServidoresVirtuales/alpha.shtmlhttp://gulic.org/cosecha/Teresa/Security-HOWTO/Security-HOWTO.htmlhttp://www.bulma.lug.net/body.phtml?nIdNoticia=215&nIdComentario=-1http://www.epsilon-eridani.com/PHPdoc/doc/index.htmhttp://www.programacion.net/cursos/php4/http://webestilo.com/php/http://www.ciberteca.net/webmaster/php/default.asphttp://www.mmlabx.ua.es/cursophp/http://www.openresources.com/es/magazine/tutoriales/php/e1/index.htmlhttp://www.openresources.com/es/magazine/tutoriales/php/entrega2/index.htmlhttp://www.openresources.com/es/magazine/tutoriales/php/e3/http://jips.bankhacker.com/linux/apache/ssl/Apuntes.pdfhttp://mixteco.utm.mx/~eliud/php1.htmlhttp://www.desarrolloweb.com/manuales/12/http://jips.kipelhouse.com/linux/apache/ssl/http://www.geocities.com/SiliconValley/Monitor/1043/informatica/Apache-SSL.htmlhttp://php.masterd.es/http://www.filnet.es/htm/sslserver.htmhttp://sol10.es/ServidoresVirtuales/alpha.shtmlhttp://gulic.org/cosecha/Teresa/Security-HOWTO/Security-HOWTO.htmlhttp://www.bulma.lug.net/body.phtml?nIdNoticia=215&nIdComentario=-1http://www.epsilon-eridani.com/PHPdoc/doc/index.htmhttp://www.programacion.net/cursos/php4/http://webestilo.com/php/http://www.ciberteca.net/webmaster/php/default.asphttp://www.mmlabx.ua.es/cursophp/http://www.openresources.com/es/magazine/tutoriales/php/e1/index.htmlhttp://www.openresources.com/es/magazine/tutoriales/php/entrega2/index.htmlhttp://www.openresources.com/es/magazine/tutoriales/php/e3/http://jips.bankhacker.com/linux/apache/ssl/Apuntes.pdfhttp://mixteco.utm.mx/~eliud/php1.htmlhttp://www.desarrolloweb.com/manuales/12/
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    20/36

    Curso de PHP.- Todos los que nos hemos enfrentado con el diseo de pginas

    Web hemos echado de menos un poco ms de dinamismo en ellas. Representar

    una pgina repleta de grficos y nada ms, deja de ser suficiente para ciertas

    aplicaciones en Internet. Estas aplicaciones requieren de cierta interactividad con

    el usuario, y han sido muchas las tecnologas aplicadas a este fin (formularios,

    CGI, etc.) ...

    Castellano: Proceso de Instalacin:

    Instalacin de Apache+PHP+MySQL+SSL bajo Linux

    Instalacin de Apache+PHP+PostgreSQL

    PHP+PostgreSQL

    Instalando GD + PHP4 en Windows

    Instalacin de PHP+Oracle bajo Linux

    Instalacin de PHP + MySql + Apache + phpMyAdmin bajo Linux Instalacin de Apache + PHP + MySql bajo Win32

    Instalacin de PHP sobre IIS

    Instalacin de Apache y PHP bajo WIN32

    Instalacion de un servidor Apache con Soporte PHP, XML y Mysql

    Castellano: Documentacin y otros recursos

    Traduccin manual oficial de PHP Bases de datos en Internet bajo GNU/Linux

    libPHP de Juan Salvador Prez y M Beln Servero

    La Web de PHP y MySQL

    Vulnerabilidad de PHP

    Lista de correo de PHP en espaol

    Recursos sobre PHP: por Javier Cantero

    Anlisis sobre PHP 4.0 y Zend: por Javier Cantero

    Foro de PHP

    Foro de PHP y MySQL

    Consultas gratis sobre Apache, PHP, MySQL, SSL, Linux, ...

    Preguntas y Respuestas Trabajas con Linux, PHP, Oracle, MySQL, ...? .- Coloca gratis aqu tu

    Curriculum

    Listado de Cursos de PHP

    Listado de recursos de PHP en Espaol

    Recursos PHP

    Web de PHP

    Hosting Gratis PHP MySQL

    .- buenas referencias de hosting gratis con PHP, MySQL, etc.

    Consulta Select (24-01-2001)

    Necesitaria algun consejillo sobre una consulta Sql

    http://geneura.ugr.es/~maribel/php/http://jips.bankhacker.com/linux/apache/ssl/index.htmlhttp://linux-es.uio.no/Articulos_tecnicos/articulo_tec_apa_php_postg.phphttp://www.euskalnet.net/iosus/linux/postgresPHP.txthttp://php.weblogs.com/GDhttp://jips.bankhacker.com/linux/apache/ssl/oracle.htmlhttp://bulma.lug.net/body.phtml?nIdNoticia=628http://www.infogenios.com/php-win32/http://webestilo.com/php/php08e.phtmlhttp://www.internautas.org/curso_servidores/php.phphttp://www.markitos.net/linuxdoc/apache-mysql-php.txthttp://www.php.net/manual/es/http://www.angelfire.com/al/acs/bd.htmlhttp://www.navegalia.com/personal/jspg/http://otri.us.es/php-mysql/http://hispahack.ccc.de/mi016.htmhttp://www.tile.net/lists/php3es.htmlhttp://personales.jet.es/jcantero/linux/PHP/recursos-PHP.htmlhttp://personales.jet.es/jcantero/linux/PHP/analisis-PHP4.htmlhttp://webestilo.com/php/foro.phtml?foro=3http://otri.us.es/php-mysql/http://www.todoexpertos.com/mitodoexpertos/verexperto.asp?experto=bankhackerhttp://www.todoexpertos.com/mitodoexpertos/verexperto.asp?experto=bankhackerhttp://webmaster.bankhacker.com/ayuda/consultorio-linux.phtmlhttp://empleo.kipelhouse.com/post-resume.phtmlhttp://members.es.tripod.de/gratis/01Manuales/BasesDatos/php.htmhttp://www.maestrosdelweb.com/referencia/tematicos/default.asp?catid=160&cattitle=PHPhttp://www.epsilon-eridani.net/presstoDoc/pressto.php3?acciondoc=porfecha%3ERecursos%20PHP%3C/a%3E:%20Algunos%20art%C3%ADculos%20y%20scripts%20de%20PHP%3Cbr%3E%3Cli%3E%3Ca%20href=http://www.programacion.com/phphttp://webmaster.bankhacker.com/hosting/http://geneura.ugr.es/~maribel/php/http://jips.bankhacker.com/linux/apache/ssl/index.htmlhttp://linux-es.uio.no/Articulos_tecnicos/articulo_tec_apa_php_postg.phphttp://www.euskalnet.net/iosus/linux/postgresPHP.txthttp://php.weblogs.com/GDhttp://jips.bankhacker.com/linux/apache/ssl/oracle.htmlhttp://bulma.lug.net/body.phtml?nIdNoticia=628http://www.infogenios.com/php-win32/http://webestilo.com/php/php08e.phtmlhttp://www.internautas.org/curso_servidores/php.phphttp://www.markitos.net/linuxdoc/apache-mysql-php.txthttp://www.php.net/manual/es/http://www.angelfire.com/al/acs/bd.htmlhttp://www.navegalia.com/personal/jspg/http://otri.us.es/php-mysql/http://hispahack.ccc.de/mi016.htmhttp://www.tile.net/lists/php3es.htmlhttp://personales.jet.es/jcantero/linux/PHP/recursos-PHP.htmlhttp://personales.jet.es/jcantero/linux/PHP/analisis-PHP4.htmlhttp://webestilo.com/php/foro.phtml?foro=3http://otri.us.es/php-mysql/http://www.todoexpertos.com/mitodoexpertos/verexperto.asp?experto=bankhackerhttp://webmaster.bankhacker.com/ayuda/consultorio-linux.phtmlhttp://empleo.kipelhouse.com/post-resume.phtmlhttp://members.es.tripod.de/gratis/01Manuales/BasesDatos/php.htmhttp://www.maestrosdelweb.com/referencia/tematicos/default.asp?catid=160&cattitle=PHPhttp://www.epsilon-eridani.net/presstoDoc/pressto.php3?acciondoc=porfecha%3ERecursos%20PHP%3C/a%3E:%20Algunos%20art%C3%ADculos%20y%20scripts%20de%20PHP%3Cbr%3E%3Cli%3E%3Ca%20href=http://www.programacion.com/phphttp://webmaster.bankhacker.com/hosting/
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    21/36

    que tengo que realizar. Trabajo con Mysql y tengouna tabla con la siguiente estructura.

    EXPRESIONCAMPO1CAMPO2

    y necesito hacer la siguiente consulta:

    SELECT CAMPO1 FROM TABLA WHERE CAMPO1='VALOR2' ORCAMPO1='VALOR1' OR CAMPO1='VALOR3'

    El problema viene es que necesito que aparezcan enese orden, es decir VALOR2 VALOR1 VALOR3, peroclaro me aparecen en el orden en que estan introducidosen la tabla, que en mi caso es VALOR1 VALOR2 VALOR3.

    Me han comentado que usara la clausula UNION, y queas saldrian en el orden correcto, el problema es

    que cuando la pongo me da un error, que supongoque se deber a que Mysql no acepta esta clausula.Tendrias alguna idea de como hacer esta consulta?.

    Un saludo y muchas gracias por tu tiempo.Jose.---------------------------

    Respuesta:

    Supongamos el siguiente ejemplo:

    VALOR2=2

    VALOR1=1VALOR3=3

    La solucin sera:

    MySQL 3.22.xxcreate table t_total (CAMPO1 mediumint(8)) type=heap;insert into t_total select CAMPO1 from TABLA where CAMPO1=2;insert into t_total select CAMPO1 from TABLA where CAMPO1=1;insert into t_total select CAMPO1 from TABLA where CAMPO1=3;select * from t_total;drop table t_total;

    MySQL 3.23.xxcreate temporary table t_total type=heap;insert into t_total select CAMPO1 from TABLA where CAMPO1=2;insert into t_total select CAMPO1 from TABLA where CAMPO1=1;insert into t_total select CAMPO1 from TABLA where CAMPO1=3;select * from t_total;drop table t_total;

    MySQL 3.24.xxSoporta el comando UNION directamente

    Enlaces:

    Manual SQL

    http://www.lobocom.es/~claudio/sql.htmlhttp://www.lobocom.es/~claudio/sql.html
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    22/36

    Manual MySQL en Ingls

    Manual PHP

    Manual PHP

    Instalacin de Oracle 8.0.5.0 en Linux RedHat 6.2 con soporte

    para PHP3 y PHP4 con Apache

    ------------------------------------------------------------------------------------------------------------------------------------------------ DOCUMENTO DE INSTALACIN DE ORACLE 8.0.5 POR JIPS-------------------------------------------------------------------------------------------------------------------------------------------------

    #####################DESINSTALANDO ORACLE:#####################

    rm -R /usr/local/oraclerm /lib/libclntsh.so.1.0rm /etc/rc.d/init.d/dborarm /etc/rc.d/rc0.d/K10dborarm /etc/rc.d/rc2.d/S99dborarm /etc/rc.d/rc3.d/S99dborarm /etc/rc.d/rc5.d/S99dborarm /etc/rc.d/rc6.d/K10dbora

    ##################INSTALANDO ORACLE:##################

    Instalo patches para compatibilidad con glibc:rpm -ivh /home/install/redhat62/RedHat/RPMS/compat-

    binutils-5.2-2.9.1.0.23.1.i386.rpmrpm -ivh /home/install/redhat62/RedHat/RPMS/compat-

    glibc-5.2-2.0.7.2.i386.rpmrpm -ivh /home/install/redhat62/RedHat/RPMS/compat-

    egcs-5.2-1.0.3a.1.i386.rpm

    rpm -ivh /home/install/redhat62/RedHat/RPMS/compat-egcs-c++-5.2-1.0.3a.1.i386.rpm

    rpm -ivh /home/install/redhat62/RedHat/RPMS/compat-libs-5.2-2.i386.rpm

    Instalo tcl, necesario para instalar oracle:rpm

    -ivh /home/install/redhat62/RedHat/RPMS/tcl-8.0.5-35.i386.rpm

    Creo usuario y grupo oracle:groupadd -g 601 dbauseradd oracle -g 601passwd oracle

    Descargo ficheros de instalacin

    http://www.mysql.com/documentation/index.htmlhttp://snaps.php.net/manual/es/html/http://otri.us.es/recursosPHP/manual/index.htmhttp://www.mysql.com/documentation/index.htmlhttp://snaps.php.net/manual/es/html/http://otri.us.es/recursosPHP/manual/index.htm
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    23/36

    Oracle8051EE_Intel.tgzglibcpatch.tgzlinux_80510patchset.tgz

    deftp://ftp.oracle.com/pub/www/otn/linux/

    en

    /home/install/oracle-8.0.5/

    Descomprimo ambos ficheros con tar -zxvf ... en /usr/local/oraclemkdir /usr/local/oraclecd /usr/local/oracletar -zxvf /home/install/oracle-8.0.5/Oracle8051EE_Intel.tgz

    mkdir /usr/local/oracle/glibcpatchcd /usr/local/oracle/glibcpatchtar -zxvf /home/install/oracle-8.0.5/glibcpatch.tgz

    chown -R oracle.dba /usr/local/oracle

    Creo .profile del usuario oracle y root:ORACLE_BASE=/usr/local/oracleORACLE_HOME=/usr/local/oracle/product/8.0.5ORACLE_SID=linux (reemplace linux con el ID de su sistema)ORACLE_TERM=386PATH=$PATH:/usr/local/oracle/product/8.0.5/binTMPDIR=/var/tmpexport ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERMexport PATH TMPDIRumask 022 #(only if the umask is not already #set to 022)

    Re-entro en la sesin con el usuario root

    Inicio pre-instalacion con el usuario root:cd /usr/local/oracle/orainstORACLE_OWNER=oracleexport ORACLE_OWNERsh oratab.sh

    (ojo! pulsar Y, no ENTER)

    Inicio instalacion con el usuario root:mkdir /usr/local/oracle/product/mkdir /usr/local/oracle/product/8.0.5/mkdir /usr/local/oracle/product/8.0.5/doc/mkdir /usr/local/oracle/product/8.0.5/doc/server.805/mkdir /usr/local/oracle/product/8.0.5/doc/server.

    805/install/chown oracle.dba /usr/local/oracle/ -R

    Como usuario oracle:cd /usr/local/oracle/orainst./orainst /c

    custom installEnter 2 vecesInstall, Upgrade or De-install SoftwareInstall New Product--Do Not Create DB ObjectsORACLE_BASE y ORACLE_HOMElog filesInstall from Staging Area

    American/Englishroot.sh ...

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    24/36

    Escoja todo el softwareignoramos error ULIMITgrupo dbaOSOPER grupo dbaJDK por defectoDoc por defectoDoc Both

    Como usuario root creo un enlaces y directorios necesarios para queelparche se aplique sin problemas:

    ln -s /usr/local/oracle/product/8.0.5/lib/libclntsh.so.1.0 /lib/libclntsh.so.1.0

    mkdir /usr/local/oracle/product/8.0.5/precomp/demo/proc/chown

    oracle.dba /usr/local/oracle/product/8.0.5/precomp/demo/proc/mkdir /usr/local/oracle/product/8.0.5/bin/proc/chown oracle.dba /usr/local/oracle/product/8.0.5/bin/proc/

    Como usuario oracle aplico el parchecd /usr/local/oracle/glibcpatch./glibcpatch.shDa los siguientes errores que ignoramos:

    mv: /usr/local/oracle/product/8.0.5/precomp/demo/proc/demo_proc.mk: No such file or directory

    mv: /usr/local/oracle/product/8.0.5/rdbms/lib/libclntsh.so.1.0: No such file or directorymv: /usr/local/oracle/product/8.0.5/bin/proc: No

    suchfile or directoryi386-glibc20-linux-

    gcc: /usr/local/oracle/product/8.0.5/precomp/lib/main.o: No such file or directoryi386-glibc20-linux-

    gcc: /usr/local/oracle/product/8.0.5/precomp/lib/sspced.o: No such file or directoryi386-glibc20-linux-

    gcc: /usr/local/oracle/product/8.0.5/precomp/lib/spcpt.o: No such file or directoryi386-glibc20-linux-

    gcc: /usr/local/oracle/product/8.0.5/precomp/lib/pcprnt.o: No such file or directoryi386-glibc20-linux-

    gcc: /usr/local/oracle/product/8.0.5/precomp/lib/libproc2.a: No such file or directorygmake: *** [proc] Error 1mv: proc: No such file or directorychmod: /usr/local/oracle/product/8.0.5/bin/proc: No

    suchfile or directorymv: /usr/local/oracle/product/8.0.5/bin/addlcmp: No

    suchfile or directorygmake: [iaddlcmp] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/cursize: No

    such

    file or directorygmake: [icursize] Error 1 (ignored)

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    25/36

    mv: /usr/local/oracle/product/8.0.5/bin/dbfsize: Nosuch

    file or directorygmake: [idbfsize] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/dbv: No

    such fileor directorygmake: [idbv] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/exp: No

    such fileor directorygmake: [iexp] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/extproc: No

    suchfile or directorygmake: [iextproc] Error 1 (ignored)/usr/local/oracle/product/8.0.5/rdbms/lib/genkflat.

    o: Infunction main':/usr/local/oracle/product/8.0.5/rdbms/lib/genkflat.

    o(.text+0x2d7): the `gets' function is dangerous and

    should not be used.mv: /usr/local/oracle/product/8.0.5/bin/genkflat:

    No suchfile or directorygmake: [igenkflat] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/genoci: No

    suchfile or directorygmake: [igenoci] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/hsalloci:

    No suchfile or directorygmake: [ihsalloci] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/hsdepxa: No

    suchfile or directorygmake: [ihsdepxa] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/hsots: No

    suchfile or directorygmake: [ihsots] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/imp: No

    such

    file or directorygmake: [iimp] Error 1 (ignored)mv: /usr/local/oracle/product/8.0.5/bin/maxmem: No

    suchfile or directorygmake: [imaxmem] Error 1 (ignored)/usr/local/oracle/product/8.0.5/lib//libcore4.a(lcd

    .o):In function `lcdprm':lcd.o(.text+0xacb): the `gets' function is

    dangerous andshould not be used.mv: /usr/local/oracle/product/8.0.5/bin/mig: No

    such fileor directory

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    26/36

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    27/36

    (.text+0x24e): the `gets' function is dangerous andshould not be used./usr/local/oracle/product/8.0.5/lib//libplsf.a(spss

    imb.o): In function `pss_gets':spssimb.o(.text+0x4ef): the `gets' function is

    dangerousand should not be used.

    Creo una base de datos. Como root:mkdir /usr/local/oracle/dbchmod 777 /usr/local/oracle/dbchown oracle.dba /usr/local/oracle/db -R

    Como usuario oracle:cd /usr/local/oracle/orainst./orainst /c

    Custom InstallEnter 2 veces

    Create/Upgrade Database objectsCreate Database ObjectsORACLE_HOME y ORACLE_BASE.ORACLE_SID, pulso YesOracle8 Enterprise (RDBMS)INSTALLCreate Product DB ObjectsFilesystem-based DatabaseNomount point = /usr/local/oracle/dbUS7ASCIIUS7ASCIISYSTEM password

    confirmo SYSTEM passwordSYS passwordconfirmo SYS passwordNoTNS passwordconfirmo TNS passwordNocontrol files ... OkAceptamos valores por defecto de tamaos ... ENTER

    4 veces

    Post-instalacin como usuario root:cd /usr/local/oracle/product/8.0.5/orainst

    ./root.shY/usr/local/binY

    Conecto con el usuario oracle:svrmgrl

    connect internalshutdownexit

    Como root establezco permisos para Net8:chown

    oracle.dba /usr/local/oracle/product/8.0.5/bin/tnslsnrchmod 750 /usr/local/oracle/product/8.0.5/bin/tnslsnr

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    28/36

    chownoracle.dba /usr/local/oracle/product/8.0.5/network/log

    chmod 775 /usr/local/oracle/product/8.0.5/network/log

    touch /usr/local/oracle/product/8.0.5/network/log/listener.logchown

    root.dba /usr/local/oracle/product/8.0.5/network/log/listener.logchmod

    664 /usr/local/oracle/product/8.0.5/network/log/listener.log

    Con el usuario oracle Probando el arranque:svrmgrl

    connect internalstartupexit

    Conecto con SQL*Plus:sqlplus

    user = system

    password = el password del systemselect count(*) from dba_objects;exit

    Preparo el arranque del TNS:sustituyo en:

    /usr/local/oracle/product/8.0.5/network/admin/tnsnames.ora

    y en:/usr/local/oracle/product/8.0.5/network/admin/liste

    ner.ora por el nombre del servidor linux

    Arranco el TNS:lsnrctl start

    Conecto a travs de la red con SQL*Plus:sqlplus system@linux (reemplace linux con el ID de su

    sistema)select count(*) from dba_objects;exit

    ############################INSTALANDOLO EN EL ARRANQUE:############################

    Para que arranque el demonio Oracle al arrancar Linux:vi /etc/rc.d/init.d/dbora#!/bin/sh. /etc/rc.d/init.d/functionsORA_HOME=/usr/local/oracle/product/8.0.5ORA_OWNER=oraclecase "$1" in

    'start')echo "Starting Oracle instances"su - $ORA_OWNER -c $ORA_HOME/bin/dbstart

    > /var/log/dbstart.log 2>&1 &echo ""echo -n "Starting the listener"

    su - $ORA_OWNER -c$ORA_HOME/bin/lsnrstart >> /var/log/dbstart.log 2>&1 &

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    29/36

    touch /var/lock/subsys/dbora;;

    'stop')echo "Stopping the listener"su - $ORA_OWNER -c

    $ORA_HOME/bin/lsnrstop > /var/log/dbshut.log 2>&1

    echo ""echo -n "Stopping Oracle instances"su - $ORA_OWNER -c $ORA_HOME/bin/dbshut

    >> /var/log/dbshut.log 2>&1rm -f /var/lock/subsys/dbora;;

    esacchmod 755 /etc/rc.d/init.d/dbora

    vi /usr/local/oracle/product/8.0.5/bin/lsnrstop#!/bin/shORACLE_HOME=/usr/local/oracle/product/8.0.5export ORACLE_HOME

    $ORACLE_HOME/bin/lsnrctl stopchmod 755 /usr/local/oracle/product/8.0.5/bin/lsnrstop

    vi /usr/local/oracle/product/8.0.5/bin/lsnrstart#!/bin/shORACLE_HOME=/usr/local/oracle/product/8.0.5export ORACLE_HOME$ORACLE_HOME/bin/lsnrctl start

    chmod 755 /usr/local/oracle/product/8.0.5/bin/lsnrstart

    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dboraln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc2.d/S99dboraln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/S99dbora

    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/S99dboraln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc6.d/K10dbora

    * NOTA: Aunque arranca un demonio, no se ejecutarn lasconsultas SQL hasta que no se entre con el usuario oracley se arranque todo el sistema:

    svrmgrlconnect internalstartupexit

    #########################ENLAZANDO ORACLE CON PHP:

    #########################

    Compilo PHP 3 4 con soporte para Oracle:cd /usr/src/php./configure --with-mysql=/usr/local/mysql \--with-oracle=/usr/local/oracle \--with-apache=/usr/src/apache \--enable-track-vars

    (no es necesario poner --with-mysql=/usr/local/mysqlsi no se quiere soporte para MySQL)

    makemake install

    Compilo apache:cd /usr/src/apache

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    30/36

    ./configure --prefix=/usr/local/apache/ \--activate-module=src/modules/php3/libphp3.a \--activate-module=src/modules/standard/mod_speling.o \--activate-module=src/modules/standard/mod_info.o

    (para PHP3)./configure --prefix=/usr/local/apache/ \

    --activate-module=src/modules/php4/libphp4.a \--activate-module=src/modules/standard/mod_speling.o \--activate-module=src/modules/standard/mod_info.o

    (para PHP4)(no son necesarios los modulos mod_info.oni mod_speling.o)

    make

    Instalo nuevo apache:/etc/rc.d/init.d/httpd stop

    cp /usr/local/apache/bin/httpsd /usr/local/apache/bin/httpsd.old

    cp /usr/src/apache/src/httpsd /usr/local/apache/bin/httpsdcp /usr/src/php/php.ini-dist /usr/local/lib/php.ini/etc/rc.d/init.d/httpd start

    Pruebo un script php que efectua una consulta a Oracle:vi /home/httpd/html/prueba_oracle/index.php3

    lynx http://www.midominio.com/prueba_oracle/index.php3

    #############################RESULTADOS DE LA INSTALACIN:#############################

    1.150 Mb /usr/local/oracle185 Mb /home/install/oracle-8.0.5

    ###############################ACTUALIZACIN A ORACLE 8.0.5.1:###############################

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    31/36

    Si se desea, se puede instalar la actualizacin a Oracle 8.0.5.1for Linux:

    cd /usr/local/oracle/product/8.0.5/tar

    -zxvf /home/install/oracle-8.0.5/linux_80510patchset.tgz

    --------------------------------------------------------------------Documento en Castellano para RedHat 6.2 por JIPS:

    http://jips.kipelhouse.com/linux/apache/ssl/oracle.html

    Documento original en Ingls para RedHat 6.0:http://www2.linuxjournal.com/lj-issues/issue67/3572.htmlftp://ftp.ssc.com/pub/lj/listings/issue67/3572.tgz

    --------------------------------------------------------------------

    Dudas y Consultas

    2001-01-31: PreguntaDonde puedo conseguir la suite de oracle para internet completaque no sea licenciada para hacer unas pruebas???-------------

    2001-01-31: RespuestaSi te refieres al servidor SQL de Oracle para Linux, te puedoindicar dnde y como instalar la version 8.0.5.0. Tienes quebajarte de Internet un fichero llamado Oracle8051EE_Intel.tgz.En http://jips.kipelhouse.com/linux/apache/ssl/oracle.htmltienes unas completas instrucciones en castellano que te puedenser de utilidad.

    Si te he servido de ayuda, te agradecer una valoracin justaa mi respuesta. Gracias

    Hola Miguel,

    En el

    fichero /usr/local/oracle/product/8.0.5/network/admin/tnsnames.ora,en la linea que pone (ADDRESS = (PROTOCOL= TCP)(Host= linux)(Port= 1521))tienes que poner en vez de linux el nombre de tu mquina. Mira en/etc/HOSTNAME cual es ese nombre. Si an as no funcionara,prueba a declarartu mquina en el fichero de DNS local: /etc/hosts y lo vuelves aprobar.

    Atentamente,

    ========================

    Juan Ignacio Perez [email protected]

    http://www.commission-junction.com/track/track.dll?AID=811155&PID=693393&URL=http%3A%2F%2Fwww%2Elatpro%2Ecom%2FUSER%2FJOBS%2Fjoblists%2Ephp%3FLang%3DSPAN
  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    32/36

    Linux, Perl, PHP, MySQL ... solutions.http://www.bankhacker.com/Zaragoza, Spain========================----- Original Message -----From: [email protected];

    Sent: Tuesday, September 12, 2000 10:14 AMSubject: RE: Enhorabuena y una pregunta sobre la instalacion deoracle

    > Hola Juan Ignacio:>> Gracias por tu ayuda... veras, cuando ejecuto>> lsnrctl start>> me dice>

    >> TNSLSNR for Linux: Version 8.0.5.0.0 - Production on 11-SEP-0017:39:25>> (c) Copyright 1997 Oracle Corporation. All rights reserved.>> System parameter file is> /usr/local/oracle/product/8.0.5/network/admin/listener.> ora> Log messages written to> /usr/local/oracle/product/8.0.5/network/log/listener.log>> Attempted to listen on:

    > (DESCRIPTION=(CONNECT_TIMEOUT=10)(ADDRESS=(PROTOCOL=IPC)> (KEY=)))> TNS-12532: TNS:invalid argument> TNS-12560: TNS:protocol adapter error> TNS-00502: Invalid>> Da igual que el defina el host dentro de listener.ora y detnsnames.ora con> el nombre o con el ip. En la maquina DNS no tengo definido elnombre de la> mquina, no... la maquina DNS la tengo aqui al lado... con losdiferentes> servicios de internet... si debo dar de alta en los DNS,

    cuentame que debo> habilitar :)>> Un abrazo, y gracias>>> Miguel Rojo

    Hola Miguel,

    La lnea:

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    33/36

    #(ADDRESS= (PROTOCOL= IPC)(KEY= ))

    es la que trae Oracle por defecto y debe ser sustituida por:

    (ADDRESS= (PROTOCOL= TCP)(Host= linux)(Port= 1521))

    La otra lnea:

    #(ADDRESS= (PROTOCOL= IPC)(KEY=PNPKEY))

    no s para qu sirve. Si no la quitas, te sigue funcionando?

    Atentamente,

    ========================Juan Ignacio Perez [email protected], Perl, PHP, MySQL ... solutions.http://www.bankhacker.com/

    Zaragoza, Spain========================

    ----- Original Message -----From: "Telefono Azul"To: "Juan Ignacio Prez Sacristn"Sent: Wednesday, September 13, 2000 10:20 AMSubject: RE: Enhorabuena y una pregunta sobre la instalacion deoracle

    > Hola Juan Ignacio..

    >> Ya he solucionado el problema!!! ... o eso creo :)>> Despues de comprobar el nombre de host y verificar que teniadeclarada la> mquina en el DNS local, seguia sin conseguir lanzarcorrectamente el> lsnrctl...>> Despues de ver el error que me daba y comprobar el ficherolistener.ora lo> que he realizado es anular las lineas>

    > #(ADDRESS= (PROTOCOL= IPC)(KEY= ))> #(ADDRESS= (PROTOCOL= IPC)(KEY=PNPKEY))>> y dejar unicamente la linea>> (ADDRESS= (PROTOCOL= TCP)(Host= linux)(Port= 1521))>> No se si el anular estas lineas puede traerme algun problema...pero de> momento funciona. Podria tener efectos secundarios?>> Gracias por todo, y hasta siempre....>

    >> Miguel Rojo

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    34/36

    Hola, Roberto,

    Verifica los siguientes puntos:1.- Has compilado php con la opcin --with-oracle=...

    en ./configure?2.- Aunque arranca un demonio, no se ejecutarn las consultas

    SQL hastaque no se entre con el usuario oracle y se arranque todo

    el sistema:svrmgrl

    connect internalstartupexit

    Qu error te da la pgina?Has activado el log de php? Qu error indica?

    Atentamente,

    `,,`,,`Juan Ignacio Perez [email protected], Perl, PHP, MySQL ... solutions.http://www.bankhacker.com/Zaragoza, Spain`,,`,,`

    ----- Original Message -----From: "Roberto Ulises Prez Quijano"To:Sent: Thursday, December 21, 2000 10:30 PMSubject: Consulta tcnica

    > Juan Ignacio,>> Me tome el atrevimiento de consultarle algo, estoy instalandooracle 8.1.6> con php 4.0.3 y apache 1.3.14, quiero hacer la conexion de phpcon oracle,> sinembargo no me puedo conectar, me esta interpretando mispaginas de php> desde apache, pero cuando intento la conexion con el comando> $cone=ora_logon("system@nomb_servidor","password_del_sistema");no puedo,

    > active en el php.ini los dos dll para oracle.>> Ojala que me puedas apoyar> Gracias> Atentamente> Roberto Ulises Perez Quijano

    Necesito tu orientacin (20/01/01)

    Estoy introducionme en mundo de Oracle.

    Me gustaria que me pudieras ayudar dandome direcciones de

    internet donde encontrar informacion sobre Oracle8.

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    35/36

    Desde ya muchas gracias.

    LUIS RODAS C.

    URLs Oracle8 (20/01/01)

    Has visitado mi pgina de Instalacin de Oracle 8.0.5.0 en LinuxRedHat 6.2 con soporte para PHP3 y PHP4 con Apache?http://jips.kipelhouse.com/linux/apache/ssl/oracle.html

    -----------Te paso unas cuantas direcciones:

    Linux gana otro adepto ms: OracleHP. diario del navegante ... Linux gana otro adepto ms: Oracle.Van a desarrollar una versin de su gestor de bases de datos para

    Linux. OLALLA CERNUDA. ...www.el-mundo.es/navegante/diario/98/septiembre/09/linuxoracle.html

    "SLUG": Re: Oracle8 4 LinuxSpanish Linux Users Group Re: Oracle8 4 Linux. AlfonsoPastor (japs@redestb ...slug.ctv.es/~luis/l-linux/l-linux-1998-09/0008.html

    "SLUG": Oracle8 Server for Linux... Oracle8 Server for Linux. ... Salu2: Hoy me ha llegado el

    Oracle8 Server paraLinux y me he puesto a insalarlo inmediatamente siguiendo elguin: ...slug.ctv.es/~luis/l-linux/l-linux-1998-09/0904.html

    Enlaces a recursos de bases de datos para Linux... interfaz para System 10, para Linux Oracle esta poderosaempresaha migrado ya Oracle8a Linux ycmo usar SCO Oracle en Linux Polyhedra relacional,orientada ...www.artenet-cb.es/mundolinux/enlaces/sgbd.html

    [SoBre] Oracle e Informix pasan a GNU/Linux... of products. Oracle today said it will be porting Oracle8,its database, to the Linux open environment, to be initiallyavailable on Intel server platforms. ...www.ati.es/ATInet/tablones/SoBre/msg00094.html

    Por qu cambiar a LiNUX?: Programas para LiNUX... clculo. En cuanto a los SGBD, hay tambin versin de Ingrespara LiNUX, ascomo de Oracle8 (con ayuda), y todo ello sin olvidarnos de MySQL

    ni del motor ...ttt.inf.upv.es/~jochagar/canvi-4.html

  • 8/6/2019 Apache Mysql Php4 Modo Seguro

    36/36

    LINUX... InterSystems Corporation. D3 Linux Database Server. PickSystems.D3ProPlus Database ... OpenLink

    Software, Inc. Oracle8. Oracle. Pervasive.SQL 2000 Server.Pervasive ...www1.ceit.es/sitr/Trabajos/Grupo9/Trabajo11/Trabajo_11_9.htm

    LINUX... Oracle es otra compaa que apuesta por Linux al transportara Linus su sistema de gestin de base de datos Oracle8. ...www1.ceit.es/sitr/Trabajos/Grupo8/Trabajo11/Empresa.html

    ETSIMO... 98 -- 6/7/98; Tour '98 -- 11/7/98; Ya es posible suscribirse

    a los sumarios delBOE -- 25/8/98; Vuelta a Espaa 98 -- 4/9/98; Oracle8 para Linux-- 9/9/98. ...www.etsimo.uniovi.es/nov9598.html

    Introduccina LiNUX... velocidad con la que se expande LiNUX han decidido portar susoftware y apoyar estesistema operativo. Tal es el caso de Oracle (Oracle8 Server), IBM(DB/2) y ...moon.act.uji.es/~failure/introduccion.html

    Lista de linux UPV: [PoLinux] un favor...... para LiNUX, as como de Oracle8.Tampoco andamos faltos de hojas de clculo en LiNUX. En modo ...bbs.eui.upv.es/~jarias/linux/listas/linux/852.html

    D70. Mdul 1. Caracterstiques del Red Hat... manual pot apuntar al'exemple del SO" Red Hat LinuxEnterprise Edition"optimitzada per a "Oracle8.i"); Red Hat proporciona tamb unvariat suporttcnic ... www.xtec.es/~jbort/D70/d70m1/redhat.htm

    ----------

    Suerte!

    Algunas URLs:

    Instalacin de Oracle 8.0.5 para Linux

    Oracle for Linux Installation HOWTO: The installer

    Step-by-step Install notes for Oracle 8.0.5

    Pgina en Castellano dedicada a Oracle y GNU/Linu

    http://lucas.hispalinux.es/COMO-INSFLUG/COMOs/Instalacion-Oracle-Mini-Como/Instalacion-Oracle-Mini-Como.htmlhttp://www.cesga.es/LDP/HOWTO/Oracle-8-HOWTO-3.htmlhttp://jordan.fortwayne.com/oracle/rh62-805.htmlhttp://personales.com/espana/oviedo/Oracle/http://lucas.hispalinux.es/COMO-INSFLUG/COMOs/Instalacion-Oracle-Mini-Como/Instalacion-Oracle-Mini-Como.htmlhttp://www.cesga.es/LDP/HOWTO/Oracle-8-HOWTO-3.htmlhttp://jordan.fortwayne.com/oracle/rh62-805.htmlhttp://personales.com/espana/oviedo/Oracle/