Deploy multiple sites, with different domain names and site directories. Different ports, different IPs.Domain -based port IPWww.hequan.com/var/html/wwwBlog.hequan.com/var/html/blogBbs.hequan.com/var/html/bbs# Mkdir/var/html/{www,blog,bbs}-P# for
The usage of less is more resilient than more. In more, we have no way to turn front, can only look back, but if use less, you can use [PageUp] [PageDown] and other key functions to go to look at the file, more easily used to view the contents of a
File type permissions hard link number of user name file size file name-rw-r--r--1 root root 122 07-22 11:07 abc.cOwning user rights group permissions other permissions belong to group name time6 4 4Read and write executionR W X1 1 1R W-1 1
Shortcut keysCTRL + SHIFT + ' + ' to enlarge the current terminalCTRL + '-' put the current terminal in smallCTRL + L Clear ScreenCTRL + U removes all characters before the cursorCTRL + K to remove all characters following the cursorCTRL + W to
Chattr setting hidden properties of a file#chattr [+-=] [asacdistu] File or directoryParameters:+: Add a special parameter, other existing parameters will not move-: Delete A special parameter, other existing parameters will not move=: only the
In a Linux system, the NL command is used to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can do a lot of display design, including the
Linux to see the memory occupied by a process, the first can be found through the PS command process ID, such as PS -ef | grep Kafka can see the process ID of this program Kafka As you can see is 2913, you can now view the memory using the
Due to the need to install a Hadoop cluster, 10 machines need to be installed, initially intended to use SCP replication, and later found unacceptable (the actual scene may be several times the number of machine clusters, that is, 10 units do not
Common shortcut keys under Linux:
Shortcut keys
Function
Ctrl + A
Move the cursor to the beginning of the line
Ctrl + E
Move the cursor to the end of the line
Ctrl + C
No nonsense, directly on the command operation. Easy access after record filing[email protected]. ssh]#RM-RF Authorized_keys2 RM: Unable to delete "Authorized_keys2": Operation not allowed[email protected]. ssh]# sudo chmod +wrx
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
What I've been talking about is the process, and now the concept of a thread, which literally means that the thread should be smaller than the process. Hey.In fact, when the operating system started, the concept of the process, the operating system
Knowledge points of systemd management under CentOs7, centos7w.emdA major change to centOs7 is to replace the original System V init with systemd. Systemd is a complete software package. After installation, many physical files are generated. The
Zabbix monitors Nginx status and zabbixnginx
Introduction:
How can I use Zabbix to monitor Nginx status?
1. Obtain the Nginx Status (HTTP Stub Status)
shell > /usr/local/nginx/sbin/nginx -Vnginx version: nginx/1.8.0built by gcc 4.4.7 20120313 (Red
Basic Linux knowledge-system startup process and basic linux knowledge
Main phases of Linux Startup
Start Process
Start Step 1 -- load BIOS
When you turn on the computer power, the computer will first load the BIOS information, BIOS information
03 -- the instance explains three network modes (bridging, nat, Host-only) of virtual machines, 03 -- host-onlyPreface
When installing virtual machines, many people often encounter problems that cannot access the Internet. However, vmware has three
Linux cluster O & M tools: clustershell, pssh, and clustershellpssh
To install the hadoop cluster, 10 machines need to be installed. At first, we planned to use SCP for replication, and later we thought it was unacceptable (the actual site may be
How does one view and modify DNS configurations in Linux?
DNSServer Introduction
DNS is the abbreviation of a computer Domain Name System (Domain Name System or Domain Name Service). It is composed of a Domain Name parser and a Domain Name Server.
Diagnosis case of mail sending failure in Linux SendMail (3): sendmail mail
A Linux Server suddenly fails to send an email, and no exception is found in many places. Check/var/log/maillog to find the following details:
Apr 12 00:36:04 mylinux
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