Docker storage volume for kubernetes
docker storage volume
Data Volume
Why data volumes (storage volumes) are needed
The docker image is made up of multiple read-only layers. When the container is started, the docker loads the read-only layer and adds a read-write layer to the mirror layer.
If the running container modifies an existing file, the file will be copied from the ...
Posted by eternalprophet on Thu, 04 Jun 2020 10:35:35 -0700
DVWA command injection
Command injection is to destroy the command statement structure by submitting maliciously constructed parameters, so as to achieve the purpose of executing maliciously constructed commands. PHP command injection attack vulnerability is one of the common script vulnerabilities in PHP applications. The fa ...
Posted by coverman on Thu, 04 Jun 2020 06:13:05 -0700
php WeChat Payment Separate Send Exempt
Write before
First of all, this version is V1.3, updated on 2020.03.15. There was a payment score of v1.0 before.v1.0 and v1.3 are already quite different, so don't let me take them off the track if you're doing a good version of this.
preparation in advance
Looking at this article, I believe you have made preparations, including opening WeChat ...
Posted by nethnet on Tue, 02 Jun 2020 04:02:53 -0700
Implement LNMP architecture, deploy WordPress and configure NGINX virtual host
1. Compile and install LNMP and wordpress
1.1 install PHP, php mysql, mysql, PHP FPM
[root@c1 ~]# yum install php php-mysql ngnix mariadb-server php-fpm -y
1.2 compile and install nginx
1.2.1 installation dependency package
[root@c1 nginx]# yum install gcc pcre-devel openssl-devel zlib-devel -y
1.2.2 creating nginx users
[root@c1 ~]# useradd ...
Posted by murali on Mon, 01 Jun 2020 07:59:42 -0700
2019-2020-2 network countermeasure technology 20174326 principle and practice of EXP3 in Danzeng liecuo
2019-2020-2 network countermeasure technology 20174326 principle and practice of EXP3 in Danzeng liecuo
1. Experimental environment
One PC, installed with win10 system, as the target machine for actual measurement
kali virtual machine installed as attack machine
The kali virtual machine is installed with the vector evaluation
...
Posted by stokie-rich on Mon, 01 Jun 2020 05:04:07 -0700
Windows Server2012R2 VisualSVN3.9.7-Server online password modification
After verification, upgrade from 3.0.0 to 3.9.7 in the following way. At the same time, support users to change passwords through the web interface. Every user forgets his password and needs the administrator to change it. The workload is not large, but it's really time-consuming and laborious. It's not flattering!1. Installation software prep ...
Posted by many_pets on Wed, 27 May 2020 02:22:54 -0700
Using the UUID tutorial gracefully in Laravel 7
Recently, I had to implement universal unique identifiers (UUIDs) in Laravel 7, and encountered some problems. I hope this post can help other people who are doing the same thing.
Advanced reasons for using UUIDs
A) They remove the ID number from your uniform resource locator, so users can't see how many specific objects your app has created. F ...
Posted by heals1ic on Tue, 26 May 2020 09:14:59 -0700
php advanced object-oriented application I
The usage of the instanceof keyword in php
instanceof has two functions: (1) judge whether an object is an instance of a class; (2) judge whether an object implements an interface.
(1) Determine whether an object is an instance of a class
Let's take an example of the first usage:
First create a parent class, and then create a child class to inh ...
Posted by nfr on Sun, 24 May 2020 19:46:08 -0700
php get form data
php form embed php code in Web page
1. Add PHP script to HTML tag
In the process of Web coding, PHP is an embedded language that can be mixed with HTML. You can add PHP script tag <? PHP...? > to HTML at any time. All the text between the two tags will be interpreted as PHP, and any text outside the tag will be considered as ordinary HT ...
Posted by sell-traffic on Sun, 24 May 2020 18:54:52 -0700
PHP quickly uses RabbitMQ to decouple some businesses in the project
preface:
Last time, I introduced the installation of RabbitMQ under windows and the addition of AMQP extension of PHP. Here, the code of local test is put into the service, so that is to install it again on Linux. But there is no need to use it directly. It is mainly about the use of control console after RabbitMQ is installed and how to call ...
Posted by angershallreign on Fri, 22 May 2020 01:41:35 -0700