First Open the Timer log (the default is commented out)The Cron log feature uses the SYSLOGD service, different versions of Linux may have different software, here are two common types:Rsyslog->Location in/etc/rsyslog.d/50-default.confUse Vim to
1: Turn off SELinux and iptables (in the work scenario, if there is an external IP generally open iptables, high concurrency high traffic generally cannot be turned on)[[email protected] ~]$ grep SELINUX=disabled /etc/sysconfig/selinux
Screen-s name creates a background named name, or bash panel, where the task running does not exit because the connection is broken, and preserves information on bashSCREEN-LS Lists all the screenScreen-r the corresponding screen number back to the
Which/usr/bin/whichSearch for the directory and alias information for your commandwhich LSAlias ls= ' ls--color=auto '/usr/bin/lswhich RMAlias rm= ' Rm-i '/usr/bin/rm/bin/rm/tmp/test2 this without asking for confirmation, delete
The GCC compilation process is divided into four steps:(1) pre-compilation (pre-processing)(2) Compile (Compiling)(3) Assembly)(4) Link (linking)Taking hello. C as an example:# Include Int main (void){Printf ("Hello world! ");Return 0;}
(1)
Http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
Dynamic kernel module support (dkms)Is a framework used to generate Linux KernelModules whose sources do not generally reside in the Linux kernel sourceTree. dkms enables kernel
Generally, the host name is set during installation. to modify the host name, perform the following steps.
Run the hostname command to modify the Host Name of the current system.# Hostname newhost
Modify/etc/sysconfig/network so that the new
[Enable the root user in UbuntuSet the root password: sudo passwd RootUbuntu7.04 enable the root user: Set allowroot = true (true if enabled, otherwise false) in VIM/etc/X11/mcm/TPD. conf)Ubuntu8.04 enable the root user: Set allowroot = true (enable
In "How to Implement Nat smoothly in Linux", I introduced how to enable Nat to take effect instantly in Linux, and mentioned that the patch was only tested in the SNAT environment, I have not tested it in the DNAT environment. In fact, it can also
More and more profound understanding of the importance of the foundation, so I want to study a course well, cultivate 0.0001 battle force as the core competitiveness.
The experts have stepped on this post. Please leave some suggestions.
Main
I often see the list head in the Linux kernel. Sometimes I am not very familiar with it. I plan to understand it very early. After compiling the SDK this time, I am a little idle. Let's just take it out.
Simple Linked List Implementation
#include
From: http://blog.csdn.net/racehorse/archive/2007/11/14/1884038.aspx
After reading the first few chapters of Linux driver, I have compiled a 2.4 Kernel Driver Based on the character driver of the 2.6 kernel provided in this tutorial, A detailed
Article Source: http://blog.csdn.net/estate66/article/details/5985746
Ptrace is short for process and trace. It is a system call interface (API) provided by the operating system to application debugger such as GDB and strace ).
The specific process
Abstract: In this section, we will look at a simple data transfer method, that is, transmitting data through pipelines.
4. Use pipelines to communicate between processes
The operations related to processes are described in the previous
A shell script is provided to convert environment variables into the desired form. In some special circumstances, we need it. We will stay here to use it directly in the future.
ENV = 'env | awk-F "=" '{print $1}' | TR "/N """'Keep_env = "hostname
Apache automatically starts and adds services as LinuxNote:Apache installation path:/usr/local/ApacheThe Linux Startup level is 5, and the version is Linux as4
After Apache is installed, it is found that Apache cannot be started automatically. Check/
From http://www.gbunix.com/htmldata/2005_01/1/3/article_1079_1.html
Linux Remote Control Method Overview
-
There are several methods:1. rlogin, RSH, and other R-series
I have been in the Hall of Linux for more than a year. Here I want to analyze the various implementation mechanisms of Linux. On the one hand, it is also a warm story for myself, and on the other hand, it will promote communication between everyone,
Linux Process Scheduling
1. Program vs Process
A program is an executable image of a sequence of code and data stored on a disk. It is a static object.
A process is an execution program and a dynamic entity.
2. Four Elements of a Linux Process there
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