Moxa UC-8481-T-LX [23/90] Setting the run level

Moxa UC-8430-LX [23/90] Setting the run level
UC-8410/8416/8418/8430 Managing Embedded Linux
3-7
829 root 1360 S /bin/inetd
832 bin 1300 S /bin/portmap
838 root 2428 S /bin/sh --login
843 root 1360 S /bin/snmpd -c public
867 root 3508 S /bin/sshd -f/etc/ssh/sshd_config
873 root 7284 S /usr/bin/httpd -k start -d/etc/apache
876 root 1292 S /bin/reportip
878 nobody 7308 S /usr/bin/httpd -k start -d/etc/apache
879 nobody 7308 S /usr/bin/httpd -k start -d/etc/apache
880 nobody 7308 S /usr/bin/httpd –k start –d/etc/apache
881 nobody 7308 S /usr/bin/httpd –k start –d/etc/apache
882 nobody 7380 S /usr/bin/httpd –k start –d/etc/apache
883 root 1264 S /root/tcps2-release
896 root 2156 R ps
root@Moxa:~#
Setting the Run-Level
In this section, we outline the steps you should take to set the Linux run-level and execute requests. Use the
following command to enable or disable settings:
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd S55ssh S99showreadyled
S25nfs-server S99rmnologin
root@Moxa:/etc/rc.d/rc3.d#
#cd /etc/rc.d/init.d
Edit a shell script to execute /root/tcps2-release and save to tcps2 as an example.
#cd /etc/rc.d/rc3.d
#ln –s /etc/rc.d/init.d/tcps2 S60tcps2
SxxRUNFILE stands for
S: start the run file while linux boots up.
xx: a number between 00-99. Smaller numbers have a higher priority.
RUNFILE: the file name.
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd S55ssh S99showreadyled
S25nfs-server S99rmnologin
root@Moxa:/ect/rc.d/rc3.d# ln –s /root/tcps2-release S60tcps2
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd S55ssh S99showreadyled
S25nfs-server S99rmnologin S60tcps2
root@Moxa:/etc/rc.d/rc3.d#
KxxRUNFILE stands for
K: start the run file while Linux shuts down or halts.
xx: a number between 00-99. Smaller numbers have a higher priority.
RUNFILE: the file name.

Содержание

Похожие устройства

Скачать