Permission management commands in linux (chmod/chown/chgrp/unmask)
Catalog
chmod
chown
chgrp
umask
chmod
explain
Command name: chmod
change the permissions mode of a file
Command path / bin/chmod
Execute permission: all users
Function Description: change file or directory permissions
grammar
chmod [{ugoa}{+-=}{rwx}] [File or directory]
chmod [mode=421] [File or directory]
-R Recursive modification
...
Posted by sir nitr0z on Fri, 28 Feb 2020 00:48:39 -0800
kali install Sogou Pinyin
Kali's version is Kali Linux large 2019.3-amd64
Sogou Pinyin version: sogoupinyin ABCD 2.3.1.0112 ABCD amd64.deb
Installation idea:
1, Replace image source
2, Download Sogou Pinyin for Linux
3, Install Sogou Pinyin
Four, restart
Where there are pits:
1. When adding a source, do not update or upgrade i ...
Posted by webwannabee on Wed, 26 Feb 2020 02:00:34 -0800
Learning big data -- variables and operators in Shell
Variables in Shell
System variables
Common system variables
$HOME, $PWD, $SHELL, $USER, etc
2. Case practice
(1) View the value of the system variable
[root@hadoop100 learnshell]# echo $HOME
/root
(2) Display all variables in the current Shell: set
[root@hadoop100 learnshell]# set
BASH=/bin/bash ...
Posted by chacha102 on Tue, 25 Feb 2020 00:15:27 -0800
k8s secret
secret is used to store sensitive information, such as passwords or tokens.
Create with file
[kubeadm@server1 secret]$ echo -n "admin" > username.txt ##Create user information
[kubeadm@server1 secret]$ echo -n "aekhg777" > password.txt ##Create user password file
[kubeadm@server1 secret]$ kubectl ...
Posted by rivasivan on Mon, 24 Feb 2020 23:34:29 -0800
Alibaba cloud Centos7 builds elastic search and kibana
Preface
Now Elasticsearch is used by more and more companies. I have learned some simple operations of Elasticsearch before, but I haven't recorded them carefully, so I forgot them soon after I learned them. Now let's take this time to learn again. This article will mainly introduce how to build a s ...
Posted by jnerotrix on Sun, 23 Feb 2020 02:03:25 -0800
NAT mode construction of LVS
1. NAT mode schematic diagram
NAT (Network Address Translation) Network Address Translation mode
When the user requests to arrive at the Director Server, the requested data message will first arrive at the pre routing chain in the kernel space. At this time, the source IP of the message is CIP and the ...
Posted by l4nc3r on Thu, 20 Feb 2020 22:20:44 -0800
Ganglia of Flume monitoring
About Ganglia
Ganglia is an open source cluster monitoring visualization tool initiated by UC Berkeley, which is designed to measure thousands of nodes. Ganglia's core includes gmond, gmetad and a Web front end. It is mainly used to monitor the system performance, such as: cpu, mem, hard disk utilizat ...
Posted by mackevin on Wed, 19 Feb 2020 23:19:50 -0800
Zabbix distributed monitoring - Zabbix monitors Httpd and Nginx
Article directory
1, zabbix monitoring httpd service
2, zabbix monitoring nginx
Font adjustment of web interface
Add a new monitoring item nginx.accept
3, Different types of picture switching
This experiment is based on the previous one, and has monitored server2 and server3
1, zabbix monitor ...
Posted by LuaMadman on Tue, 18 Feb 2020 04:19:53 -0800
Automatic creation of pv for K8S data persistence
1. Types of data persistence:1.emptyDir: Can only be used as temporary storage.If the container is deleted, the data still exists, and if the Pod is deleted, the data is deleted.2.HostPath: Less scenarios increase the coupling between Pod and nodes.3.PV, PVC: based on NFS services.The PV state must be Available, the access mode must be the sam ...
Posted by rdoylelmt on Sun, 16 Feb 2020 15:26:03 -0800
MySQL highly available KeepAlived + Dual hosts
MySQL highly available KeepAlived dual hosts
In the production environment, one MySQL host has a single point of failure, so we need to ensure the high availability of MySQL, that is, two MySQL servers. If one of the MySQL servers hangs up, the other can take over immediately.MySQL's high availability schemes are generally as follows: keepali ...
Posted by Joe Haley on Sat, 15 Feb 2020 21:49:04 -0800