: Default is the graphics mode, the general working scene changed to 3 text mode7, the system starts to run the program/etc/init/rc.confIf the system RunLevel is 3, enter/ETC/RC3.D to see many files starting with K, indicating that the level does not start the service; The numbers represent the starting order, from small to large. Start the service view Chkconfig--list8, the implementation of/etc/rc.d/rc.localIf you want to start a command or execute a script, write to the file. 9, open the term
: Default is the graphics mode, the general working scene changed to 3 text mode7, the system starts to run the program/etc/init/rc.confIf the system RunLevel is 3, enter/ETC/RC3.D to see many files starting with K, indicating that the level does not start the service; The numbers represent the starting order, from small to large. Start the service view Chkconfig--list8, the implementation of/etc/rc.d/rc.localIf you want to start a command or execute a script, write to the file. 9, open the term
).2,protected_mode_jump (Boot_params.hdr.code32_start, (u32) boot_params + (DS () the the startup_32 label in the X86/BOOT/COMPRESSED/HEAD_32.S is executed. This code calls the Decompress_kernel function to extract the kernel (bzimage) image file. A detailed jump process can be consulted: Linux kernel boot process3, and jump to the X86/kernel/head_32.s in the startup_32 label place to execute. This code calls the I386_start_kernel function, and I386_start_kernel calls the main function Start_k
Linux Process View command:First, the process on the Linux system and the viewing tools:Pstree,ps,pidof,pgrep,htop,glances,pmap,vmstat,dstat,Kill,pkill,job,bg,fg,nohup,nice,renice,killallCENTOS5:SYSV init//based on shell script implementation, start service serial mode runCentos6:upstart//Create a process by command, parallel execution boot//encapsulation still uses servicecentos7:systemd//Reference Mac OS,
daemonization process (e.g. as with upstart and SYSTEMD).The Linux package init scripts does not expect Processmanagement.fork to change from the defaults. If you use the Linux packages and processmanagement.fork, you'll have the your own init scripts and disable th e built-in scripts.specifies a file location to hold the process ID of the MONGOs or Mongod process, where MONGOs or Mongod will write its PID
manuallyImplementation 2: Delete both the boot directory and the Etc/fstab filePhenomenon: After entering rescue mode, there will be a/to/mnt/sysimage directory that cannot mount the operating system1.fdisk-l viewing the details of a partition2. Mount each partition manually and view the data in the partition until you find the partition where the root of the system is located3. Repairing the/etc/fstab configuration file in the root partition4. Restart the system and re-enter rescue mode, so th
The Systemctl command was discovered recently while playing Ubuntu and openSUSE, and later found in the demo Centos7, Systemctl is a tool under SYSTEMD. The order has been in existence for a long time. This command is used to replace the service and chkconfig two commands---although the individual feels that the latter is useful.
In order to adapt to the development of time, summed up here. In many new Linux distributions, the system does not use the
Some time ago made a website Btdog magnetic and Btdog TV Live. DHT crawlers need to consume more resources, the original server is not enough, so that they use a computer to build a server, using the FEDORA22 system. Some auto-start scripts are automatically written in Fedora22, but they are not always found. Toss it down and discover the original Fedora starting from 15, the system initialization software began to shift from Initscript to SYSTEMD mod
1, SYSTEMD Service management procedures:Systemctl is the primary tool that integrates the functionality of the previous service and Chkconfig. You can use it to enable/disable the service either permanently or only in the current session.Systemctl can list the status of the service that is running, as follows:UNIT LOAD ACTIVE SUB descriptionproc-Sys...t_misc.automount loaded active waiting arbitrary executable File Fosys-devi...block-Sr0.device loade
2.0.15-1.el7 epel
uwsgi-router-redis.x86_64 2.0.15-1.el7 epel
[root@bogon yum.repos.d]# yum install -y redis
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror s
1, Linux kernel parameter setting and INITRAMFS generation2. Linux kernel compilation and installationFirst, review the start-up processpost--boot order (BIOS)--bootloader (MBR)--kernel+ramdisk--root switchover (footfs)--/sbin/init (config file) Profile: Set default RunLevel--Develop system initialization scripts for system initialization--start service (/ETC/RC.D/RE#.D,/ETC/RC.D/INIT.D)--/etc/rc.d/ rc.local--set Ctrlaltdel key combination-start terminal (mingetty) and attach login program at te
-cache problem. Because the disk is exchanging data with memory, because the disk rate is much lower than memory, a portion of the disk will be zoned as a cache to improve IO efficiency. However, if the cache area is RAMDisk again, it will slow down rather than become faster. Therefore, after CentOS-6, the RAMFS mechanism was changed, that is, the file system is established in some memory.4. Finally, the system initialization program, in the CentOS-5 is Sysvinit, in CentOS-6 is
(Boot_params.hdr.code32_start, (u32) boot_params + (DS () Run at the startup_32 label in the X86/boot/compressed/head_32.s. This code calls the Decompress_kernel function to extract the kernel (bzimage) image file. The specific jump process can be tested: Linux kernel boot processes3, and jump to the startup_32 label in X86/kernel/head_32.s to run. This code calls the I386_start_kernel function, and I386_start_kernel calls the main function Start_kernel of the Linux kernel. Note: The 64-bit
files, with LS to view the details as follows:650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/1089769/201703/ 1089769-20170323140416611-1663002555.png "style=" margin:0px;padding:0px;border:0px; "/>As you can see, the file type (the first field) is S, which represents the socket file. (PS: If the process uses a command pipeline to communicate with the intermediate file, LS displays the file type P)Running the client Python uds_client.py, there are corresponding outputs on both th
Currently, there are two mainstream init methods for Linuxdistros: one is the widely spread SystemVinitialization, which is derived from Unix and is still used by various Linuxdistros systems; the other is the Upstart method proposed in recent years. Based on the event mechanism, all services and tasks of the system are event-driven. As far as I know, Ubuntu (6.10 andlater), Fedora (9.10 andla
There are two mainstream init methods for Linux distros: o
Server Configuration
centos7.0+0.5g Memory +1cpu
Web server Configuration
PHP 5.4.16 + Nginx 1.6.3+mariadb 5.5.44
Ran a shadowsocks and a WordPress, the database configuration file using MY-SMALL.CNF, but mariadb often hang out, so to find a good configuration.
After the database has been hung, restart MARIADB
Start
Systemctl Start mariadb
Results
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
Run
Syst
systemd[1]: rabbitmq-server.service: control process exited, code=exited status=2Nov 12 01:30:04 vdevops.org systemd[1]: Failed to start RabbitMQ broker.-- Subject: Unit rabbitmq-server.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit rabbitmq-se
Booting Process in Linux RHEL 7 | Linux RHEL 7 Boot processIn this post, I'll guide you booting process in Linux RHEL 7, it's very important to know the Linux booting process to Troubleshoot and fix boot issues. Redhat 7 replaced the init process (/sbin/init) with Systemd (/USR/LIB/SYSTEMD/SYSTEMD), SYSTEMD provides co
github and compile it directly. Then, the flannel executable file is generated in the bin or dist directory of flannel (different versions may lead to different directories.
$ Git clone-B v0.5.6 https://github.com/coreos/flannel.git
$ Cd flannel
$./Build
The compilation method may vary. For details, refer to the README. md file in the flannel directory.
Copy the executable file flanneld to the/usr/bin/directory.
Create the/usr/bin/flannel directory and copy the mk-docker-opts.sh file under the
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.