c. Recherchez la valeur ServerName dans le fichier httpd.conf (
CODE B-3
EXEMPLE DE CODE B-3
#
# 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 oslab-mon
4. Démarrez Apache.
EXEMPLE DE CODE B-4
nomhôte
nomhôte
nomhôte
nomhôte
nomhôte
188
Guide d'administration de la plate-forme pour les systèmes Sun Fire 6800/4810/4800/3800 • avril 2003
).
Emplacement de la valeur ServerName dans le fichier httpd.conf
Démarrage d'Apache
# cd /etc/init.d
# ./apache start
# cd /cdrom/cdrom0/microprogramme/
# mkdir /var/apache/htdocs/numéro_version_microprogramme
# cp * /var/apache/htdocs/numéro_version_microprogramme
EXEMPLE DE