在Ubuntu7.04 Server控制台如何设置使程序随系统启动而启动。

为当前最终发行版之前的所有版本提供支持
回复
hongfeng1126
帖子: 10
注册时间: 2007-07-24 10:14
送出感谢: 0
接收感谢: 0

在Ubuntu7.04 Server控制台如何设置使程序随系统启动而启动。

#1

帖子 hongfeng1126 » 2007-07-24 10:39

在内网架了一个Web服务器,用Ubuntu 7.04 Server,用花生壳做动态域名代理,开始的时候装了一个桌面,比较容易安装花生壳客户端,并在桌面的系统-->会话中新增了一个会话,将花生壳客户端启动命令加入,这样花生壳客户端就可以随系统启动而自动启动登录。比较方便。
现在问题是只装了控制台,不准备装桌面,请问如何配置使花生壳也能自启动,另外在控制台如何下载软件并安装,比如下载Webmin。
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15
送出感谢: 0
接收感谢: 0

#2

帖子 iblicf » 2007-07-24 10:48

/etc/rcS.d/README
The scripts in this directory whose names begin with an 'S' are executed
once when booting the system, even when booting directly into single user
mode.

The scripts are all symbolic links whose targets are located in
/etc/init.d/ .

To disable a script in this directory, rename it so that it begins with
a 'K'.

For a more information see /etc/init.d/README.

The following sequence points are defined at this time:

* After the S40 scripts have executed, all local file systems are mounted
and networking is available. All device drivers have been initialized.

* After the S60 scripts have executed, the system clock has been set, NFS
filesystems have been mounted (unless the system depends on the automounter,
which is started later) and the filesystems have been cleaned.
hongfeng1126
帖子: 10
注册时间: 2007-07-24 10:14
送出感谢: 0
接收感谢: 0

#3

帖子 hongfeng1126 » 2007-07-24 11:11

iblicf 写了:/etc/rcS.d/README
The scripts in this directory whose names begin with an 'S' are executed
once when booting the system, even when booting directly into single user
mode.

The scripts are all symbolic links whose targets are located in
/etc/init.d/ .

To disable a script in this directory, rename it so that it begins with
a 'K'.

For a more information see /etc/init.d/README.

The following sequence points are defined at this time:

* After the S40 scripts have executed, all local file systems are mounted
and networking is available. All device drivers have been initialized.

* After the S60 scripts have executed, the system clock has been set, NFS
filesystems have been mounted (unless the system depends on the automounter,
which is started later) and the filesystems have been cleaned.
是不是这个意思:
在/etc/init.d/下所有以S开头的脚本文件都会在系统启动的时候执行,以K开头的不再随启动而执行。
S40开头的随系统装载而执行,不论网络是否有效,S60开头的脚本在系统时钟设置之后才执行。
英文有点菜,不知道理解的是不是这个意思?
xygz
帖子: 61
注册时间: 2007-09-09 20:08
送出感谢: 0
接收感谢: 0

#4

帖子 xygz » 2007-09-09 22:42

S40执行后,所有本地文件系统都装载完毕,网络可以使用
S60执行后,系统时钟设置完成,NFS文件系统已装载(除非系统基于automounter自动装载器,那个将稍后启动),文件系统完成清洗
回复

回到 “老旧版本支持”