Zhangjian Help original works reproduced please indicate the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000
This time we'll talk about the fork in the system call to get a deeper understanding of the
Take Red Hat Linux as an example, because the modification inittab content improper, cause the system cannot start.
Solution: Modify grub Parameters at startup, enter Single-user mode, restore Inittab files, reboot the system. And this method does
/etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on.and collects the shell's settings from the/ETC/PROFILE.D directory's configuration file./ETC/BASHRC: This
First, VMware installation
1. Double-click Vmware-workstation-full-12.1.0-3272444.exe, the next step can be installed to complete
2. From the Start menu, select the VMware Workstation Pro in the program, click Open Software
3. Select the entry
(recently in the commissioning of the table system, found that the table system layer debugging information can not be seen on the serial terminals, but can be seen in the ADB side of the logcat, while the kernel layer of Linux debugging
1. Download Nginx,nginx-rtmp-module;2. Download and install Pcre,zlib,openssl (apt install ssllib-dev, may need aptitude)3. Install nginx,–module=. /nginx-rtmp-module4. Start Nginx and test whether the boot is successful (access localhost:8080)5.
1.linux view of the Java processes that have started: Ps-ef|grep Java
2.Linux off Tomcat, need to kill Tomcat process directly: Kill-9 23206
3.Linux starts Tomcat under the Tomcat directory:/bin/startup.sh
4. Configure Server.xml
Deferrable Timers
[Posted March, 2007 by Corbet]
The dynamic tick code featured in the upcoming 2.6.21 kernel seeks to avoid processor wakeups by turning off the period Ti Mer tick when it is happening. Before stopping the clock, the kernel must
grep commands are very useful in Linux, and pipelines (|) Used in conjunction, very powerful for searching text files. If you want to find a string in several text files, you can use the ' grep ' command. ' grep ' searches the text for the specified
The problem with the file system is only read by the USB u disk. The symptom is unable to delete the existing file in U disk, can't copy new file to U disk. But I don't know what the reason is. We are determined to solve the problem today.
1, install SSH
Direct sudo apt-get install Openssh-server
2. View SSH running status
Ps-e | grep ssh
If sshd and ssh-agent are found, the SSH service is basically functioning
3. Generate public and private keys
Ssh-keygen-t rsa-p ""
4. Append the
(1) Packaging and compressing filesPackaged files in Linux generally end with. Tar, and compressed commands are usually terminated with. Gz.In general, packaging and compression are carried out together, packaged and compressed files after the
Packet sending and receiving is somewhat similar, we generally use int dev_queue_xmit (struct sk_buff *skb) to send packets, such as we construct the complete packet ourselves, and finally call the real physical send function.
But we also know that
ROCKETMQ is similar to Windows for deployment under Linux, except that startup Namesrv and Broker are initiated through mqnamesrv.sh and mqbroker.sh. I. The environment builds
Need jdk1.6 (above) 64bit, Maven, Eclipse.
Linux Configuration Jdk,maven
implementation of embedded Linux under U-disk automatic mounting
One, method one
Because I am debugging the system is based on LSDK, so can not directly use the HotPlug in OpenWrt to complete this function. So the following methods are used.
The
Recently in the kernel frequently used spin lock, spin lock if used improperly, very easy to cause deadlock, in this summary.
A spin lock is a mutex device that has only two values: "Lock" and "unlock". It is usually implemented as a bit in an
1, Tar: Extract the Source software package. Tar zxvf abc.gz
This step has nothing to say, the source pack to unpack the good, then the next step. 2, CD: Access to this source package.
Now LS a bit MRTG this directory has a blue font httpd-2.2.11
First, you can try to enter git and see if the system has any git installed:
$ gitThe program ' git ' are currently not installed. Can install it by typing:sudo apt-get install gitLike the above command, there are a lot of Linux that will be
Users can use system calls in two ways:
The first way is through the C library functions, including the encapsulation functions and other common functions in the C library called by the system. (such as Write,read,kill,mkdir functions)
The second
One day, the new project was released, but it was a baffling 404 mistake. Also thought that the project itself had problems, and then found that everything in the local normal. Later thought is the server's cache and what caused the failure, then
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