SED is the short name of the stream editor, which is the stream editors. It handles a line of content at a time, and when processed, stores the currently processed rows in a temporary buffer called pattern space, followed by the SED command to
lsof Command Introduction:Lsof (list open files) is a tool that lists open files for the current system. In a Linux environment, everything is in the form of files, with files that not only access regular data, but also access to network
Configuring and securing OpenSSH Services1. Remote Access using SSHOpenSSH is used to run the shell securely on a remote system, and if you have a user account in a remote Linux system that provides SSH services, SSH is the command that is commonly
Today because my colleague's linuxserver frequently crashes, its model and configuration are consistent with mine, so it compared with the server memory utilization, CPU utilization, temperature and other information.When the temperature information
Command format:head [options] File (option is not writable)
Command function:Displays the contents of the number of lines before the beginning of the file
Common functions:- g hidden file name- v Displays the file name simultaneously- n
When applying unix/linux, we usually want to let a program run in the background, so we will often use & at the end of the program to let the program run automatically. For example we want to run MySQL in the
OutlineI. What is a highly available clusterIi. What is high availabilityThree, high availability cluster related conceptsIv. Heartbeat Version V1 exampleV. Heartbeat Example of V2 versionVi. Heartbeat Version V3 exampleI. What is a highly available
Working on CentOS in daily work, there will always be some common commands that can't be remembered, a special opening, records of those commands, learning and time learning.RPM Action Class command:To view the RPM installation path:1.rpm-qa|grep
Command format:bzip2 [Options] File or directory
Command function:Compress or decompress a file in bZIP compressed format
common options: -D Unzip -F when compressing or decompressing, if the output file has the same
Key FeaturesGit is a version control tool for Linux kernel development. Unlike the centralized version control tools of CVS and subversion, it uses a distributed repository approach that does not require server-side software to operate version
How to determine if a dual system is installed in a Linux environment1, you can view the boot situation(1) Enter the Linux terminal and enter the/boot directory.Cd/boot(2) LS view/boot directory, if there is grub2 into the GRUB2 directory (generally
Command format:Groupadd [options] group account name (option is not writable)
Command function:Add a group account
Common options: - g The GID number of the specified group
Common examples:Example one: Create a group named testCommand:
Command format:rmdir [Options] Directory
Command function:use only to delete empty folders
Command parameters:- p Recursive Delete, when the subdirectory is deleted and its parent directory is empty- v displays detailed process information
Command format:usermod [Options] User name
Command function:Modify user account Properties
Common options:- u Modify UID number of user account- D Modify the user host Directory- e Modify user account expiration time- s Modify user login Shell-
Build rpmbuild of local yum source and yumrpmbuild
Before creating an internal yum source, you must standardize the installation directory of the software and package the existing applications.
There are currently two rpm packaging tools available:
Deepin linux installation and configuration, deepinlinux Configuration
Author: Xiang Si Yu Source: http://www.cnblogs.com/xiang-siyu welcome reprint, please also keep this statement. Thank you!
Deepin linux is an operating system developed in
Configure Samba in Linux and samba in linux
Configure Samba
If there is no common user, add the user. command:
Useradd-m aaa
Passwd bbb
Add Samba USER commands:
Smbpasswd-a aaa
Passwdword:
......
Modify the configuration
How to select the correct HTTP status code
As we all know, each HTTP Response carries a status code, but for many developers, the most commonly used status codes are 200, 400, 404, and 500. In what scenarios should I use other status codes and when
Nginx Load Balancing (Master/Slave) + Keepalived
Advantages of Nginx Load balancer:
Implement a flexible operating architecture. When the pressure increases, you can temporarily add backend Web servers;
Upstream is capable of Load Balancing
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