Using Nginx server to publish front page

As an http server, Nginx can be used as a web page static server. Before deploying static resources, let's learn about the Nginx configuration file user nobody; #Start the process, usually set equal to the number of CPUs worker_processes 1; #Global error log and PID file #error_log logs/error.log; #error_log logs/error.log notice; #error ...

Posted by condoug on Sun, 05 Apr 2020 01:51:52 -0700

ThinkPHP5.0+APP+ Alipay payment server development

Working environment, Alipay account is company, app application and secret key configuration are my own application, and the process is temporarily skipped. 1, Preparations appid, application private key, application public key, Alipay public key 2, Profile 'alipay'=>[ 'appId' => '20180300000000', 'gatewayU ...

Posted by hchsk on Sat, 04 Apr 2020 20:08:39 -0700

[bzoj4919][Lydsy1706 race] big root heap [dp], [heuristic combination], [stl]

[title link]   https://www.lydsy.com/JudgeOnline/problem.php?id=4919 [Abstract] A wonderful question. Consider the method of finding the longest ascending sequence by dp of N * logNN * logN. We store each of these values in multiset. Then the ranking of one value from small to large is the sequence length with the ...

Posted by gsb on Sat, 04 Apr 2020 20:06:42 -0700

Docker complete site introduction

1, Operation on the main server: complete the installation of docker; omitted 2, View image [root@localhost ~]#docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE centos/shop2.web.top latest 8fc9b211671a 14 minutes ago 1.835 GB ..... 3, Running image ...

Posted by LiamS94 on Sat, 04 Apr 2020 10:45:54 -0700

jquery form validation plug-in - validation form

The blogger recommended jQuery Validate before, because it was used before, but the configuration was a little bit cumbersome. Until the recent project used the validform, it opened my eyes. The whole interface suddenly felt too friendly. Let's take a few renderings first. There are very few css and j ...

Posted by chemoautotroph on Fri, 03 Apr 2020 23:15:41 -0700

A complete solution to the installation and version switching of PHP on Ubuntu

The official sources on Ubuntu, such as PHP5.6.x in Ubuntu 14.04 and PHP7.0.x in Ubuntu 16.04, what should I do if I want to install PHP7.1 and PHP7.2 on Ubuntu 16.04? The answer is to install from a third-party source, ppa:ondrej/php It is a well-known PHP source (currently maintaining php5.6,php7.0,php7.1,php7.2). Use this source to install t ...

Posted by RobNewYork on Fri, 03 Apr 2020 15:54:46 -0700

Zabbix monitoring platform installation and deployment

Zabbix monitoring platform installation and deployment For the deployment of Zabbix monitoring platform, at least four components need to be installed, namely, Zabbix? Server, Zabbix? Web, Databases, and Zabbix? Agent. The detailed steps for the installation and configuration of Zabbix monitoring platform are as follows: 1, System environment ...

Posted by AsiaUnderworld on Fri, 03 Apr 2020 14:08:13 -0700

Wechat applet - complete the payment function of the applet

Recently, we have developed small programs, and we have been looking at the payment of small programs. After a day's hard work, the applet payment function is finally realized. Thanks to csdn blogger: the "little program and php to realize wechat payment" released by Qiandui xuegedust Original address: http:/ ...

Posted by ltoto on Fri, 03 Apr 2020 08:32:08 -0700

Design mode 9.1 - appearance mode

Appearance mode: a unified interface is defined to access a group of interfaces in the subsystem. Appearance pattern and adapter pattern are similar in implementation, but their application intention is different. The adapter pattern is intended to change one interface into another, and the facade pattern is intended ...

Posted by rxbanditboy1112 on Fri, 03 Apr 2020 07:55:24 -0700

Thinkphp5+PHPMailer for sending mail

PHP needs to start the following services to send mail: SMTP: Simple Mail Transfer Protocol for sending mail POP3: Simple mail access protocol, one-way, local mail operations will not be synchronized to the mail server to receive mail IMAP: is a more complex mail access protocol than POP3. It is bidirectional, and local operations on mailboxes ...

Posted by dustbuster on Fri, 03 Apr 2020 07:54:38 -0700