Linux Foundation second weekIO Redirection and pipingStandard output (STDOUT)
If the file does not exist, it is created and the correct output is populated, overwriting the original content if the file already exists> If the file does not
19.12 Adding custom monitoring itemsRequirements: Monitor the number of 80-port connections for a web and figure outTwo steps:1) Zabbix Monitoring Center to create a monitoring project; 2) graphic representation of the monitoring projectFor the
System use:Operating system: centos-7-x86_64-minimal-1804Virtual machines: VMware 121.VMware Mounting CentOS-7PS: The system memory is slightly larger, because the subsequent Hadoop compilation on the server, the memory is less prone to a lot of
Linux how to let ordinary users use sudo permissions do not need to enter a password.See a lot of information on the Internet, all only said in/etc/sudoers add the following line:Username all= (All) Nopasswd:allHowever, when you actually use sudo,
User account management mainly has the following several configuration files:/etc/passwd,/etc/shadow,/etc/group and user mailbox/var/spool/mail, today is important to explain/etc/passwd and/etc/ Shadow two configuration files/ETC/PASSWD: Records all
Linux User and group management
Group Management groupadd命令:添加组 groupadd 选项 group_name -g GID :指定GID;默认是上一个组的GIDS+1 -r 创建系统组; groupmod命令修改组属性 groupmod 选项 GROUP -g 修改GID -
su 切换用户Syntax format: su "option" "Username" su [options] [user name]Attention:
There must be at least one space between each element in the SU command and subsequent options and user names
If the user name after the command is omitted, the
1. Display all files or directories with L, ending with a lowercase letter, and with at least one digit in the middle of the/var directory2. display files or directories that start with any digit in the/etc directory and end with a non-digit3,
First, the command basic format
Command prompt
-[[email protected] ~] #含义Where: (1) Root: Current login user (2) localhost: hostname (3) ~: Current directory (home directory, you can find the current location through the PWD command.)
Here is an example of the nginx-1.13.12 version1, first to the official website download nginx-1.13.12.tar.gz install package and upload to the Linux server and unzip the installation package
TAR-ZXVF nginx-1.13.12.tar.gz
2, before
Inter-process communication
Pipeline
Message Queuing
Signal Volume
Shared memory
Pipe pipes with nameless pipes
Data interaction mechanism with host processes:
Nameless pipe (pipe): Only the program that
date 显示与设置系统时间Syntax format: Date "option" "+format" echo [options] [+ Time format]Note: There must be at least one space between each element in the date command and subsequent options and time formatsParameter options:
parameter
1. Installing Nginx2. Build a shared directory for Nginx3. Install Createrepo, create a repository4. Client Testing1. Installing NginxYum list |grep nginx # to see if an Nginx package is available yum install nginx-y #Yum installation nginx1.1 If no
1. Create a folder:[[email protected] sm]# mkdir A Create a folder named a2. Create file:[[email protected] sm]# Touch a.txt Create a file named A.txt3. Move the file (clip) (similar to cut)[[Email protected] log]# mv b sm/ move the
Index:Open Source Spring Solution--lm.solutionSee Code GitHub:Intelij-idea.txtOne, Linux (deepinos) environment1. Download the website1 ideaiu-2018.1. 2. tar. gz2. Unzip1 tar -zxvf ideaiu-2018.1. 2. tar. Gz-c ~/dev/idea3. Set execution permissions1
umask 显示或设置权限掩码Syntax format: umask "option" "Mode" umask [options] [mode]Note: The Umask command, followed by options and patterns, must have at least one space between each elementParameter options:
parameter Options
Need to download 3 packages: Address link: Link: https://pan.baidu.com/s/1lltAa6JnjJ7Mr88duixUSQ Password: 5YIW(1) rsh-0.17-14.i386.rpm(2) rsh-server-0.17-14.i386.rpm(3) rpc.rstatd-4.0.1.tar.gzFirst, installation rshSee if RSH is installed and
1. First, create the Nginx file under the/etc/init.d/directory of the Linux systemVim/etc/init.d/nginx2. Adding a script1 #!/bin/bash2 #nginx Startup script for the Nginx HTTP Server3 #it is v.0.0.2 version.4 #chkconfig:- about5 #Description:nginx
1. PWD: View the current path2, ls: View the file under the current path"Can use-lih combination"-D: see only the current directory information (directory information, LS-DL)-L: Details of all files in the current directory-A: Displays all files
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