Linux specifies that a host or network is accessed from an IPThere are 3 IPs on test machine AThe eth0 192.168.1.34, respectively.Eth0:1 192.168.1.36Eth1 192.168.1.35First boot on test machine B Apache Access_logTail-f/etc/httpd/logs/access_logThen
after cloning IP conflicts and machine names Sid Conflict . How to modify ?Here's a few questions . ~Maybe it's simple . , but no Kuibu, no more miles . , No small stream, no to Jianghai !first as a professional author , must show your level of
There are 5 main file lookup commands in Linux: Find, locate, Whereis, which, type.Find is the most powerful, but it takes a long time.Locate can be seen as a lite version of Find, but it is fast.The use of Whereis, which, and type is small and has
The use of crontab under LinuxExecute */5 every five minutes * * * *Executes 0 per hour * * * *Executes 0 0 * * * per dayWeekly Execution 0 0 * 0Monthly execution 0 0 1 * *Annual Execution 0 0 1 1 *For detailed usage, refer to this blog post
Basic operation of VIA) Enter VIAfter the system prompt symbol to enter VI and file name, go to the VI Full screen editing screen:$ VI myfileHowever, it is important to note that after you enter VI, you are in command mode and you want to switch to
Interrupt handlers----Interrupt Handler ISR is a function that is used to handle interrupts when an interrupt occurs, and cannot be----execution is likely to cause sleep detection operation, cannot exchange data with user space, cannot call schedule
Linux kernel Saving critical information to a file a good way to debug
Here are 2 examples:
1: Save the machine from the boot to the end of the Vbatt;2: Save the UART received data to the file;
The meaning is not much to say.
Here'
MDADM: User space management tool that makes any block device raidModal commandsCreate command-CDedicated options-L: Level-N #: Number of devices-A {Yes|no}: whether to automatically create a device file for it-c:chunk size, 2^n, default is 64K-X #:
0 or "Home" key : The cursor shifts to the first byte of this paragraph.$ or "End" key: the cursor is transferred to the last byte of this segment . N: the cursor moves backwards n bytes.N: the cursor moves down n rows.GG: the cursor moves to the
ID (1) User Commands ID (1)NAMEId-print Real and effective user and group IDsSynopsisID [OPTION] ... [USERNAME]DESCRIPTIONPrint User and group information for the specified USERNAME, or (whenUSERNAME omitted) for the current user.********************
Note: The red section indicates the relevant command 1. View Data DiskUsing the "df–h" command, you cannot see the data disk until you have partitioned and formatted the data disk, you can use the "fdisk-l" command to view #df-hFilesystem Size used
Command format: Command "-Selection" "Parameters"LS: Display directory file/bin/ls option-l-d-a-i-Hmkdir: Create new directory/bin/mkdir option-p recursively create directoryCD: Switch directoriesPWD: Displays the location of your current directory.
#chkconfig命令: Run-level information primarily used to start/stop and query system servicesDisplays the health status information for all run-level system services:[[email protected]_168_102_centos ~]# chkconfig --listabrt-ccpp
Linux common system logs and comments:
/var/log/lastlog: Record the last time the user successfully logged in, login IP and other information
/var/log/messages: Documenting common system and service error messages for Linux operating
Network commandsWrite: Send the message to the online designated user, ctrl+d as the end;Syntax: Write ZhangsanWall:write all of the abbreviations, send broadcast messages to all users;Syntax: Wall directly after the information can be added;Ping:
1:yum Install subversion?2: input rpm-ql subverionrpm-q app---software is installed svn-help---can see how SVN is used? 3: Create SVN repository directory mkdir-p/VAR/SVN /svnrepos?4: Create a repository svnadmin create/var/svn/svnrepos the command
Linux system upgrade configurations
1. Disable IPV6
Vi/etc/sysconfig/network
NETWORKING_IPV6 = no # Drop
Source/etc/sysconfig/network
Vi/etc/modprobe. conf
Add alias net-pf-10 offAlias ipv6 off
2. Disable shutdown and restart permissions for
Linux: The implementation flowchart of socket System calling in the linux kernel, socketlinux
Implementation of socket System calling in Linux kernel:
Generate a system call in Linux and add a new function to the Linux kernel.
To add a
Create your own embedded Linux computer
All of today's best integrated circuits are welded on a large scale using BGA encapsulation. Because the BGA encapsulation method is connected under the chip and the welding is tighter, the Reflow Soldering
Firefox plug-in, Firefox plug-in download
Today, I have installed several plug-ins for Firefox. In a brief introduction, I think they can be used.
I. All-in-One Gestures
Mouse gesture operation, great
Ii. Adblock plus
Advertising has become a thing
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