Using brew to install nginx and configure

Installation process brew is used here to install the software. install brew install nginx View the installation information (often used, such as viewing the installation directory, etc.) sudo brew info nginx After installation, it mainly depends on where brew installed nginx. The default is to install it to / usr/local/etc/nginx/nginx.c ...

Posted on Sun, 05 Apr 2020 06:05:43 -0700 by doremi

Centos 7 configures nginx aliyun ECS

Centos 7 configures nginx, common nginx operations, start / stop, proxy, reverse proxy settings, and https ssl 443 configuration Linux Query nginx main process number ps -ef | grep nginx Start / restart ## Execute the command under nginx/sbin ## start-up ./nginx -c /usr/local/nginx/conf/nginx.conf ## restart ./nginx -s reload Stop it ## Calmly ...

Posted on Thu, 05 Dec 2019 06:09:47 -0800 by opido

Request Let's Encrypt wildcard SSL certificate

Preface This article installs certbot on your own computer. Verify domain name ownership through DNS. After 90 days, the certificate needs to be renewed manually. After the certificate is obtained, it is uploaded to the server manually, which is only suitable for the development mode. Please refer to other articles for the automated issuance pr ...

Posted on Sun, 01 Dec 2019 14:39:09 -0800 by freynolds

When executing npm, icu4c reports an error. Use brew to install the old version of icu4c, icu4c 62.1

When I executed npm install as usual, the computer gave me a big blow ➜ RNDemo npm install dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib Referenced from: /usr/local/bin/node Reason: image not found [1] 4976 abort npm install According to the normal operation, I first check whether I can sw ...

Posted on Fri, 29 Nov 2019 07:08:12 -0800 by rickbond79

Solution of long time card in Updating Homebrew by executing brew install command

In the process of using Homebrew to install software in the domestic network environment, it may be stuck in the Updating Homebrew step for a long time. Example: execute the brew install composer command ➜ ~ brew install composer Updating Homebrew... # If you are stuck here for a long time, please refer to the following two handling methods ...

Posted on Thu, 14 Nov 2019 08:12:10 -0800 by sambkk

How to use latex gracefully on mac

Why this document was written After a week's exposure to latex, I suddenly want to record the configuration of latex environment on mac for people who need to use it. I won't introduce all kinds of knowledge about latex here. I'll go straight to the subject! I'm used to using Microsoft's vscode to wri ...

Posted on Wed, 30 Oct 2019 22:08:44 -0700 by galafura

Several lines of python code-verification code recognition processing

First, in automated testing, there are two ways to deal with verification codes: 1. Look for development to remove validation codes or use universal validation codes 2. Automatic identification using OCR Here, one way is to communicate with R&D. ...

Posted on Sun, 15 Sep 2019 07:05:00 -0700 by the_ut_tick

Torture Server: Docker Project Packing and Publishing + One-click Deployment of Multiple Applications

Torture Server: Docker Project Packing and Publishing + One-click Deployment of Multiple Applications Recently, in Torture docker, multiple applications can be deployed simultaneously with one local key Don't understand docker's advice at all Official Documents Oh ~ Main process After the project ...

Posted on Sat, 10 Aug 2019 05:59:42 -0700 by wad

Tensorflow implements Android mobile end modeling

Summary With the wide application of in-depth learning and the open source of Tensoflow, there are endless model applications on the mobile side.This paper introduces the author's experience in the construction process, and hope to help you. Installation of Mac-side Tensorflow CPU version If you are not using a good GPU, you can insta ...

Posted on Tue, 02 Jul 2019 10:11:15 -0700 by jalapena

Performance optimization of Go program and application of pprof

Performance optimization of Go program and application of pprof Program performance optimization is nothing more than the optimization of the resource occupied by the program. For servers, the two most important resources are CPU and memory. Performance optimization is that we usually require the CPU of the program to occupy as little memory as ...

Posted on Sat, 01 Jun 2019 12:39:54 -0700 by cheald