Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Conf Basica Iplanet
Conf Basica Iplanet
com
Saber hacer, Hacer saber.
Server 4.1 Enterprise Edition
Autor:
David Galn Ortiz
e-mail:galan@nexo.es
Pagina 1 de 42
1.Introduccin
Iplanet Web Server es un producto resultado de la alianza
entre Netscape y Sun Microsystems, su antecesor el conocido
NES (Netscape Enterprise Server) finaliz su andadura en la
versin 3.6. La mayora de los servidores web de grandes
compaas estn basados en este servdor.
1.1
Objetivo
Netscape
Communicator
4.61
Java, JavaScript, y cookies
Communicator 4.61
(para
la
habilitadas
administracin)
en el Netscape
Nombre de la mquina.
Usuario y grupo con el que se ejecutar el servidor
webs.
Puertos TCP a utilizar.
PATH, donde vamos a instalar el Iplanet Web Server.
Pagina 3 de 42
y los
Nombre e IP de la mquina.
Usuario y grupo.
Pagina 4 de 42
b /directoriohome g grupo
Mas informacin
groupadd.
sobre
useradd
teclear
en
el
terminal:
Puertos TCP.
Atencin:
Asegrate que en la mquina no estn siendo utilizados los
puertos TCP que piensas usar para tu web.
Comprueba los puertos usados con el comando UNIX:
Pagina 5 de 42
man
netstat a
Nota: Si tienes el AnswerBook instalado de Solaris suele
utilizar por defecto el puerto 8888, compruebalo antes de
asignar este puerto para iWS. Tambin puedes usar otro puerto
para la administracin del servidor web. Ejemplo 9999
Path de instalacin.
Pagina 6 de 42
3.1
Inicio de la instalacin:
Pagina 7 de 42
./setup
Telnet a turandot
Sun Netscape Alliance
iPlanet Web Server Installation/Uninstallation
------------------------------------------------------------------------------
Pagina 8 de 42
Telnet a turandot
Sun Netscape Alliance
iPlanet Web Server Installation/Uninstallation
---------------------------------------------------------------------Choose an installation type:
1. Express installation
Allows you to quickly install the servers using the most
common options and pre-defined defaults. Useful for quick
evaluation of the products.
2. Typical installation
Allows you to specify common defaults and options.
3. Custom installation
Allows you to specify more advanced options. This is
recommended for experienced server administrators only.
To accept the default shown in brackets, press the Enter key.
Choose an installation type [2]:
C
Pagina 9 de 42
elnet a turandot
Sun Netscape Alliance
iPlanet Web Server Installation/Uninstallation
-----------------------------------------------------------------------------This program will extract the server files and install them
into a directory you specify. That directory is called the
server root in the product documentation and will contain
the server programs, the Administration Server, and the server
configuration files.
To accept the default shown in brackets, press the Enter key.
Install location [/usr/netscape/server4]: /servidor/iws4
D
Telnet a turandot
Sun Netscape Alliance
iPlanet Web Server Installation/Uninstallation
-----------------------------------------------------------------------------iPlanet Web Server, Enterprise Edition components:
Components with a number in () contain additional subcomponents
which you can select using subsequent screens.
1.
2.
3.
4.
5.
6.
Server Core
Java Runtime Environment
Java Support
SSJS Support
SSJS Database Support
SNMP Support
Pagina 11 de 42
Telnet a turandot
Sun Netscape Alliance
iPlanet Web Server Installation/Uninstallation
------------------------------------------------------------------------------
Pagina 12 de 42
I)
Telnet a turandot
Sun-Netscape Alliance
Core Server Installation/Uninstallation
------------------------------------------------------------------------------
Pagina 13 de 42
Pick a port number between 1024 and 65535 on which to run your Web
Server.
You should NOT use a port number on which you plan to run other
servers.
Pagina 14 de 42
Pagina 15 de 42
Telnet a turandot
Sun-Netscape Alliance
Core Server Installation/Uninstallation
-----------------------------------------------------------------------------Java support in the Web Server requires either a Java Runtime
Environment (JRE) or a Java Development Kit (JDK) of version 1.2 or
greater.
While a default JRE is provided, you may use any JDK with the Web
Server.
Pagina 16 de 42
Pagina 17 de 42
other
other
staff
other
other
other
512
512
512
512
512
512
other
other
other
other
other
other
512
512
512
512
119
other
Feb
Nov
Feb
Nov
Feb
Feb
Nov
Nov
Feb
Feb
Feb
19
30
19
30
19
19
estructura
30
30
19
19
19
10:30
14:12
10:30
13:13
10:30
10:30
13:18
14:03
10:30
10:30
10:30
alias
bin
docs
extras
httpacl
https-
manual
ns-icons
plugins
setup
other
conf_bk
search
config
start
logs
stop
Pagina 19 de 42
Pagina 20 de 42
un
web (instancia)
Pagina 21 de 42
Pagina 24 de 42
Directory:
Prefix /mc-icons
Directory
/servidor/iws4/ns-icons
Style es-internal
Primary Document Directory:
Directory
/servidor/iws4/docs
Restrict access: on
Index filenames:
File names
index.html,home.html
Default MIME type: pref
Directory indexing: fancy
Error response:
Error Unauthorized
Type file
Path
/mnt/win_2/unix/nes/error.h
tm
Error response:
Error Forbidden
Type file
Path
/mnt/win_2/unix/nes/error.h
tm
Error response:
Error Not Found
Type file
Path
/mnt/win_2/unix/nes/error.h
tm
Error response:
Error Server Error
Type file
Path
/mnt/win_2/unix/nes/error.h
tm
Access log:
Path
/servidor/iws4/httpsturandot/logs/access
For the style servlet:
Default MIME type: pref
NSAPI: Service:
NSServletService,
Pagina 27 de 42
args: Directive="Service"
For the style jsp092:
NSAPI: Service:
NSServletService,
args: type="magnusinternal/jsp092"
Directive="Service"
For the style ServletByExt:
Default MIME type: pref
NSAPI: Service:
NSServletService,
args: type="magnusinternal/servlet"
Directive="Service"
For the style es-internal:
Restrict access: on
Estos datos se encuentran en los ficheros: obj.conf y
magnus.conf, en caso de ser imposible acceder va web a la
administracin podemos modificar los valores utilizando el
editor vi.
Muchos de los cambios que se realizan manualmente no surgen
efecto si no realizamos un restart de la instancia con el
comando restart (ver punto 4.1). Cuando usamos la
administracin web esto lo hace automticamente el servidor.
Pagina 28 de 42
http://www.miweb.com/documentos/sistemasop/linux/soft/tutorial
.htm
Creando un path virtual puedes hacer que sea as:
http://www.miweb.com/linux/tutorial.htm
Para que esto sea cierto tenemos que decirle al iWS que el
directorio http://www.miweb.com/documentos/linux apunte a la
ruta
/documentos/sistemasop/linux/soft/tutorial.htm
Cada vez que entres en http://www.miweb.com/documentos/linux
realmente accede a
/documentos/sistemasop/linux/soft/tutorial.htm esto es
totalmente transparente para el usuario.
Es muy til para directorios de solo imgenes, avis, wav etc..
Pagina 30 de 42
Pagina 31 de 42
Pagina 32 de 42
Pagina 33 de 42
Encontramos:
Pagina 35 de 42
Pagina 36 de 42
Pagina 37 de 42
Pagina 39 de 42
Aparece:
Pagina 41 de 42
Pagina 42 de 42