Advanced Programming in Unix Environment Chapter 11: Threads

.... Chapter 10 signal notes have not been written yet, I guess it's still too dish. Many demo effects in the book are totally different from those in the book. It's a bit difficult to add the signal chapter. I'll fill in the code pit in the book and then fill in the tenth chapter notes. * 1 Thread A ty ...

Posted on Sat, 10 Aug 2019 05:34:12 -0700 by peachsnapple

linux Text Processing sed, Package Management, Disk Storage and File System

1. Base name and document name [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\1@' /etc/sysconfig/ [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\2@' network-scripts 2. Modify the network to eth0 [root@centos7 scripts38]#sed -ri '/^[[:space:]]+linux16/s@( ...

Posted on Sat, 10 Aug 2019 01:13:39 -0700 by s_bastian

Summary of hackme.inndy rsbo2 experience

I want to use retdl-resolve to solve this problem, but I can't pass my script. I searched other WPS and found that there are many ways to solve this problem. I use DynELF to leak libc address or write to leak libc address directly (the title is given to libc). But I just want to use stack migration and ...

Posted on Wed, 07 Aug 2019 03:05:36 -0700 by nsbrown

keepalived high availability cluster

Catalog Cluster Cluster keepalived: Components: KeepAlived Implementation KeepAlived dual master configuration example: Cluster Cluster Cluster type: LB lvs/nginx(http/upstream, stream/upstream) HA High Availability SPoF: Single Point of Failure HPC Formulas for system availability: A=MT ...

Posted on Wed, 07 Aug 2019 02:16:01 -0700 by agent47

MySQL 5.7 Multi-Instance Installation Configuration

1. Background description MySQL multi-instance concept Simply put, it is to open multiple different service ports (e.g. 3306, 3307) on a single server and run multiple MySQL service processes, which provide their services through different socket s listening on different service ports. b. MySQL multi-instance roles and problems Effective uti ...

Posted on Wed, 07 Aug 2019 01:44:24 -0700 by JunbinDuan

kubernetes CRD Development Guide

Extending kubernetes is the two most commonly used and most needed things to master: custom resources CRD and adminsion web hook. This article teaches you how to master CRD development in 10 minutes. kubernetes allows users to customize their own resource objects, just like deployment stateful settings, which are widely used. For example, prome ...

Posted on Wed, 07 Aug 2019 00:54:09 -0700 by jstinehelfer

Compiling android source code in Docker environment | Compiling runnable xposed

Links to the original text: https://www.imisty.cn/?p=207 Preface Because my computer is the version of Ubuntu 18, after successfully compiling xposed and brushing into the mobile phone, it can't start, checking all the environments, no pr ...

Posted on Tue, 06 Aug 2019 01:23:51 -0700 by Robert Plank

JSch-Implementing Server Remote Operation with java

introduce Some time ago, a special requirement was received, and a service for deploying services was needed. The main task is to deploy a k8s service cluster to the remote server, and the connection information of the specific server will be transmitted through the interface. Originally, the deployment was done manually. It is nothing more t ...

Posted on Sun, 04 Aug 2019 19:34:08 -0700 by whistler

Docker Learns java Application Doker Deployment

The java micro-service deployment servers we wrote before are cumbersome. You need to install java on the server, configure environment variables, and then upload the war, jar package to the server deployment.Especially if you didn't use springboot before, you should install tomact, which is docker deployment today. Preparing java services pom ...

Posted on Sun, 04 Aug 2019 19:29:51 -0700 by vikette

Linux Experiment 1 Common Commands and Shell Programming for Linux

Experiment 1 Linux Common Commands and Shell Programming I. Experimental Contents 1. Exercise a) When running the program on the command line, the Linux system searches a series of directories in the $PATH variable to find the corresponding files, writes a script to output all executable files in th ...

Posted on Sun, 04 Aug 2019 00:54:53 -0700 by importune