Show Network Devices
Set up network devices
Function description: Display or set up network devices
ifconfig [interface] [up|down]
ifconfig interface options | address ...
Displays the status of all interfaces, including information about inactive interf ...
Posted by j0se on Thu, 21 May 2020 10:43:24 -0700
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
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
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
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
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 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/sc ...
Posted by Daleeburg on Wed, 20 May 2020 18:30:52 -0700
In Linux, to judge whether a PID corresponding process exists, you can judge it as follows
#! /usr/bin/env python
if __name__ == "__main__":
Returns True if the PID exists in the sy ...
Posted by banjax on Tue, 19 May 2020 07:52:33 -0700
Functional description: Back up files
Usage: tar [options]...Archive and Compress File Name FILE...
Note: The'-'may be omitted from the tar command option
Create an archive file in.tar format
Specify the destination folder when expanding the archive
Indicates the use of archive files
List V ...
Posted by Kazlaaz on Sun, 17 May 2020 09:40:41 -0700
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