linux启动过程
环境:debian 7.0
1
|
id :2:initdefault: |
1
2
3
4
|
0 (halt the system) 1 (single-user / minimal mode), 2 through 5 (multiuser modes), 6 (reboot the system) |
1
|
runlevel |
1
|
init 3 |
1
|
ls /etc/rc2 .d |
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
|
S01motd -> .. /init .d /motd S13rpcbind -> .. /init .d /rpcbind S14nfs-common -> .. /init .d /nfs-common S16rsyslog -> .. /init .d /rsyslog S17apache2 -> .. /init .d /apache2 S18acpid -> .. /init .d /acpid S18atd -> .. /init .d /atd S18cron -> .. /init .d /cron S18mysql -> .. /init .d /mysql S18pptpd -> .. /init .d /pptpd S18ssh -> .. /init .d /ssh S19exim4 -> .. /init .d /exim4 S20bootlogs -> .. /init .d /bootlogs S21rc. local -> .. /init .d /rc . local S21rmnologin -> .. /init .d /rmnologin |
1
|
apt-get install sysv-rc-conf |
1
|
~/.bash_profile ~/.bash_login ~/.profile |
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。