Because the Linux kernel kernel code prohibits ordinary users from using ports below 1024, many times when we want to start using 80 ports of Apache, Nginx, or Tomcat as a normal user for security purposes, we are forbidden by
Qin Dingtao "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000First, the purpose and requirements of the experiment:
Booting from Start_kernel to init process using GDB trace debug kernel
Detailed
Method One:Command: Uname-aFunction: View system kernel version number and system nameMethod Two:Command: Cat/proc/versionFunction: View the directory "/proc" under the version of the information, you can also get the current system's kernel
According to statistics, the Linux system generated a failure of 60% from the network, the other from the system itself, the order to solve the Linux network should start from the Linux own bottom network, and then gradually troubleshooting.
The basic usage of grep can be referred to in this [link] document, written in detail, here is the main description of the use of regular expressions.
GREP supports the basic regular Expressions (BRE) and extended regular Expressions (ERE)
The first simple command:LS, is to see the current working path of the files are what, commonly used in a few parameters1. ls-a indicates that the file below the current directory is listed in alphabetical order.2, ls-l to list the details of each
Linux host original network card ETH0,IP for 172.19.74.X/24, add a network card eth1, configure another network segment of the IP 10.219.17.x/24, found their respective to the gateway, but the original 172.19.74.X segment of the host can not access
chmod
Function: Change the permissions of the file.Syntax: chmod [-r] XYZ file or directory (numeric type changes file permissions)XYZ: is the permission attribute of the number type just mentioned, which is the sum of the numeric values of the
Sed (Stream editor) row editor (full screen Editor: VI)SED: Display mode spaceDo not edit the file by default, only the data in the pattern space is processedThen, after processing is finished, the mode is displayed on the screenSed-n '
Because the default Linux ctrl+alt+delete feature is turned on, if you accidentally press the Ctrl+alt+delete, the system will restart, the business is naturally interrupted, very insecure, you can disable this feature by the following method.
Linux servers are known as the primary operating system platform for enterprise deployment applications, but the main operational platform for the enterprise is windows, so that the sharing of folders between Linux and Windows is particularly
Use the NTP service in Linux to manage/synchronize server timeWhen there are multiple Web servers and the time of each Server must be consistent, you can consider using the NTP service.1. Use ntpstat to check the current state of the NTP service.#
Configure the JDK7 environment variable and ubuntujdk7 environment variable in ubuntu
Jdk-7u55-linux-x64.tar.gz
Ubuntu12.04 or later versions
Method/step
1First, Baidu searches for jdk and selects the first website, which is Oracle Jdk. Click
[Nginx] 4xx and 5xx retain custom HeadersProblem
If the status code returned by the request is 404 or 50x, the custom header is still returned.
Analysis and Solution
The add_header section in the nginx document contains the following sentence:
Use of groupadd for user and group management on the command line interface
Groupadd-create a new groupThe groupadd command is used to create a new group.SyntaxGroupadd [options] groupOption:-H for help-G: create a user group with the specified
Linux pstack command summary, linuxpstack command
The pstack command is used to display the stack trace of a process. The pstack command must be run by the owner or root account of the corresponding process. You can use pstack to determine where the
HAProxy + Keepalived dual-host high availability solution in Linux
Keepalived is used to detect the status of a web server. If a web server crashes or fails to work, Keepalived will detect it and remove the faulty web server from the system, when
Configure dual-host trust on a Linux Server
Purpose
Configure dual-host trust on a Linux Server
Environment
CentOS 1, 6.6
IP address of Server 1: 192.168.1.1
IP address of Server 2: 192.168.1.2
Perform the following steps on both servers:
#
[Introduction to container cloud] the top ten features that you don't know about container cloud
Introduction: With the rapid development of container technology represented by Docker in China, container cloud is gradually known to developers.
Compile and install PHP under CentOS
1. Go to the php official website to download the source code http://www.php.net/downloads.php, I download the use of is (php-5.4.8.tar.gz)
2. installation environment
Yum install xml2
2. Unzip to the/usr/src
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