Red Hat [Electronic resources] : The Complete Reference Enterprise Linux Fedora Edition؛ The Complete Reference نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Red Hat [Electronic resources] : The Complete Reference Enterprise Linux Fedora Edition؛ The Complete Reference - نسخه متنی

Richard L. Petersen

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








Managing Services


As noted previously for the crond service, you can select certain services to run and the runlevel at which to run them. Most services are servers like a Web server or proxy server. Other services provide security, such as SSH or Kerberos. You can decide which services to use with the

chkconfig , service, or redhat-config-services tools. These are described here briefly, and in more detail in Chapter 20.


chkconfig


To configure a service to start up automatically, you can use the redhat-config-services tool available on the desktop or the

chkconfig tool, which is run on a command line. redhat-config-services will display a list of available services, letting you choose the ones you want to start and deselect. The

chkconfig command uses the

on and

off options to select and deselect services for startup (see Chapter 20 for more details).

chkconfig httpd on


service Command


To start and stop services manually, you can user either redhat-config-services or the

service command. With the

service command, you list the service with the

stop argument to stop it, the

start argument to start it, and the

restart argument to restart it.

service httpd start


redhat-config-services


Most administration tools provide interfaces displaying a simple list of services from which you can select the ones you want to start up. On the redhat-config-services tool, the main panel lists different daemons and servers that you can have start by just clicking a check box.


/ 328