fastDFS Distributed File System Setup

Overview of fastDFS _FastDFS is an open source, lightweight, distributed file system, which manages files, including file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing.It is especially suitable for online services with files as carriers, such as photo al ...

Added by binarynomad on Tue, 07 Jan 2020 20:38:33 +0200

CentOS 7.4 source installation nginx 1.14

Operating system: CentOS 7.4 Nginx version: nginx-1.14.1 The current Stable version is nginx-1.14.1 Reference resources Different from JRE and Tomcat, nginx is not only decompressed, but also compiled and installed. The specific steps are as follows: I. preparation environment If the environment preparation is not complete, it will be exec ...

Added by La Parka on Mon, 09 Dec 2019 19:47:30 +0200

Cache MEMCACHE php calls

In the project, when large amount of access is involved, reasonable use of cache can reduce the pressure of database and improve the user experience. That is, under the premise of non real-time demand, for a short period of time (several seconds), the data used to display is obtained from the cache, instead of directly reading the database, whi ...

Added by errtu on Sat, 30 Nov 2019 22:00:41 +0200

Using archive to compress files in nodejs

Preface archive is a tool for cross platform packaging in nodejs You can compress the file to zip or rar format It is a better third-party module install npm install archiver --save archive github address: https://github.com/archiverjs/node-archiver Quick Start // require modules var fs = require('fs'); var archiver = require('archiver'); // ...

Added by Dustin013 on Tue, 26 Nov 2019 17:48:33 +0200

Compile and install nginx 1.16.0 in CentOS 7 (full version)

I. installation dependency package yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel Dependency package description: 1. Compilation depends on GCC environment, so it needs: gcc-c + +; 2. PCRE(Perl Compatible Regular Expressions) is a perl library, including perl compatible regular expr ...

Added by bluegreen1 on Fri, 08 Nov 2019 21:00:13 +0200

"Small Program JAVA Actual Warfare" Small Program Video Processing Tool ffmpeg (47)

The video has been successfully uploaded to our server, and the ID of background music has been selected. Now we need to merge the video and background music, and we need to use a tool ffmpeg. Source: wx-spring boot and No.15 in https://github.com/limingios/wxProgram.git ffmpeg introduce> Video and Audio Processing Tools, Cross-platform Vid ...

Added by shadiadiph on Thu, 03 Oct 2019 05:45:45 +0300

Build PHP+Nginx Environment on Linux

PHP+Nginx Environment Setup Author: Mirror ^^ Reference article: ​ Nginx+PHP+MySQL Installation Reference ​ PHP Source Installation Experience ​ Common problems in PHP source environment building CentOS environment Configure the CentOS-7 network: CentOS (minimum installation) does not open the network by default Start the network vi Open: / ...

Added by pdn on Fri, 13 Sep 2019 21:41:18 +0300

Using nginx under yum installation, the method of adding modules

1.yum installs nginx rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2. View nginx information yum info nginx 3.yum installs nginx yum -y install nginx 4. View the nginx parameters of yum ...

Added by bios on Tue, 03 Sep 2019 12:58:39 +0300

VS2015 static compiler Qt5.5.1 (including Qtwebkit)

VS2015 static compiler Qt5.5.1 (including Qtwebkit) kingbhy 2018.04.12 20:06* Word number 859 webkit is needed in the project, and the source code of webkit is investigated, but the source code is relatively large, and compiling with xcode is ...

Added by Benjigga on Mon, 02 Sep 2019 14:54:49 +0300

python foundation (py3.6 installation, annotations, input and output, variables, data types, arithmetic symbols)

python installation python3: 1. Get the source package (3.6) - > Download it on the official website (www.python.org) 2. tar zxf Python-3.6.4. tgz-C/opt/# decompression installation package 3. Enter the decompressed directory to compile and inst ...

Added by DeathStar on Mon, 02 Sep 2019 07:41:39 +0300