Linux storage management

A. View disk devices /proc/partitions Question 1: how to add a new hard disk virt-manager Question 2: how to find files in the file system find /mnt/ -name "*westos*" find /mnt/ -name westosfile1 Question 3: set the depth to find the file find /mnt -maxdepth 1 -name westosfile1 #The depth of the lookup file is 1 layer find /mnt -mi ...

Posted by Scutterman on Mon, 03 Jan 2022 14:08:58 +0100

4W words + thousands of lines of code! Tomcat penetration test method summary, bring it to you!

catalogue preface install Tomcat analysis Main documents Upload directory Tomcat penetration Tomcat arbitrary file write (CVE-2017-12615) Tomcat remote code execution (CVE-2019-0232) Tomcat weak password & background getshell vulnerability Tomcat manager App brute force cracking Tomcat AJP file contains vulnerability analysis (CV ...

Posted by live_ex3me on Mon, 03 Jan 2022 11:34:46 +0100

RH358 manage DHCP and IP address assignment -- configure IPv6 address assignment

RH358 manage DHCP and IP address assignment – configure IPv6 address assignment This chapter describes how to configure DHCP to allocate IPv6 addresses. Although it is still a bit weak, it can be used for understanding and learning. 1. Overview of IPv6 address automatic configuration IPv6 has many ways to configure network int ...

Posted by byenary on Mon, 03 Jan 2022 08:02:00 +0100

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool

Prometheus and Grafan container deployment Environmental description host nameIPmaster192.168.58.110client192.168.58.20 Install docker on the master host docker installation Configure network source (rhel red hat system) [root@master ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo Configure doc ...

Posted by digitalbart2k on Mon, 03 Jan 2022 04:24:15 +0100

Simple understanding of IO and NIO

Main references: NIO learning documentation This great God writes very well and is easy to understand!!!!!!!! 1, NIO and IO contrast memory IONIOFlow orientedCache orientedBlocking IOnon-blocking IO selector Stream oriented and cache oriented Flow oriented Java IO is stream oriented, which means you read one or more bytes from a stream at a ...

Posted by hnxuying on Mon, 03 Jan 2022 03:34:23 +0100

PyMySQL module & multithreaded programming & Paramiko module | Cloud computing

1. Add data to the table 1.1 problems Insert data into the employees tableInsert data into the salary tableThe inserted data needs to be commit ted to the database 1.2 steps To implement this case, you need to follow the following steps. Step 1: PyMySQL installation Install gcc. Some software packages are the source code of C [root ...

Posted by social_experiment on Sun, 02 Jan 2022 21:13:08 +0100

File Copy Tool--rsync

1. rsync Server 1. Introduction to Rsync Rsync remote synchronization is a tool primarily for fast incremental backups; Simply put, replication can be used for local replication or for replication between users across hosts (ssh/rsync host synchronization); Official website: https://rsync.samba.org/rsync is an open source, fast, multifunc ...

Posted by techi3 on Sun, 02 Jan 2022 18:55:36 +0100

Enterprise operation and maintenance practice k8s (container resource limitation and resource monitoring) must be seen by beginners, praise and pay attention to the later stage

k8s container resource limit Memory limit example If the container exceeds its memory limit, it is terminated. If it is restartable, kubelet will restart it like all other types of runtime failures. If a container exceeds its memory request, its Pod may be evicted when the node is out of memory. vim memory.yaml apiVersion: v1 kind: Pod ...

Posted by stopblackholes on Sun, 02 Jan 2022 14:34:06 +0100

Introduction to Docker - getting to know Docker

Docker's cognition Core concept docker is a linux container technology. The container effectively divides the resources managed by a single operating system into isolated groups, so as to better balance the conflicting resource use requirements between groups. It can be simply understood as a sandbox. An application runs in each container ...

Posted by huckfinne on Sun, 02 Jan 2022 09:18:57 +0100

Iptables Typical application of firewall & filter table control & NAT table | Cloud computing

1. iptables basic management 1.1 problems This case requires you to practice the use of iptables command and complete the following tasks as required: Close firewalld and start iptables serviceView firewall rulesAppend and insert firewall rulesDelete and clear firewall rules 1.2 scheme iptables firewall has 4 tables and 5 chains, 4 t ...

Posted by ATLien on Sun, 02 Jan 2022 05:10:49 +0100