The installation tutorial of MinGW-w64 for gcc

1, What is MinGW-w64? The full name of MinGW is: Minimalist GNU on Windows. In fact, GCC, the classic open source C language compiler, is ported to the windows platform and contains the Win32 API, so the source code can be compiled into executable programs that can run in windows. In addition, you ...

Posted on Thu, 25 Jun 2020 06:26:36 -0400 by jay_bo

Internal installation of nginx in docker

Docker installation Nginx environment To install Nginx, you can directly use the apt get install Nginx command of ubuntu to install. This is the easiest and most convenient way to install. However, the version of Nginx may be older, so here I choose to compile and install. Nginx needs to rely on the following three packages The gzip module ...

Posted on Fri, 01 May 2020 09:11:07 -0400 by miramichiphoto

Nginx + maintained high availability cluster simple building (master-slave and dual master)

nginx builds high availability cluster In this paper, we will use keepalived + nginx to build a high availability cluster, and introduce the master-slave mode and dual master mode respectively. Environmental preparation First, we need to prepare the environment. In this paper, we use two virtual machines to build a nginx high avail ...

Posted on Sat, 11 Apr 2020 22:25:18 -0400 by valtido

PHP version 5 to 7 source compilation and installation

What a successful installation looks like: [root@localhost /]# systemctl status php-fpm ● php-fpm.service - php-fpm    Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)    Active: active (running) since Thu 2020-04-02 15:22:00 CST; 2 days ago  Main PID: 6251 (php-fpm)     Tasks: 4    CGroup: /system.sli ...

Posted on Sun, 05 Apr 2020 14:04:01 -0400 by jredwilli

Gausdb t ha mode deployment

Currently, gausdb t supports one active multi standby deployment and one active multi standby multi-level joint standby deployment. The sum of the number of standby machines and cascade standby machines can support up to 9. This paper is an active and standby environment. The Primary role in gausdb t is the Primary node in the Primary Standby ...

Posted on Fri, 13 Mar 2020 01:17:41 -0400 by karnegyhall

SSH migration of embedded Linux development board

SSH service can easily log in to the Linux development board through the network, and support SFTP protocol to transfer files to the development board. Let's briefly talk about the migration process. Development board environment: Name: imx283 Kernel: Linux 2.6.35.3 1. Download source code zli ...

Posted on Sun, 23 Feb 2020 04:16:15 -0500 by fastidious

install.php reinstall vulnerability in PHP code audit

Preface: This set of php source code was sent to me by the teacher in the previous class, which contains a lot of conventional loopholes. I feel that it is very suitable for beginners to audit (my php chicken). Today's article is also audited before, and I feel that it has practical meaning, so I will ...

Posted on Thu, 06 Feb 2020 01:57:45 -0500 by postmanager

Linux 3.4.2 Kernel Porting

Experimental Platform: Jz2440 Development Board 1. Simple modification of linux 3.4.2 kernel transplantation 1. Download the 3.4.2 kernel from the website and get the linux server decompression kernel: tar xjf linux-3.4.2.tar.bz2 2. Enter the linux-3.4.2 directory and modify Makefile to specify the C ...

Posted on Tue, 04 Feb 2020 21:48:13 -0500 by vietnamese

Linux source installation and configuration of Nginx

Experimental environment A CentOS 7.3 virtual machine with minimal installation Install nginx Install nginx dependency package yum install -y pcre-devel zlib-devel openssl-devel wget gcc tree vim Nginx depends on pcre, zlib and openssl. If there is any problem in the pre compilation configuration Three packages (PCRE devel, zlib devel, OpenS ...

Posted on Fri, 31 Jan 2020 01:00:04 -0500 by bcoffin

MFS Distributed File System Setup

Overview of MFS MooseFS is a fault-tolerant network distributed file system.It distributes data across multiple physical servers and presents users with a unified resource. advantage 1. High reliability (multiple copies of data are stored on different computers) 2. Dynamic capacity expansion can be achieved by attaching a new computer or har ...

Posted on Mon, 06 Jan 2020 18:24:40 -0500 by loopt