ansible facts, loops and conditional judgments

1. Management facts 1.1 describe ansible facts The fact that ansible is a variable that ansible automatically detects on the managed host. It can be directly referenced in the playbook The facts include the following data: Host nameKernel versionnetwork interfaceIP addressOperating system versionVarious environmental variablesNumber of CPU ...

Posted by bombas79 on Sat, 15 Jan 2022 01:58:38 +0100

Experimental report on Linux command Basics

ls Abbreviation of common parametersFull name of parameterdescribe-a--allList all files in the directory, including "." Implied file at the beginning-lIn addition to the file name, the file permission, owner, file size and other information are listed in detail-h--human-readableList file sizes in an easy to understand format-tSor ...

Posted by Buglish on Fri, 14 Jan 2022 21:09:35 +0100

Tomcat parameterized configuration v1 zero

1, Tomcat directory structure (taking version 8.5 as an example) Bin directory. The bin directory is mainly used to store tomcat commands. There are two main categories. One is based on sh (linux command), and the other is with bat (windows command). Many environment variables are set here, For example, you can set JDK path and tomcat path st ...

Posted by DeathStar on Fri, 14 Jan 2022 15:39:18 +0100

git and github build and use tutorial under linux

1: Building git and github under linux 1. Registered gihub account: github official website: https://github.com/ You can create it yourself. Log in, create repository, create a new warehouse, and create a test library test. The creation is complete. 2. linux Installation git environment yum -y install git 3. Generate ssh key The SSH key ...

Posted by 2oMst on Thu, 13 Jan 2022 21:18:55 +0100

Linux (enterprise) - k8s(pod lifecycle / controller)

1. pod life cycle init container Case: when the service monitored by the init container is not configured, the main container and init container cannot start normally apiVersion: v1 kind: Pod metadata: name: myapp-pod labels: app: myapp spec: containers: - name: myapp-container image: busyboxplus command: ['sh', ' ...

Posted by ashwood on Wed, 12 Jan 2022 08:38:44 +0100

Linux firewall -- IPtables configuration strategy

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Reading catalog 1, Introduction to firewall2, Introduction to IPtables3, iptables package filtering process iptables workflow 4, 4 Table 5 chain ...

Posted by curb on Tue, 11 Jan 2022 22:24:15 +0100

Memory Forensics--

Memory Forensics Forensics file suffix raw,. vmem,. imgCommon commands (imageinfo, pslist, dumpfiles, memdump)Suspicious process (notepad, cmd)Combined with disk ForensicsUnderstand some operating system principlesCommon file suffixes dmg, img Volatile basic commands You can use the - h parameter to get the usage method and plug-in introduct ...

Posted by ababmxking on Tue, 11 Jan 2022 15:58:38 +0100

Linux system programming - (pthread) thread communication (mutex)

This article introduces the thread synchronization and mutex mechanism under Linux - mutex lock. When multiple threads are concurrent, multiple consumers will get data. In this case, the data needs to be protected. For example, like the train ticket system and the bus ticket system, the total number of tickets is fixed, but there are many ticke ...

Posted by Boo-urns on Tue, 11 Jan 2022 15:08:51 +0100

Docker installation learning notes

1. Environment configuration (it is best to use CentOS7, and you can try 8 if you want) docker is usually installed in linux environment, so it is useless to visit Alibaba cloud servers. Watch the activity and find a cheap or free white whoring. Reset next password Open XShell Enter the account and password just now Just connect. ( ...

Posted by alfoxy on Tue, 11 Jan 2022 14:25:10 +0100

Introduction, installation and deployment of Nginx based on Linux Environment

catalogue 1, Introduction to Nginx 2, Manual installation and deployment 1, Introduction to Nginx The even version of Nginx is a stable version; Odd is the development test version Nginx high-performance, safe and stable WEB server software is installed by default and only one set of websites are published. In the enterprise production en ...

Posted by pugg09 on Tue, 11 Jan 2022 12:03:12 +0100