There are four methods for starting Deja:
Remotely, through the Sun WebServerTM, which you can download free of charge from http://www.sun.com/webserver
Remotely, through any other web server
Locally, without a web server, by opening the Deja.html file in a web browser
Locally, as a Java application, on a machine with a Java Virtual Machine
To connect to the directory server, Deja requires that the dsservd daemon is running on the server that holds the directory. If the dsservd daemon is not running, Deja will start but is unable to connect. In this case, start dsservd as described in "Starting the dsservd and dswebd Daemons". Then connect to the directory server as described in "Reconnecting Deja to the Directory Server".
Set the documentation root for the Sun WebServer to /opt/SUNWconn/html.
Refer to the Sun WebServer documentation for instructions.
Start the Sun WebServer.
Refer to the Sun WebServer documentation for instructions. The Sun WebServer must be running on the same machine as the dsservd daemon.
Open the following URL in a Java compatible web browser:
http://hostname/Deja.html |
where hostname is the hostname of the machine running the Sun Directory Services and the web server.
Deja is displayed.
Create a symbolic link from the documentation root directory for your web server to /opt/SUNWconn/html:
prompt% cd docroot_dir prompt% ln -s /opt/SUNWconn/html sds |
where docroot_dir is the documentation root directory for your web server.
The web server must be running on the same machine as the dsservd daemon.
Open the following URL in a Java compatible web browser:
http://hostname/sds/Deja.html |
where hostname is the hostname of the machine running Sun Directory Services and the web server.
Deja is displayed.
On the machine running the directory server daemon, dsservd, open the following URL in a Java compatible web browser:
file:/opt/SUNWconn/html/Deja.html |
Deja is displayed. It tries to connect to the directory server specified in the Deja.html file. If it can't connect, an error message is displayed.
On the machine running the directory server daemon, dsservd, Set the JAVA_HOME environment variable to the installation directory of your Java Virtual Machine (JVM).
Type:
prompt% /opt/SUNWconn/bin/deja [ host_name [port_number]] |
where:
host_name is the hostname of the directory server. The default is localhost.
port_number is the port number of the directory server. The default is 389.
The client machine needs to have a Java Virtual Machine and JDK version 1.1.5 or a compatible version installed.