Red Hat NETWORK PROXY SERVER 3.7 - Bedienungsanleitung Seite 51

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 101
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 50
2.7 Starting and Stopping Your Server 41
You may also use the command restart, which is a short way of stop-
ping and then starting yourserver. restart does explicitlystop and then
start your server, so you will be prompted for your password. restart
looks like the following:
/etc/rc.d/init.d/httpsd restart
If you just finished editing something in your configuration files
(httpd.conf,srm.conf or access.conf), you don’t need to explicitly
stop and start your server. Instead you may use the reload command.
The benefit of using reload is that you willnot needto type in your pass-
word. Your password will remain cached across reloads, but it will not be
cached betweens stops and starts. reload should look like the following:
/etc/rc.d/init.d/httpsd reload
Afterareload,your server will startwithout prompting youfor your pass-
word.
If you want your server to start automatically when your machine boots,
you need to create symlinks from the rc3.d and rc0.d directories to the
httpsd command. Use the following commands create the symlinks:
cd /etc/rc.d/rc3.d
ln -s ../init.d/httpsd S99httpsd
The previous command tells your system to start the httpsd process
when it boots.
cd /etc/rc.d/rc0.d
ln -s ../init.d/httpsd K99httpsd
Thepreviouscommandtellsyoursystemtostopthehttpsd processwhen
the system is shut down.
If you are running the X Window System, you can use tksysv to create
these symlinks.
Seitenansicht 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 100 101

Kommentare zu diesen Handbüchern

Keine Kommentare