int3 and SingleStep jointly implement keyboard monitoring in Linux system (kprobe principle)

On the topic of Linux system keyboard monitoring, write something more. I've written three articles before. I can summarize them together. It's a simple problem and solve it more often Methods of standard inline hook:https://blog.csdn.net/dog250/article/details/106425811 Manual push/ret jmp inline hook method:https://blog.csdn.net/dog25 ...

Posted by Tyen on Thu, 04 Jun 2020 09:08:22 -0700

x86_ Principle and example of single step debugging for 64 platform

First look at a program: // simple.c int value = 0; int main(int argc, char **argv) { value ++; value ++; value ++; value ++; value ++; value ++; } Now I want to debug it step by step and track the change of value. How can I do it? You can use gdb. But if you want to understand what's going on behind the scenes, it's better to do it b ...

Posted by yshaf13 on Thu, 04 Jun 2020 08:24:06 -0700

Java implementation converts txt file to xls file

Recently, the project uses the conversion of txt file and xls file. Here are the specific ideas. Next, use java code to convert txt to xls. Here, use the jxl.jar Package, which is a tool class library for operating Excel tables through Java. The jar package supports font, number and date operations, can modify cell at ...

Posted by Harbinger on Wed, 03 Jun 2020 09:31:15 -0700

Getting started with kubernetes and going into the real world

Write before The previous series of articles have introduced the architecture, installation, upgrade and quick start of kubernetes. Readers have a preliminary understanding of kubernetes through the implementation of this article. Starting from this chapter, the basic concepts and core concepts of kubernetes are gradually introduced, including ...

Posted by ahmed17 on Tue, 02 Jun 2020 05:32:28 -0700

Modify the network card name in linux

How to modify the network card name in linux Use the ip add or ip link command to view the network interface details [root@centos6 ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet ...

Posted by detalab on Mon, 01 Jun 2020 08:46:58 -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

LVS load sharing (NAT mode) infrastructure

1. NAT mode topology and working principle There is a scheduler in front of a group of servers, which are connected through Switch/HUB. These servers provide the same network service and content, that is, no matter which server the request is sent to, the execution result is the same. The content of the service can be copied to the local hard d ...

Posted by Archadian on Mon, 01 Jun 2020 01:52:51 -0700

Three ways to check the normal running time of MySQL/MariaDB database on Linux - Zhihu

Each service has its own command to check the uptime of the service. But you can also use other commands for this. Source: https://linux.cn/article-12263-1.html By Magesh Maruthamuthu Translator: geekpi We all know the purpose of using the uptime command in Linux. It is used for checking Linux system uptime And the time s ...

Posted by kevinritt on Fri, 29 May 2020 17:56:15 -0700

Opencv + nginx RTMP module for image streaming

This scheme realizes RTMP streaming after single frame image processing Reference resources Nginx and nginx RTMP module building RTMP video live and on demand servers,<jkuri /opencv-ffmpeg-rtmp-stream>,Compiling and installing ffmpeg under Linux (modification - simple and complex final version) Setting up nginx server download ngin ...

Posted by naskar on Fri, 29 May 2020 09:06:38 -0700

Spring boot configures modular Services - one configuration is used everywhere

Configuring the service module is a bit like the configuration center, but the function is not so powerful for the time being. Later, the source address will be updated after improvement. catalog Project function introduction Project core configuration code Environment configuration Hidden configuration of MVC static resources Project f ...

Posted by lmg on Fri, 29 May 2020 07:21:25 -0700