The init process number is 1 (ps-aux | less). From this point, we can see that the init process is the starting point of all processes in the system. After Linux completes the kernel boot, start to run the init Program. The init Program needs to
I recently decided to read the source code of Linux0.11. The best way to learn the core concepts of Linux is to read the source code. The latest Linux source code package is about 70 MB, and the code is very huge. it is very difficult to read it in
The Linux device model looks at the device model chapter in LDD3, and it seems a bit confusing. Here we will take a holistic approach. This article summarizes some content from four aspects: 1. underlying data structure: kobject, kset.2.linux device
Chapter 1: install the nagios1.1 preparation package in a simple and fast manner. make sure that you have the root permission on the machine before installation. Make sure that the following software package has been installed on your linux system.
In linux, we sometimes need to set different IP addresses for a single NIC, which involves binding multiple IP addresses to a single NIC. This method can be used to easily bind multiple IP addresses to a single NIC. The environment used by the
& Hellip; # uname-a # View kernel/OS/CPU information # cat/proc/version # View kernel # cat/etc/issue # View OS version # head-n1/etc/issue # view the operating system version # cat/proc...
Some can also be used under freebsd...
# Uname-a # View
1. check the system load. if your computer is slow, you may want to check whether the workload is too large. In Linux, we generally use the uptime Command to view (w command and top command ). (They also apply to Apple's Mac computers .) You...
1.
Dump [-level #] [-acmMnqSuv] [-Afile] [-Brecords] [-bblocksize] parameter-S: the out-of-instance backup partition has multiple Shard spaces-u: record the DUMP running record to/etc/dumpdates-v: Display process-j: bz2 package-level0 ~ 9 #0 is
Because the system installs the rsync service by default, I will omit how to install the rsync installation server: mkdir-p/etc/rsyncd/Create The rsync main directory touch/etc/rsyncd. conf creates the master configuration file touch/etc/rsyncd.
Lamp linux Installation Summary 1. Insert a CD or ISO file 2. install it in text mode. input: text3, skip the CD check Skip4, and WelcometoCentOS! Ok5: Select English6 as the language, us7 as the keyboard, and prompt: The device will be initialized,
Src. rpm is the source package and can be used only after Compilation. after installation, it is the source code. After rebuild, the rpm package will be generated. Example 1: Download completed: [root @ localhostbeinan] # lsunrar *
Environment: ubuntu11.0420.topvirtualbox4.0cetnos5.5 has installed LAMP on Ubuntu and has never been installed on CentOS. it seems that both of them are the same and convenient to install. Step 1: install apachemysqlphp # yuminstallhttpdhttpd-de...
Enter the graphic interface: startx; terminal conversion cannot be performed using Ctrl + Alt + F1 in the graphic interface virtual machine. You can change the id: 5: initdefault in the/etc/inittab to 3. after the computer is started, the graphic
1. ask the user to enter the name, age, and gender #! /Bin/bashread-p & quot; Pleaseinputyourname: & quot; nameread-p & quot; Pleaseinputyourage: & quot; ageread-p & quot; Pleaseinputyoursex: & quot; sexecho & quot; Y
1. the user is required to
In linux, the timer function is used to measure the running time header file # include & lt; sys/time. h & gt; timer function intgettimeofday (structtimeval * TV, structtimezone * tz); struct that saves the time struttimeval {l...
Use of linux
Use description to create the static library. a file. C/C ++ is often used to develop programs. However, I rarely use ar commands in command lines, which are generally written in makefile and sometimes used in shell scripts. About library files,
The apt-get command does not provide the software package management function, but provides a command line platform for software package management. Use more sub-commands on this platform to complete specific management tasks. The general syntax
The linux unzip command can decompress a zip file in windows. Unzip command syntax: unzippered multiple compressed file name. The options of "-x file list" are used to decompress the file, but do not include the specified file. -V query...
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service