In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you what the various boot self-operation modes of linux are. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
/ etc/rc.local
Join your own execution order.
/ etc/inittab
The setting of the initial state
/ etc/init.d/
Write a script, put it in it, and set it to execute permission.
Take svn as an example:
1. Make boot script svn_serve
#! / bin/sh### BEGIN INIT INFO# Provides: svn_serve# Required-Start: $remote_fs# Required-Stop: $remote_fs# Default-Start: 2 34 "Default-Stop: 0 1" Short-Description: Start or stop the HTTP Proxy.### END INIT INFOcase $1 in start) svnserve-d-r / home/pi/svn_repository;; stop) killall svnserve *) echo "Usage: $0 (start | stop)";; esac
If you do not add the comments above, perform step 3 below, and update-rc.d will report the following warning message
Update-rc.d: warning: / etc/init.d/proxy missing LSB informationupdate-rc.d: see
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.