contains which programs and which documents; 3. Read the documentation for this package (of course, it is necessary to use the search engine to do some homework first); 4. Just read the source code. In the Red Hat genre system (CentOS, Fedora), the package manager of the software is rpm. Look at CentOS 5.10 First, using the which init command, you can find the full path of Init to/sbin/init, and then use the rpm-qf/sbin/init command, It can be found that the INIT program is in the same package
For more information about linux boot-Linux general technology-Linux technology and application, see the following. After the Ubuntu system is turned on, it is stuck in the stopping mount network filesystems stage. no adverse operations were performed before the last shutdown, and the method for reinstalling the Ubuntu desktop on the Internet is invalid, commands cannot be used. please do not reinstall the system for restoration. There are many important materials in the system.
The logon log fi
upstart by sysvinit. Sysvinit is a set of simple shell scripts. It is relatively simple to create and execute processes independently by/sbin/init. Ubuntu uses an upstart System (http://upstart.ubuntu.com) that relies on swap communication, so the execution of the script depends on the execution of/sbin/init. However, UBUNTU/sbni/init requires that its PID be 1; otherwise, it exits directly. Because the ab
level. In this file, rcsript will be called again, and the file will be searched for/etc/rc. d/rc5.d/and start the system service to which the link points.
To consume electronic Linux systems, you must enable graphical interfaces and other necessary services. unoptimized systems enable many system services that are not used or are currently unavailable by default, this part will spend a lot of time. The simplest optimization method is to customize the system service by rewriting the service con
In short, systemd is an init program. According to the previous Upstart introduction, you should briefly understand the shortcomings of the traditional Sysvinit system. However, the design concept of systemd is more advanced. It can be said that it draws on the idea of launchd on OSX.
The init process is started by the kernel. Is it the parent process of all other processes? As a result, more tasks can be done than other processes, such as loading ser
binary files) and ifiles release. You can use./configure,makeAndmake installCompile your owninitngRelease version. You must usecmakeTo compile the ifiles file (this is a script file ). Depending on the system requirements, you may need to create a new service/daemon definition (but it is very likely thatinitngSomeone already does this in the community ). Then you must modify the configuration of LILO or GRUB to point to the new/sbin/initng.
To controlinitng, You need to usengc(Comparisontelinit
* Starting Mount filesystems on boot [OK]* Starting Populate/dev filesystem [OK]* Starting Populate and link to/run filesystem [OK]* Stopping Populate/dev filesystem [OK]* Stopping Populate and link to/run filesystem [OK]* Stopping track if upstart are running in a container [OK]* Starting Signal Sysvinit, the rootfs is mounted [OK]* Starting clean/tmp directory [OK]* Stopping Read Required files in advance (for other mountpoints) [OK]* Starting Initi
In recent years, the INIT process of Linux system has undergone two major evolution, the traditional sysinit has gradually faded out of the historical stage, the new upstart and Systemd have their own characteristics, A growing number of Linux distributions have adopted systemd. RHEL 7.0 also started using SYSTEMD.systemd is the latest initialization system (INIT) in Linux, and its main design goal is to overcome the inherent shortcomings of sysinit a
-keepalive ################################# General ##################################### # By default Redis do Es not run as a daemon.
Use the ' yes ' if you need it.
# Note that Redis would write a PID file in/var/run/redis.pid when daemonized. Daemonize Yes # If you run the Redis from Upstart or SYSTEMD, Redis can interact with your # supervision tree. Options: # Supervised no-no Supervision interaction # supervised
Source: From the ancient yueju blog
We have introduced the features and structure of ROS. Next we will begin to prepare for the strong Ros. On the Wiki on the ROS official website, the tutorials for new users are very detailed. It is best to clarify all the tutorials for new users. This is the most basic thing for later development. Despite this, Ros is still difficult for beginners to get started. Here, I will summarize my learning history and serve
Imagine creating a library of wikis. Wiki sites contain content that users can create, delete, and modify interactively. Many wikis feature a simple, text-based markup language for creating content. Typically, these markup languages provide only a subset of the functionality available in HTML, but there is a simpler, clearer source format. For example, text that surrounds the asterisk is formatted as bold, and the underlined text is formatted as an un
0. Write in frontFor the first contact with the Linux system, the installation of ns-3 seems unfriendly. But in fact, the installation process is not as complex as it seems to be. In this article, the installation process in the official Wiki is slightly combed, hoping to bring some convenience to those who have just started learning.At the same time, the descriptive narrative in the official Wiki is suffic
I learned how to replace init with upstart in Ubuntu 6.10 before I switched to KUbuntu. The main scripts are in/etc/event. d. By default, there is no inittab file in/etc. When I first installed Kubuntu, I went to/etc/event. d. Take a look at the script rc-default. The script contains the following content: It indicates that inittab does not exist by default, but the inittab created by the user will still be noticed. I learned how to replace init with
originates from a convention in Unix: in Unix, "d" is often used as the suffix identifier of the system daemon. In addition, SystemD also refers to the English term D system, which is used to describe a person's ability to quickly adapt to the environment and solve difficulties.SystemD is designed to improve the disadvantages of SysVinit and compete with upstart of Ubuntu. Many concepts of SystemD come from Apple's launchd. The goal is to start fewer
The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to the real root FS, the first program executed is the root FS under the/sbin/init,4.1 Switch_rootSwith_root newroot Init [arg]egThe INITRAMFS switch to the real rootfs command is Switch_root/sysroot/sbin/initwhere Root fs is mounted in the/sysroot directo
The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to the real root FS, the first program executed is the root FS under the/sbin/init,4.1 switch_rootSwith_root newroot Init [arg]egThe INITRAMFS switch to the real rootfs command is Switch_root/sysroot/sbin/initwhere Root fs is mounted in the/sysroot directo
(database, SCAN, listener etc)
We now see that the situation is not even OHASD started, do not see/ETC/INIT.D/INIT.OHASD run such a process.
Under normal circumstances, there should be:
Ps-ef|grep init.ohasd|grep-v grep
root 2279 1 0 18:14? 00:00:00/BIN/SH/ETC/INIT.D/INIT.OHASD Run
OK, let's try to start/etc/init.d/init.ohasd run manually:
Root@ol6-112-rac1 bin]#/etc/init.d/init.ohasd Run
mkfifo:cannot create FIFO '/VAR/TMP/.ORACLE/NPOHASD ': File exists
^c
[Root@ol6-112-rac1 bin]#
See that/
Reprinted from Http://www.cnlamp.org/linux/417.html
Posted 2 years ago ⁄linux⁄ No Comments
Since the version of MongoDB in the official Ubuntu apt source is older, it is installed with the APT source provided by MongoDB. To use the software on a third-party source, in addition to adding the corresponding source on the sources.list, you have to add the corresponding public key key to properly install the software.
add MongoDB's public key to local key database via Apt-key
sudo apt-key adv--k
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.