1. Modifying the/etc/sysconfig/network-scripts/ifcfg-eth0 file means modifying the first NIC information,Modify the second NIC, modify the/etc/sysconfig/network-scripts/ifcfg-eth1,Modify the nth block card, modify
#系统禁止pingecho 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all#系统允许pingecho 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all#上面的做法下次重启之后就恢复了, or you can ping the machine, in order to make it permanent, you can write the boot script, write the next restart also
After VMware clones the Linux system, the new system network problem device eth0 dose not seem to be present workaround.Today learning Linux to a certain stage, need to use two machines at the same time, so with VMware cloned the start of normal use
After VMware clones the Linux system, the new system network problem device eth0 dose not seem to be present workaround.Today learning Linux to a certain stage, need to use two machines at the same time, so with VMware cloned the start of normal use
Four concurrency control mechanisms: Atomic operations, spin locks, semaphores, and completion quantities.Atomic variable operationAtomic variable operations are never interrupted by any other task or event until they are executed. Atomic operations
First, Introduction Ifconfig is a tool that Linux systems use to obtain and modify network interface configuration information. Note: The NIC information configured with the Ifconfig command does not exist after the machine restarts after the
= = = Dynamic Library Description = = =1. Library name format: Lib + the_name_of_library +. So + version_numberExp:libc.so.62.ldconfig typically creates soname, but does not create linker name (libname.so), which is typically created when the
Kernel optimization is the same as server optimization, in the principle of stability and security. Below with 64-bit CentOS 5.5 under theSquid server as an example to show that the client and the server to establish a TCP/IP connection will shut
Quote Article A:HTTP://HI.BAIDU.COM/JLUSUOYA/ITEM/32AE398958088755840FABFBReference: Replace RM with MV.Quote Article b:http://blog.csdn.net/qiudakun/article/details/6659072Introduction: How to recover a file after RM has deleted it. Personal
Directory
Describe
/
The root directory is the most important directory in the entire system, all directories are derived from the root directory, and the root directory is also related to power-on/restore/system repair and
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
Today, the company suddenly has to take all the test environment root password back, only the normal user rights issued. Because the test environment to often change time to test, Linux under the ordinary user no modification time permissions.
Advanced Linux commands and linux commandsEstablish a symbolic link for the ln-s source objectHistory 5 displays the five most recently used commands! 5. execute commands numbered 5Date MMDDHHMMCCYY. SS [month, month, day, hour, minute, year, year,
Linux Command (use of-a,-o, not in find),-a-o
Sudo find/etc-size + 1 M-exec echo {}\; # find and display files of a size greater than 1 MB in the/etc directory. The files are separated by line breaks. Sudo find/etc-size + 1 M | xargs echo # files
Linux Regular Expressions grep and egrep
Regular Expression: it refers to a single string used to describe or match a series of strings that conform to a certain syntax rule. In many text editors or other tools, regular expressions are usually used
Linuxshell application skills
-------------------------------------- Shell application tips ------------------------------------------ one command completion: tab key completion shell command 2: clear or ctrl + l clear screen ctrl + u clear all the
Test and content replacement of shell Variables
In Chapter 11th of the Linux BASICS (Third edition, the final example illustrates '-', '=', and ','? 'Usage of three special symbols.
After reading these routines, I feel like var =$ {str-newvar},
Analysis of linux boot process
Iii. linux boot process parsing date the current system hardware clock hwclock firmware (between hardware and software) clock ----> the general system clock and firmware clock are synchronized hwclock -- hctosys
Modify yum source and linuxyum source in Linux
The procedure is as follows:
Run the following command to view the yum package:
rpm -qa|grep yum
Run the following command to uninstall the original source
rpm -qa | grep yum | xargs rpm -e --nodeps
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