Fedora 32 - Enable new BLS specification management GRUB2
rise
Fedora's kernel is frequently upgraded.But I found that restarting doesn't use the new kernel.I need to check the GRUB configuration file.
ydx@ydx-mf:~ $ cat /etc/default/grub
#GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console" ...
Posted by Shp0ngl3 on Thu, 21 May 2020 16:15:46 -0700
Linux command ifconfig command
Catalog
ifconfig command
Show Network Devices
Set up network devices
ifconfig command
Function description: Display or set up network devices
usage
ifconfig [interface] [up|down]
ifconfig interface options | address ...
option
option
Explain
-a
Displays the status of all interfaces, including information about inactive interf ...
Posted by j0se on Thu, 21 May 2020 10:43:24 -0700
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