centos7.4 source code build LAMP_ Nginx configuration ——1;

1. Default Virtual Host Modify configuration files vim /usr/local/nginx/conf/nginx.conf Add "include vhost/*.conf;" in the last penultimate line (all files ending with. conf under vhost will be loaded so that all virtual host configuration files can be placed in the vhost directory)   Create vhost, edit configu ...

Posted by phpBever on Wed, 15 May 2019 22:49:45 +0200

Create the first block chain using Java

The purpose of this series of tutorials is to help you understand how to develop block chain technology. In this tutorial, we will: Create your first very basic block chain. Implement a simple workload certification system (mining). Explore any possibility. I assume you have a basic understanding of object-oriented programming. It is notewort ...

Posted by tphgangster on Tue, 14 May 2019 23:28:59 +0200

Python list, meta-ancestor

Part of the content is compiled from Python, Little Turtle List: An array of hormones The concept of arrays is to put a large number of data of the same type together one by one, and then indexed by array subscripts. But the basic requirement of arrays is that the data you put together must be of the same type. Because Python ...

Posted by fishown on Sat, 11 May 2019 20:02:05 +0200

Detailed description of the shell with python to automatically install zabbix monitor

Script environment 1.linux centos 7 system2. The CD-ROM image file has been mounted3. The system can connect to the external network.4. Font links: https://pan.baidu.com/s/1m9WJys5aGuUi-WgBG-zrxw Extraction code: qq6r Experimental steps 1. Upload font files and zabbix scripts to the Linux system / root directory Method 1: Mount Method 2: U ...

Posted by sicKo on Sat, 11 May 2019 10:00:42 +0200

Building wnmp under Windows

The running environment is windows server 2008 64-bit system. Installation directory D:/wnmp Mysql 5.7 Download Address: https://dev.mysql.com/downloads/mysql/5.7.html#downloads (This article chooses 5.7.25 | Microsoft Windows | All | Windows (x86, 64-bit), ZIP Archive) php7.2 Download Address: https://windows.php.net/downloads/releases/php-7. ...

Posted by cyberlew15 on Sat, 11 May 2019 09:05:31 +0200

Examples of PHP and Redis implementing snap-up and secondkill in high concurrency

Snap-up and second-kill are common scenarios. Interviewers often ask questions during interviews, such as how to achieve the snap-up second-kill in Taobao. Buying and killing in seconds is very simple, but there are some problems to be solved, mainly for two problems:1. Pressure on databases caused by high concurrency2. How to ...

Posted by philooo on Fri, 10 May 2019 20:28:18 +0200

PHP Full Stack Learning Notes 13

PHP Full Stack Learning Notes 13 php and ajax technology With the arrival of web2.0, Ajax has gradually become the mainstream, what is ajax, the development mode of ajax, the advantages, and the use of technology.(ajax overview, technology used by ajax, issues to be noted, application of Ajax technology in PHP) What is ajax ...

Posted by Chelsove on Fri, 10 May 2019 16:46:59 +0200

php downloads Chinese file name compression packages via header corrupted or non-existent

We all use utf8 code in development. Yesterday we encountered a strange pit. It was a small problem and wasted an hour to solve.Don't talk too much. Implant the topic: File download method: download from header binary stream fileRequirement: File upload keeps file name unchangedData field file_url value: /public/upload/files/2019/04-29/Chinese ...

Posted by Irksome on Fri, 10 May 2019 11:18:03 +0200

Html Introduces Baidu Rich Text Editor ueditor

Rich text editor is powerful and easy to use. I use Baidu Rich Text Editor. First of all, I need to download it well. demo of Baidu Editor, Then create the ueditor.html file, introduce Baidu Editor, then introduce it into the html file, and then use js to instantiate the editor. The code is as follows: <!DOCTYPE html> <html> <h ...

Posted by elle_girl on Thu, 09 May 2019 20:10:04 +0200

Constructing an application dApp of Etherfang+IPFS+React.js

Why do we build this? It is very expensive to store a large amount of data on the block chain of Taifang. According to the Yellow Paper of ETF, it is about 20,000 gas, 256 bit/8 bytes (1 word). Based on 02/28/2018 gas price is 4 gwei/gas. Please refer to: https://ethgasstation.info Know the current price. Each transaction has 8 bytes of 20,000 ...

Posted by thepreacher on Wed, 08 May 2019 18:00:02 +0200