Using YaST to Add Services to a Runlevel

If you don't like the command line to do it manually, you can use YaST as well to manage services on your server. The following steps describe how to do this:

1. From YaST, select System > System Services (Runlevel), or use the command yast2 runlevel to start this module automatically.

2. You now see the Simple Mode in the runlevel editor (see Figure 10-9). In this mode, you can see a list of all the services that can be enabled and their current status. Select a service, and then click Enable to enable it or Disable to get rid of it. This will enable or disable the service for all its default runlevels.

Figure 10-9. After selecting Simple Mode, you can just enable or disable the services you want to manage.

3. For more details, click the Expert Mode radio button. This will show the screen shown in Figure 10-10. In this mode, you can manage your runlevels. As discussed earlier in this chapter, in this mode, you can see a list of all the services that need to be activated in the initial boot phase of your server. Also, you can see all the other services, except for services that are started from xinetd. If you select any normal service, you can specify the runlevels in which you want to start it. Also, you can click the Start, Stop, or Refresh button to start, stop, or refresh the status of the selected service.

Figure 10-10. After selecting Expert Mode, you can specify exactly when and where a service should be started.

4. Also on the Expert Mode screen, in the drop-down list below the mode radio buttons, you can select the default runlevel that you want to start. For example, select 3 as the default runlevel if you don't want to see the graphical interface anymore after starting your server. When done, click Finish to save and apply the new settings.

Was this article helpful?

0 0

Post a comment