of this article Sysvinit, sysvinit analysis/etc/fstab mount the file system This step is before the network starts. However, if the network does not start, NFS or ISCSI are inaccessible and, of course, cannot be mounted. Sysvinit uses netdev approach to solve this problem, that is,/etc/fstab found the Netdev attribute mount point, do not attempt to mount it, after the
the event was successful.The event is a very abstract concept, and below I'm listing some common events that I hope will help you learn more about what the event means:
The init process sends a "START" event when the system is power-up
When the root filesystem is writable, the corresponding job sends file system-ready events
A block device is discovered and initialized to complete, sending the corresponding event
A file system is mounted and the corresponding event is sent
initialization and enable, there is a dedicated NETFS service to mount all these network disks. This is a last resort remedy, which brings inconvenience to the administrator. Some novice administrators have never even heard of the Netdev option, so they often become a trap for system management.In response to all of the above, the Ubuntu developer, after evaluating several of the optional INIT systems at the time, decided to redesign and develop a ne
Three methods for making the services under the Upstart mechanism automatically start and expire at system startup + 1. upstart Mechanism
/********************************************************************** Author : Samson* Date : 02/04/2015* Test platform:* 3.13.0-24-generic* GNU bash, 4.3.11(1)-release * *******************************************************************/
Upstart's official server modi
How to add Upstart event-type tasks to the system under the upstart Mechanism
/********************************************************************** Author : Samson* Date : 11/15/2014* Test platform:* 3.13.0-24-generic* GNU bash, 4.3.11(1)-release * *******************************************************************/Currently, the system startup mechanism used by LinuxMint is based on ubuntu's
Analysis of Linux init system initialization, Part 1: UpStartUpstart Introduction
If the Linux release version you are using is Ubuntu, you may find that the/etc/inittab file cannot be found on your computer, this is because Ubuntu uses a new init system called upstart.
Related Articles:
Analysis of Linux init system initialization, Part 1: sysvinit
Analysis of Linux init system initialization, Part 1: UpStart
Article Title: Upstart: an event-based startup process of Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Translator: Wang Xu (gnawux at gmail.com)
Although the translator is a hardcore Debian fan, he has been paying attention to upstart for a long time. In the o
release, after starting/sbin/init, upstart will go through the following boot process:
1. After the internal initialization of the upstart, start Startup event, the Ubuntu system began to initialize;
2. The task that relies on the startup event starts, the most important of which is mountall, which mounts the hard disk and file system, triggering a series of events in turn, including: Local-filesystems, Vi
the network device is activated, connected to an AC power source, or when the system is sleeping.
Because the event can be captured by any other process in the system, we want to modify the other background to replace the execution Script directory. They send the event to init and then all these tasks can be performed in/etc/event. D is configured. Future Potential Includes executing tasks based on user habits, replacing Cron, anacron, and ATD with
SOURCE Link: Spark streaming: The upstart of large-scale streaming data processingSummary: Spark Streaming is the upstart of large-scale streaming data processing, which decomposes streaming calculations into a series of short batch jobs. This paper expounds the architecture and programming model of spark streaming, and analyzes its core technology with practice, and gives the concrete application scenario
After the system is upgraded from Ubuntu 9.04 to 9.10, the console of the system cannot be used, and the vbox must execute 'sudo/etc/init after each system restart. d/vboxdrv setup re-compile the kernel. As there is no inconvenience in other aspects, we can endure these two small problems.
Recently, if you want to install the official NV driver and disable X for installation, you have to deal with this problem.
The first thing that comes to mind is the problem that occurs during the startup proc
Today, I saw a microblog saying that the biggest change in the RHEL7 beta system may be replacing upstart with systemd, so I have to say goodbye to the chkconfig command.
Suddenly we were confused about systemV, upstart, and systemd. Previously, I always thought that upstart was in the Ubuntu system. Didn't RH systems use sysV? Should RHEL6 start to use
Three methods to make the services under the Upstart mechanism automatically start and fail at system startup + 1
/********************************************************************* * Author : Samson * Date : 02/04/2015 * Test platform: * 3.13.0-24-generic * GNU bash, 4.3.11(1)-release * *******************************************************************/
Upstart's official server modification method illustrates three
Ubuntu starts with upstart () in lieu of the original sysvinit for the management of the service process starting from 6.10. RHEL (CentOS) has also switched from version 6 to upstart instead of the previous INIT.D/RCX.D linear start-up method.The Sysvinit daemon (Sysvinit package) is a runlevel-based system that uses RunLevel (single-user, multi-user, and more) and links (located in/etc/rc. The D directory,
applications like system services! The following describes how to encapsulate nodejs applications as system services through upstart.
2. encapsulate the application as an upstart task script
Copy codeThe Code is as follows:~ Vi/etc/init/nodejs-moive.conf
Description "node. js jb51.net"
Start on startupStop on shutdown
ScriptExport HOME = "/root/deploy/movie"Echo $>/var/run/moiveme. pidExport NODE_ENV = pro
As an excellent engineer or architect, we must have a very good understanding and mastery of Linux systems. Here is an introduction to ordering a lot of people confused Linux self-booting.At present, there are 3 kinds of initialization system of Linux, according to the time of occurrence is init, upstart and SYSTEMD.Introduction to 3 Systems 1. InitInit is Sysvinit, which is the result of System V and is extended to other UNIX systems. Common init com
From Ubuntu 10.04, upstart is introduced into the processes and services started by the management system. So if you want to add or Disable Automatic startup of some service processes, the previous approach (such as using update-rc.d commands) will not work. If you run this command to stop MySQL, you will get the following information:
$>sudo /etc/init.d/mysql stopRather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. s
modification. Systemd has been incorporated into many software sources of Linux releases. systora 15 and later versions use systemd as the default INIT program in Linux. (In the feature of Fedora 14, systemd is used as a technical preview. Replace upstart in fedora 15 as the default manager. For more information, see the fedora official documentation and click the link)
SysvinitA daemon (sysvinit package) is a running-level system that uses the
Start by understanding the following changes to the Ubuntu runlevel (init) corresponding tool history:1, Ubuntu 6.10 and previous versions use Sysvinit.2, Ubuntu 14.10 and the previous version of the use of upstart but still keep sysvinit coexist.Https://wiki.ubuntu.com/UpstartHttps://help.ubuntu.com/community/UpstartHowto3, Ubuntu 15.04 started using SYSTEMD, but you can choose to use the SYSTEMD or upstart
~ kill-9 21333
Direct and violent settlement. If you can start and turn off Nodejs applications like system services, how nice! The following is accomplished by upstart to encapsulate the Nodejs application as a system service.
Second, the application is encapsulated as a upstart task script
Copy Code code as follows:
~ vi/etc/init/nodejs-moive.conf
Description "Node.js jb51.n
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.