File permissions In addition to R, W, X also have S, T, I, a permission:S: The file owner and group set the SUID and GUID, and the file will be executed as root after the S permission has been set. When setting the S permission, the file belongs to
1. Log Management Introduction:A. Log service: The log service in centos6.x and the original SYSLOGD service replaced by RSYSLOGD. RSYSLOGD Log service More advanced, more features. However, regardless of the use of the service, or the format of the
One. Download Nmon.Depending on the type of CPU you choose to download the appropriate version:Http://nmon.sourceforge.net/pmwiki.php?n=Site.Downloadwget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/downloadClick on the first
The Find command is used in the format: Find options path expressionsThe find command actually has two options, one is "really yours" and the other is inside expressions. The first option is a total of 5:-P-l-h-d-o, where-D is used to display debug
How to modify group permissions under Linuxchmod g+r path/file Read permission current directoryChmod-r g+r path/file Read permissions current directory and subdirectoriesG-r Read-less permissionsG+w Write permissionG-wG+x and Execute
2015-06-25 created1. Summary:The Linux mkdir command creates the specified directory if these directories do not exist.2. Command format:mkdir [OPTION] ... DIRECTORY ... English: mkdir [options] ... Directory...3. Common examples:mkdir AAA
There are two functions under Linux that can be used to delete a file:#include int unlink (constchar *pathname);The unlink function removes a name from the file system, and if the name is the last link of the file and the file is not opened by any
Original: HTTP://CENWJ.COM/2015/2/25/19This article refers to the article:Optimize kernel TCP parameters under Linux to increase server load capacityLinux TuningThe situation in this article is as follows:
High concurrency number
High
one, the Linux executable file structure
Under Linux, the program is an ordinary executable file, the following is the basic situation of a binary executable file:
As you can see, this executable is stored (without being transferred into
The basic operation of the file has a lot of scattered commands, do a small summary, basically divided into create, view, link, package compression, find
Create :mkdir: Creating a Directorymkdir [-P build multi-level directory] [-m set
Linuxfree Command memory allocation information[[Email protected]~]# free-mTotal used free shared buffers Cachedmem:32099 31909 189 1 100 28679-/+ buffers/cache:3129 28969swap:15999 0 15999the output from the second line is the operating system
Install and configure the Samba server on CentOS7Suppose we have such a scenarioShare Name path permission everyone DOC/smb/docs all personnel including guests can access RDDOCS/smb/tech only allow users in specific groups to read and write
ArchLinux, archStep 1 Write the image to the USB flash drive
USB flash drives are never the only choice, but most people may like it.
I operate on OS X (Yosemite). If you are using windows, you may be able to use Image Writer for Windows or UltraISO.
View system connection status in CentOS
1. View TCP connection status
Netstat-nat | awk '{print $6}' | sort | uniq-c | sort-rn
Netstat-n | awk '/^ tcp/{++ S [$ NF]}; END {for (a in S) print a, S [a]}' orNetstat-n | awk '/^ tcp/{++ state [$ NF]}; END
Configure bond ip redundancy in CentOS
There are 7 Bonding modes:
# DefineBOND_MODE_ROUNDROBIN 0 (balance-rr mode) Nic Load Balancing Mode
# DefineBOND_MODE_ACTIVEBACKUP 1 (active-backup mode) fault tolerance mode of the NIC
# DefineBOND_MODE_XOR 2 (
Shell programming --- sed command explanationSed is a non-interactive text editor that can edit text files and standard input.Sed only edits the copy of the original file in the buffer, not the original fileSed command invocation Methods1. Output a
Linux socket (1)
Socket features are determined by three attributes: domain, type, and protocol.
1. Domain
AF_UNIX UNIX domain protocol (File System socket)
AF_INET ARPA Internet Protocol (UNIX network socket)
... Omitted
2. Type
1) stream socket:
Preparations for building an OpenStack cloud system on CentOS7
The system uses centos7.1 for minimal installation and the language is English. For more information about installation, see Centos7.1 system installation graphic explanation. After
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