I. Basic concepts of dynamic libraries1. The dynamic link library is the library that is loaded when the program runs, and when the dynamic link library is installed correctly, all programs can use the dynamic library to run the program. A
grepFind a string in the specified directory or file, for example:
grep "Exception" Webx.log, finding the string "Exception" in a file
grep "Exception" webx.log*, finds the string "Exception" in the file at the beginning of the Webx.log
The service log fills the server disk frequently, and if you do not clean it, the service may not work correctly. Appropriately increase the print level of the log, such as the info level to warn can be temporarily mitigated, but not long,You have
WC Word count Text Statistics commandIt's a small command that Linux uses to count numbers.Will output 3 digits, respectivelyLine Word byteOver hereLine: Include Blank linesWords: Do not include whitespace characters, not including Terminator $Bytes:
There are 3 time definitions for each file in the Linux system (called Timestamp timestamps), which are three times : Access time (atime), Modify Time (mtime), change Time (CTime), for these 3 times is easy to confuse, here is briefly explained
If you use the top command of the Linux perf tool as the hotspot picket, you will find that there must be several locks in the top 10 suspects!In parallel multi-processing, it is unavoidable to encounter a lock problem, which is unavoidable, since
>> HDD Partition modeThe hard disk partitioning mode is generally as follows:--/(root directory)--/USR (operating system)--/home (User information)--/VAR (default server login file, mail and www default path also under/Var)--swap (virtual memory)>>
In general, the crash means that the operation is not responding, but the core of the operating system is still working. In Windows, because there is only one interface, no response is a crash, and in Linux can have Tty1-tty7, dead one open another
A Linux disk corruption causes the system to be unavailable and the instance to be recovered.
After the Linux operating system server is restarted, an error is reported during system startup, and the system cannot be used normally.1. error message 1.
Find and delete files that meet the conditions in linux, and find files that meet the conditions in linux.
Find all the files starting with test in the root directory and pass the search result as a parameter to the rm-rf command to delete the
Banwagong vps build a vpn by hand, and banwagongvps
I. Check1.0 # modprobe ppp-compress-18 & echo OK (module support MPPE encryption mode browsing, if Kernel support is not detected .)
After this execution, "OK" indicates yes. If "Module ppp_mppe
Automatically connect to the wireless network when CentOS is started
1. Right-click the "Edit connection" icon of the wireless network diagram ".
2. on the "wireless" tab, select "edit ".
3. On the "wireless security" tab, enter the wireless key,
CentOS configuration file
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory Collects
Centos system installation salt
Salt Installation and Use
1. Install centos system salt
Preparations before installation:
Many of our servers do not have Internet permissions. It doesn't make much sense to set up each source server. Therefore, we
Create and use LVM logical volumes in CentOS
Linux disk management: the basic concept of LVM logical volume and the operating principle of LVM. It describes in detail the basic concepts of Linux Dynamic Disk management LVM logical volume and the
Hard disk formatting larger than 2 TB in CentOS
As the storage space of hard disks continues to expand, the original system file format cannot keep up with the hard disk resizing speed. Especially for mobile hard disks larger than 2 TB, traditional
Configure snmp for CentOS
Installation:
Yum install net-snmp-utils (Test Tool)
Configure snmpEdit/etc/snmp/snmpd. conf
Change Group NameFind the following lines# Sec. name source communityCom2sec notConfigUser default publicChange the public
Check whether the linux server is 32-bit or 64-bit
Check whether the linux machine is 32-bit or 64-bit:
File/sbin/init or file/bin/ls/Sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for
CentOS knowledge point summary1. crontab (1) crontab is executed every 10 seconds
*/Bin/date>/tmp/date.txt * sleep 10;/bin/date>/tmp/date.txt
(2) You can also use the following methods to express
Stringmeaning-------------@ RebootRunonce,
Install and configure JAVA environment variables under Centos6.3
Today, we are helpless. In the Centos system, the virtual machine is suspended even when the JAVA environment is configured. Use this document to remember the "Shame" of today ".1.
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