D/rc通常在所有运行级别运行,级别作为参数传送。
D/rc Normally run for all run levels with level passed as argument.
Switch to runlevel 5 to start the X server:.
Typically you would set the default run level to either 3 or 5.
Seven run levels exist, numbered from zero to six.
A run-level is the level of functionality in which the operating system is running.Combinations with other parts of speech
在你配置到服务的访问之前,你必须理解Linux运行级别。
Before you can configure access to services,you must understand Linux runlevels.特别是,在进入任何运行级别之前,所有名称以“K”打头的脚本均被运行,这些脚本的工作是中止进程。
Specifically, before entering any runlevel, all the scripts beginning with'K' are run; these scripts kill services.运行级别发生变化时,init就会从/etc/inittab运行相应的命令。
When the run level is changed, init runs the relevant command from/etc/inittab.运行级别是一种状态,或模式(mode),它由列在/etc/rc.d/rc<x>
A runlevel is a state, or mode, that is defined by the services listed in the directory/etc/rc. d/rc<x>用来改变运行级别的命令是init<runlevel>,在这里<runlevel>是目标运行级别。
The command used to change runlevels is init<runlevel> where<runlevel>is the target runlevel.这样一来,你就可以选择单用户模式了(即运行级别1)。
This allows you to choose the single user mode(run level 1).学习并掌握Linux服务和运行级别是成功解决问题的关键。
Learning to work with the Linux services and run levels is key to successful troubleshooting.假设系统要在启动时运行foo脚本,或进入指定的(SystemV)运行级别。
Suppose a system needs to execute script foo on start-up,or on entry to a particular(System V) runlevel.它们与运行级别的不同之处在于,init命令不可能进入到运行级别a、b、c或者h。
They differ from run levels in that the init command cannot request the entire system to enter run levels a, b, c, or h.如果你使用的是文本登录屏幕,你是在运行级别3中操作。
If you use a text login screen,you are operating in runlevel 3.如果你使用的是图形化登录屏幕,你是在运行级别5中操作。
If you use a graphical login screen,you are operating in runlevel 5.将Kudu服务配置为在服务器启动时自动启动,将其添加到默认运行级别:.
Configure the Kudu services to start automatically when the server starts,by adding them to the default runlevel.你无法正常引导入RedHatLinux(运行级别3或5)。
You are unable to bootnormally into Red Hat Enterprise Linux(runlevel 3 or 5).Debian在运行级别2到5之间这样做,前提是您已经安装了X显示管理器,如XDM。
Debian does so at runlevels 2 through 5--provided you have installed an X display manager such as xdm.譬如,要在运行级别3、4、5中停运nfs服务,使用下面的命令:.
For example, to turn nscd off in runlevels 3, 4, and 5, use the following command:.正如你可能已经知道的那样,运行级别在许多最近的Linux发行版(如RHEL7和Ubuntu16.04LTS)中被systemd的目标替换。
As you might already know, Runlevels are replaced with Systemd targets in many recent Linux distributions like RHEL 7 and Ubuntu 16.04 LTS.要确保Elasticsearch自动启动和停止服务器,请将其init脚本添加到默认运行级别。
To make sure Elasticsearch starts and stops automatically with the server,add its init script to the default runlevels.只有这些运行级别不需要经过正确格式化的/etc/inittab文件。
This is the only run level that doesn't require the existence of a properly formatted/etc/inittab file.另外,任何这些进程的执行请求都不会更改当前运行级别。
Also, a request for the execution of any of theseprocesses does not change the current run level.D目录中的服务来定义,其中<x>是运行级别的数字。
D, where<x> is the number of the runlevel.Init启动时,它会在/etc/inittab内查找一个代码行,这一行指定了默认的运行级别:.
When init starts,it looks for a line in/etc/inittab that specifies the default run level:.例如,如果系统处于运行级别1,那么只有那些在运行级别字段中包含1的条目才会启动。
For example, if the system is in run level 1, only those entries having a 1 in the rstate field are processed.
Linnaeus's system has seven levels:.
There are seven levels, numbered 0 to 6.