php turns pdf into picture and splices picture

explain: 1.pdf to image by installing php extension imagick realization. 2. Due to a series of problems in Windows Extension installation, it is recommended to develop in linux environment, and windows members can try to install. 3. Install ImageMagick imagick for php for Centos. ImageMagick is a set of software series, mainly used for the crea ...

Posted by stennchau on Thu, 21 May 2020 09:13:32 -0700

K8S deploy stateful application through Statefulset

1, Understanding statefuse 1. Statefuse ensures that pod s retain their identity (container name) and state after rescheduling.2. Statefuse achieves that each pod corresponds to the corresponding PV volume, and each pod can support a set of independent data volumes.3. Provide a stable network identity. Each pod created by a Statefulset has a z ...

Posted by kh411dz on Thu, 21 May 2020 08:38:01 -0700

nginx forward proxy http/https and proxy mail service

nginx forward proxy http/https and proxy mail service Demand background: In the company's Intranet environment, you cannot directly connect to the external network. The intranet service is required to access the Internet through the forward proxy. Installation environment preparation: Nginx itself does not support https protocol request forwa ...

Posted by nats on Thu, 21 May 2020 07:53:45 -0700

What else can rm do besides running

[toc] preface Every time we execute rm commands on the production environment server, we are always on the edge of our pants, because once we accidentally execute the error deletion, we will be ready to run. After all, people are not machines, let alone machines have bug s, hehe. So what if you really delete files that should not be deleted, su ...

Posted by cashflowtips on Thu, 21 May 2020 03:16:52 -0700

Kubedm deploy kubernetes Cluster - kubernetes introduction to actual combat [introduction + Advanced]

1. kubernetes cluster deployment 1.1 kubernetes installation overview To learn kubernetes, first of all, a kubernetes cluster is needed. In order to meet the needs of different scenarios, the community provides different installation methods to meet the needs of various scenarios. Common methods are: MiniKube is a single node installation of ...

Posted by gardnc on Wed, 20 May 2020 21:35:58 -0700

Stealing the Linux kernel page to build your own Rootkit

Stealing pages from the kernel?Yes, stealing pages means that we bypass all the rules and interfaces assigned to pages and extract a free page directly from the freelist for use. Look directly at the POC. Let me simulate a task_The allocation process for struct: #include <linux/module.h> #include <linux/mm.h> #include <linux/sc ...

Posted by Daleeburg on Wed, 20 May 2020 18:30:52 -0700

A tip to see if the PID process exists

In Linux, to judge whether a PID corresponding process exists, you can judge it as follows #! /usr/bin/env python import os def check_pid(pid): try: os.kill(pid,0) except OSError: return False else: return True if __name__ == "__main__": print check_pid(22467) Returns True if the PID exists in the sy ...

Posted by banjax on Tue, 19 May 2020 07:52:33 -0700

Linux command tar command

tar command Functional description: Back up files Usage: tar [options]...Archive and Compress File Name FILE... Note: The'-'may be omitted from the tar command option option Effect -c Create an archive file in.tar format -C Specify the destination folder when expanding the archive -f Indicates the use of archive files -t List V ...

Posted by Kazlaaz on Sun, 17 May 2020 09:40:41 -0700

Deploy multiple projects in Tomcat, and configure the process of secondary domain name through Nginx reverse agent

Purchase domain name. Example: example.com Set multiple secondary domain names. As shown in the figure:   To configure the tomcat file: Modify the server.xml File: The following configuration configures three containers with three different ports. Please note three points: ① port number: Connector port; ② container name: portservice ...

Posted by kenchucky on Sun, 17 May 2020 08:11:31 -0700

Install single node Redis

Forward link http://www.python3.vip/tut/webdev/django/17/ Installing Redis on Linux It is recommended to compile and install the source code, so that you can freely choose the Redis version to install. For example, on centos 7, log in as root and execute the following commands to download, decompress, compile and install wget http://downl ...

Posted by Hepp on Sun, 17 May 2020 03:31:23 -0700