Escolar Documentos
Profissional Documentos
Cultura Documentos
com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Autor:
David Galán Ortiz
e-mail:galan@nexo.es
Pagina 1 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
1.Introducción
1.1 Objetivo
Sun Ultra 10
Micro: Sparc IV 440 MHZ
RAM: 256 MB
Espacio en disco: 20G
Swap: 512 MB
2. Planificación de la instalación:
• Nombre de la máquina.
• Usuario y grupo con el que se ejecutará el servidor y los
webs.
• Puertos TCP a utilizar.
• PATH, donde vamos a instalar el Iplanet Web Server.
•
Pagina 3 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
• Nombre e IP de la máquina.
uname –a
ifconfig –a
man nombredelcomando
• Usuario y grupo.
Pagina 4 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
groupadd web
Creación de usuario:
• Puertos TCP.
Atención:
Pagina 5 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
netstat –a
• Path de instalación.
Pagina 6 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
x:\solaris\entprise\entprise.tar
x:\linux\entprise\entprise.tar
Gunzip nombredelarchivo.tar.gz
nombrearchivo.tar
Pagina 7 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
./setup
Telnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
---------
Telnet a turandot
Would you like to continue with installation? [Yes]:
Pagina 8 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
1. Express installation
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.
Pagina 9 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
elnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
---------
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.
Telnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
---------
Pagina 10 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun Netscape Alliance
1. Server Core
2. Java Runtime Environment
3. Java Support
4. SSJS Support
5. SSJS Database Support
6. SNMP Support
Telnet a turandot
Sun Netscape Alliance
Pagina 11 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
---------
If you have not yet created a user and group for the iPlanet
server,create this user and group using your native UNIX
system utilities.
Telnet a turandot
Sun-Netscape Alliance
Pagina 12 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun-Netscape Alliance
----------------------------------------------------------------------
---------
Telnet a turandot
GSun-Netscape Alliance
Pagina 13 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
netstat –a
Telnet a turandot
GSun-Netscape Alliance
----------------------------------------------------------------------
---------
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.
netstat –a
Pagina 14 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun-Netscape Alliance
----------------------------------------------------------------------
---------
----------------------------------------------------------------------
---------
Pagina 15 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Telnet a turandot
Sun-Netscape Alliance
Core Server Installation/Uninstallation
----------------------------------------------------------------------
---------
While a default JRE is provided, you may use any JDK with the Web
Server.
elnet a turandot
Sun Netscape Alliance
----------------------------------------------------------------------
---------
Pagina 16 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
http://nombredelamaquina:puertodeadministración
Ejemplo: http://turandot:8888, a continuación nos pide usuario
y contraseña de administración.
Pagina 17 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
# cd /servidor/iws4
# ls -l
total 3098
drwxr-xr-x 2 root other 512 Feb 19 10:30 alias
drwxr-xr-x 3 root other 512 Nov 30 14:12 bin
drwxr-xr-x 2 web staff 512 Feb 19 10:30 docs
drwxr-xr-x 4 root other 512 Nov 30 13:13 extras
drwxr-xr-x 2 root other 512 Feb 19 10:30 httpacl
drwxr-xr-x 5 root other 512 Feb 19 10:30 https-
admserv
drwxr-xr-x 8 root other 512 Feb 19 10:30 https-
turandot
drwxr-xr-x 3 root other 512 Nov 30 13:18 manual
drwxr-xr-x 2 root other 512 Nov 30 14:03 ns-icons
drwxr-xr-x 11 root other 512 Feb 19 10:30 plugins
drwxr-xr-x 3 root other 512 Feb 19 10:30 setup
-rwxr-xr-x 1 root other 119 Feb 19 10:30
startconsole
-rwxr-x--- 1 root other 1562096 Nov 30 14:03
uninstall
drwxr-xr-x 3 root other 512 Feb 19 10:30 userdb
# cd https-turandot
# ls
ClassCache SessionData conf_bk config logs
restart rotate search start stop
#
Pagina 18 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Tecleamos ./start
Ejemplo
cat errors
Pagina 19 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
http://turandot:8888
Pagina 20 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
La Pestaña Servers
Pagina 21 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
En Select a Server,
seleccionamos la instancia
que queremos eliminar, y
abajo una vez que estamos
seguros marcamos la opción
“Yes, Irally do want to
remove this server.” Y el
botón ok.
Pagina 22 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 23 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Y la ventana:
Pagina 24 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 25 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
NSAPI library:
/servidor/iws4/bin/https/lib/libNSServletPlugin.so
NSAPI functions:
NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServle
tService
For the entire server:
NSAPI: NameTrans:
NSServletNameTrans,
args: name="servlet"
Directive="NameTrans"
Additional Document
Directory:
Prefix /servlet
Directory
/servidor/iws4/docs/servlet
Style ServletByExt
Additional Document
Directory:
Prefix /ns-icons
Directory
/servidor/iws4/ns-icons
Style es-internal
Additional Document
Pagina 26 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
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/https-
turandot/logs/access
For the style servlet:
Default MIME type: pref
NSAPI: Service:
NSServletService,
Pagina 27 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
args: Directive="Service"
For the style jsp092:
NSAPI: Service:
NSServletService,
args: type="magnus-
internal/jsp092"
Directive="Service"
For the style ServletByExt:
Default MIME type: pref
NSAPI: Service:
NSServletService,
args: type="magnus-
internal/servlet"
Directive="Service"
For the style es-internal:
Restrict access: on
Pagina 28 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
index.html,home.html
Pagina 29 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
http://www.miweb.com/documentos/sistemasop/linux/soft/tutorial
.htm
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
Pagina 30 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 31 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 32 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 33 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Encontramos:
Pagina 34 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
cd https-admserv
./stop
./start
Pagina 35 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 36 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 37 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Chmod +x nombredelarchivo
Pagina 39 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
www./mundounix.com/cgi-bin/ver.pl
/servidores/iWS/netdocs/miscgi/ver.pl
#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
foreach $name (keys(%ENV))
{
$value = $ENV{$name};
print "$name = $value\n";
}
Aparece:
Pagina 41 de 42
Instalación Básica de iPlanet Web http://www.mundounix.com
Server 4.1 Enterprise Edition Saber hacer, Hacer saber.
Pagina 42 de 42