GCC 9.2 compiler installation method and C++17 standard test example in Ubuntu 16 system

1. Download the source file    http://mirror.linux-ia64.org/gnu/gcc/releases/gcc-9.2.0/   2 compile and install #decompression tar zxvf gcc-9.2.0.tar.gz #Create compilation directory mkdir gcc-9.2.0-build As shown in the figure   3 download dependency package cd /home/gcc/gcc-9.2.0-build ...

Posted by gijew on Sun, 14 Jun 2020 09:25:44 +0200

Docker's Custom Mirror Upload Aliyun

Introduction to Alpine Linux 1.Alpine Linux is a lightweight Linux distribution. It is different from the usual Linux distribution (centos, Ubuntu), Alpine uses musl libc and BusyBox reduces system size and runtime resource consumption. 2.Alpine Linux provides its own package management tool ...

Posted by lanjoky on Sun, 23 Feb 2020 05:29:38 +0100

CVE-2019-14287 (Linux sudo vulnerability) analysis

Author: lu4nx @ know Chuangyu 404 active defense laboratory Author blog: CVE-2019-14287 (Linux sudo vulnerability) analysis Original link:https://paper.seebug.org/1057/   Recently sudo was exposed a vulnerability, unauthorized privileged users can bypass the restrictions to obtain privileges. For the official repair notice, please refer to: ...

Posted by shmick25 on Tue, 22 Oct 2019 09:49:46 +0200

alpine mirror java log Chinese question mark garbled

0x00 Preface I use alpine as the foundation mirror to build jdk8 image, and provide support for java micro service architecture of online business. However, if there is Chinese in the printed log of java services running in containers, there will be the following "?"? Here's how to solve this problem, reprinted from this in github is ...

Posted by abx_2112 on Wed, 09 Oct 2019 23:45:44 +0200

CentOS 7.6 Quietly (without graphical interface) Install Oracle 11g

I. Preparations 1. Preparing the CentOS 7 System Environment Because it was installed in silent mode, without using a graphical interface, I chose the smallest installed server version of entOS 7. After installation, only the command line interface is available. 2. Download Oracle 11g (1) Oracle's official website: http://www.oracle.com/t ...

Posted by m4x3vo on Thu, 05 Sep 2019 03:50:49 +0200

Signal: Signal Processor Function

Signal: Signal Processor Function 1 Design signal processing function Sets a global flag variable in the signal processing function and exits. The main program periodically checks the flag. Once the flag is set, it performs the corresponding action. If the main program cannot periodically check because of the I/O state, it ...

Posted by scoobydoo9749 on Fri, 17 May 2019 11:33:19 +0200

ifname of network interface and ifndex query of interface index under linux

Relevant function interface information: #include <net/if.h> unsigned if_nametoindex(const char *ifname); char *if_indextoname(unsigned ifindex, char *ifname); struct if_nameindex *if_nameindex(void); void if_freenameindex(struct if_nameindex *ptr); if_nametoindex(): Specifies the network interface name string as a param ...

Posted by amithn12 on Fri, 10 May 2019 23:58:15 +0200