File hiding attribute setting, chatr, Lsattr detailed explanation, file hiding attribute usage, demonstration
chattr setting file properties
Syntax options
Chatr is used to modify the hidden permission attribute of the file system; For files and directories, in addition to setting normal and special permissions, you can also use some hidden attributes of files and directories.
[root@zaishu ~]# Chatr [+ - =] [properties] file or directory name
...
Posted by quintus on Wed, 01 Dec 2021 07:31:04 -0800
Basic usage of docker
1, What is docker
Containers in docker:
lxc --> libcontainer --> runC
2, OCI & OCF
OCI
Open Container-initiative
Led by the Linux foundation, it was founded in June 2015It aims to develop an open industrial standard around container format and runtimecontains two specifications
the Runtime Specification(runtime-spec)the ...
Posted by alsouno on Wed, 01 Dec 2021 07:27:54 -0800
shell script deployment springboot (Revised)
shell script deployment springboot (Revised)
explain
The shell deployment springboot was sorted out before
website: https://blog.csdn.net/shaoming314/article/details/120145215
However, the shell script does not have the option to stop, view and restart the service. It is not very good. This revision supports the options of stopping, restart ...
Posted by vchris on Tue, 30 Nov 2021 07:31:31 -0800
One Linux command a day (43): netstat command
This article is an original article of Joshua 317. Please note: reprinted from Joshua 317 blog https://www.joshua317.com/article/203
One Linux command a day (43): netstat command
1, Introduction
The netstat command under Linux is used to display various network related information, such as network connection, routing table, interface statistic ...
Posted by ganeshasri on Mon, 29 Nov 2021 11:58:38 -0800
Backup and recovery of MYSQL
1, Importance of data backup
In a production environment, data security is critical Any loss of data can have serious consequences Causes of data loss Program error Human operation error Operation error disk failure Disasters (e.g. fire, earthquake) and theft
2, From a physical and logical point of view, backup can be divided into
Physic ...
Posted by patrickm on Mon, 29 Nov 2021 10:19:24 -0800
Implementation of mysql architecture cache in redis server environment
Build an instance based on memcache:
web(php) host: 192.168.181.6
redis host: 192.168.181.5
mysql host: 192.168.181.4
First, close the firewall of the three hosts
systemctl stop firewalld
systemctl disable firewalld
sed -i 's/enforcing/disabled/'/etc/selinux/config
setenforce 0
Synchronization time
yum -y install ntp ntpdate
ntpdat ...
Posted by True`Logic on Sun, 28 Nov 2021 17:09:09 -0800
[C/C + + backend development and learning] 19 Redis basic data structure and commands
About Redis
Redis (Remote Dictionary Service) is an in memory database, also known as KV database and data structure database.
Redis is often used as data cache to cache hot data and reduce the pressure on the database.
View the complete Redis command: Redis command center.
Key value basic data structure
Redis's external interface alw ...
Posted by rslnerd on Sun, 28 Nov 2021 14:17:54 -0800
Linux 12 enterprise practice -- 12ubuntu deploying K8s cluster
0. Architecture diagram
1. Network and system settings
1.1 /etc/profile agent
sudo vi /etc/profile
Comment out the following agent configuration
source /etc/profile
1.2 wget agent
sudo vi /etc/wgetrc
1.3 clearing environment variables
env | grep -i proxy
unset HTTPS_PROXY
unset HTTP_PROXY
unset FTP_PROXY
unset https_prox ...
Posted by chrispos on Sat, 27 Nov 2021 20:57:57 -0800
Linux file system and log analysis (more content, take your time)
catalogue
1, Linux file system
1. inode and block overview
1.1 block
1.2 inode (index node)
1.3 inode contains the meta information of the file
1.4 three main time attributes of Linux system files
1.5 when the user opens a file through the file name, the internal process of the system
1.6 method of viewing inode number
1.7 str ...
Posted by lorri on Sat, 27 Nov 2021 20:00:14 -0800
Elasticsearch cross cluster search
1. Introduction
Elasticsearch introduces the Cross Cluster Search (CCS Cross Cluster Search) function in version 5.3 to replace the cube node to be discarded. Similar to triple node, Cross Cluster Search is used to realize cross cluster data search. Cross Cluster Search enables you to run a single search request against one or more remote clus ...
Posted by jhuedder on Fri, 26 Nov 2021 14:55:14 -0800