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
tar [-cxtzjvfppn] files and directoriesParameters:-C: Create a compressed file parameter directive (the meaning of Create);-x: Unlock the parameter instructions for a compressed file!-T: View the files inside the Tarfile!In particular, in the
Tag:http os file sp on c linux ef server First, you have a top-level domain name that has a pan-name resolution, for example: domain.com Second, after opening mod_rewrite in httpd.conf, at the end of httpd.conf, add the
Http://blog.chinaunix.net/uid-17019762-id-3152012.htmlAs a person with obsessive-compulsive disorder, I can't stand the existence of warning. This warning is caused by the initialization order ,
The warning code will appear!
Class Cinit
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 tar command is used to handle compression, compression, and decompression.Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five
/bin: Store The most commonly used commands;/boot: Start Linux core files;/dev: Device files;/etc: Store various configuration files;/home: Household directory;/lib: The most basic dynamic Link sharing library of the system;/MNT: Generally empty,
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
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'
First, the new user/etc/passwd/etc/shadow Pwconv1. Open/etc/passwd FileCopy line 40th and paste to line 41st2. Using Command PwconvThe Pwconv command uses passwd and an optional and existing shadow to create the shadow.3. Open/etc/shadow1 temp6:!:16
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.********************
The following is a dataset divided into small files, each 10000 lines, as a number as a suffix, a total of two bitsSplit-l 10000 dataset-d-a 2 partition_dataset_If there's something you don't understand,Split--helpOrMan splitMerge small files into
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
One linux Command every day (September)
2014-09-02
Top displays the resource usage of each process in the system in real time, similar to the Windows Task Manager command parameters: -Batch B-c display complete governance command-I ignore
Usage of elinks (firefox in the command line), usageelinks
No.0
Press"Esc"To show main menu
========================================================== =====
No.1
Tyep"Elinks"To start the program, or add a domain name, for example:
# Elinks
Experience in installing feisty h5 on Hard Disk
I install feisty-alternate-i386.iso
Install slave Hard Disk
Download the corresponding Hard Drive boot files initrd.gz and vmlinuz from the network on the D: Disk
Download grubfordos and install it
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