Problems of brew installation in Mac os

It's finally done! HomeBrew homebrew is a good installation tool under OS X, similar to apt get under linux However, from last summer vacation, the installation of this software can not be installed, baidu several times can not.. Several more installations were attempted during.. Uninstall, re install several times, or not.. This is an e ...

Posted by kirk112 on Mon, 20 Apr 2020 09:49:43 -0700

Shell notes: if and case condition judgment

1, if statement Single branch if statement Syntax (spaces at the beginning and end of brackets cannot be omitted): if [conditional judgment]; then program fi #Or if [conditional judgment] then program fi   Example: #!/bin/bash #If the usage rate of the root partition reaches 80, a warning will be issued and a prompt messag ...

Posted by steviemac on Mon, 20 Apr 2020 08:23:46 -0700

Minio related configuration and problem record

First of all, Minio has written clearly and in Chinese on its website. https://docs.min.io/cn/ In the project, the OSS function needs to be replaced and implemented. The code corresponding to the original public cloud implementation has been encapsulated into a tool class, and the factory method mode is adopted. As long as the mini interface a ...

Posted by friedice on Mon, 20 Apr 2020 03:58:05 -0700

centos 7 builds svn+apache server and discusses the difference between SVNParentPath and SVNPath

1. Preface Today, the leader asked to set up a set of svn servers to store some documents, which was supposed to be a very simple thing, but the process was not so smooth, mainly because he did not understand the problems caused by SVNParentPath and SVNPath, and only after finding the documents and debugging, did he find out their use and diff ...

Posted by zaki on Fri, 17 Apr 2020 03:24:14 -0700

Quick learning - simple voting DApp

Simple voting DApp Next, we will start to make a DApp. Although it is a very simple voting application, it will contain a complete workflow and interaction page. The main steps to build this application are as follows: We first install an analog blockchain called ganache, which can let our program run in the development environment. Writ ...

Posted by bubbadawg on Fri, 17 Apr 2020 03:00:05 -0700

nacos configuration center timeout issue: java.net.ConnectException: no available server, currentServerAddr

1. Questions In a project architecture, use the SpringCloud microservice architecture, which configures Alibaba-Cloud to use SpringCloud components. The Service Discovery and Configuration Center uses Alibaba's open source component nacos, nacos-server is deployed in the centos7.0 environment under linux. Each service starts with a con ...

Posted by fatal on Fri, 17 Apr 2020 00:26:45 -0700

FFmpeg setting OpenMax hardware encoding

OpenMax is a unified multimedia framework. ffmpeg supports H264 OpenMax encoding. This paper records how to enable OpenMax encoding. ffmpeg version: 4.0 OpenMax header version: 1.2 First download ffmepg, then the header file of OpenMax, and extract the zip of the header file to get Copy the header file to the include of the corresponding pla ...

Posted by thebopps on Thu, 16 Apr 2020 09:11:16 -0700

Comparing LINUX and CORTTEX-M startup processes

1 CORTEX-M 1.1 boot program Take stm32 as an example, add an online upgrade boot program with rom address: LR_IROM1 0x08000000 0x00004000 { ; load region size_region ER_IROM1 0x08000000 0x00004000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x20000000 0x00020000 ...

Posted by emfung on Tue, 14 Apr 2020 21:54:26 -0700

Binary installation MySQL 5.7

Binary deployment is relatively simple, so you can go to MySQL official website to download the MySQL binary package without installing the dependent environment. Or download through the link of my network disk, which contains the script for automatic deployment. Note: the latest MySQL version 8.0 is completely consistent with the deployment p ...

Posted by BZero on Tue, 14 Apr 2020 10:07:00 -0700

Redis sentinel mode to realize master-slave failover

Redis Sentinel is a distributed system. You can run multiple Sentinel processes in one architecture. These processes use the gossip protocols to receive information about whether the primary server is offline, and use the agreement protocols to decide whether to perform automatic failover, And which slave server to choose as the new master serv ...

Posted by adnan1983 on Tue, 14 Apr 2020 00:10:15 -0700