because the rc-sysinit start on condition is as follows: Start on filesystem and net-device-up Iface=lo Task Rc-sysinit calls Telinit. The Telinit task emits a runlevel event that triggers execution/etc/init/rc.conf. Rc.conf executes all the scripts under the/etc/rc$.d/directory, and Sysvinit is very similar, and the reader can refer to the first part of this article for a description. Things to note when developing a program As a
the work is done, the Mountall task issues the following event: Local-filesystem,virtual-filesystem,all-swaps,Where the Virtual-filesystem event triggers the Udev task to start working. Task Udev triggers the work of Upstart-udev-bridge. The Upstart-udev-bridge will issue a net-device-up Iface=lo event, indicating that the local loopback IP network is ready. At the same time, the task Mountall continues to
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
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
Zi Gong asked for benevolence. Zi Yue: "工欲善其事, its prerequisite." The house is the state, the sage of his doctor, the benevolence of his friends. --Confucius (Spring and Autumn), "The Analects and Weiling"
"工欲善其事, its prerequisite"Master a technology, know its development process is very important, know it, and then know the reason why. To be able to achieve and why the two know, need to understand the entire development process. As we did when we were young, we needed to understa
Brief introduction
Recently do Linux course design (kernel cropping and file system customization), selected ubuntu10.10 as the platform for the experiment. Different Linux distributions, the user state initialization mechanism is different, Ubuntu since the 6.10 version of the use of newer upstart mechanism for system initialization.
Upstart is an event-driven service startup mechanism that enables multipl
a particular program when something changes in the system. Most of the programs that are running here are scripts to start or stop the service. This configuration is actually very similar to the notion that System V runs a link to the init script at a certain runlevel. Just upstart more flexible, upstart can not only start or stop the service when the RunLevel c
For a long time, most Linux distributions have been using the init system introduced by UNIX System V. Init is generated by the kernel itself. The task is to start the remaining part of the system, generate and monitor all other processes, and check whether it is stopped or frozen. Although System V init has been running well in the past, it is a little late. This is why Ubuntu 6.10 (edgy EFT) uses upstart to replace the aging init system.
The goal
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
I. Introduction to General Deployment of nodejs applications
Finally, we need to deploy the nodejs application online and copy the source code to the directory through git.Copy codeThe Code is as follows:/root/deploy/movieRun the following command:Copy codeThe Code is as follows:~ Cd/root/deploy/movieNode./app. jsIn the preceding method, the nodejs program runs on the current console interface. Once the console ends, the application stops. Let's chang
Introduction of NODEJS Application of general deployment method
Finally, we're going to deploy the Nodejs application and copy the source code from git to the directory.
Copy Code code as follows:
/root/deploy/movie
And then make an order:
Copy Code code as follows:
~ Cd/root/deploy/movie
node./app.js
In the above way, the NODEJS program will run in the current console interface, and the application will stop onc
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 pack
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
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
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
Http://www.ibm.com/developerworks/cn/views/linux/libraryview.jsp?sort_by=show_abstract=trueshow_all= search_flag=contentarea_by=linuxsearch_by= Analysis of +linux+ initialization +init+ system topic_by=-1type_by= all categories ibm-search= SearchBrief analysis of Linux initialization init system, part 1th: sysvinitIn recent years, the INIT process of Linux system has undergone two major evolution, the traditional sysvinit has faded out of the historical stage, the new init system
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.