2020 latest nginx+gunicorn+supervisor deployment detailed strategy of production environment of project based on flash development

This strategy is based on the version of Ubuntu 1804, the Huawei cloud server used by the server, python 3 (python2 has completely stopped maintenance in 2020, so it is necessary to switch to Python 3). Welcome to add my QQ6398903, or QQ group to discuss related technologies 1, Prepare the modules required for the project You need to ex ...

Posted on Mon, 04 May 2020 06:09:38 -0400 by joejoejoe

tornado environment deployment supervisor

This is directly installed under the root role, not in the virtual environment. The knowledge of the virtual environment is related to the program https://www.jianshu.com/p/e1c3e6fbae80 http://blog.51cto.com/zengestudy/2052794 https://www.jianshu.com/p/e1c3e6fbae80 1 download and install # There will be problems with pip installation. It's b ...

Posted on Sat, 02 May 2020 01:23:18 -0400 by luvburn

The server environment of nginx + supervisor + NETCORE 2.1 deployed under CentOS 7

Because of the work needs, I deployed a centos7 server to deploy the server environment of NETCORE 2.1. The related contents are as follows Deployment debugging of NETCORE 2.1 Deployment of supervisor Daemons nginx reverse agent deployment and simple load balancing example Other related software used are vs2017, xshell, xftp The conten ...

Posted on Fri, 24 Apr 2020 15:18:06 -0400 by naskar

kubernetes master node goes down and restarts, resulting in the unavailability of kubelet

A k8s master node loses its remote connection. After reconnecting, it is found that the running time of the server becomes shorter. The operation time of the other master node is 18 days. It is suspected that the machine is down and restarted. [root@hdss7-21 ~]# uptime   15:56:20 up 22:01,  1 user,  load average: 0.38, 0.35, 0.41 Check the run ...

Posted on Fri, 27 Mar 2020 10:07:39 -0400 by $kevan

The dictionary duplicate assignment in python, and the exception thrown in append to list

Today, I encountered a misuse of python dictionary. First code: data = [{'id': '1', 'name': 'Administrators', 'role': 'admin', 'desc': 'system administrator', 'acl': None}, {'id': '2', 'name': 'research and development', 'role': 'dev', 'desc': 'R & D personnel', 'acl': None}, {'id': '3', 'name': 'test', 'role': 'qa', 'desc': 'Testers', ' ...

Posted on Thu, 19 Mar 2020 11:56:13 -0400 by bhawap

java design pattern: responsibility chain pattern (enterprise case)

There are 23 java design patterns in total, which are mainly divided into three categories: 1: Creation mode Factory method pattern, abstract factory pattern, singleton pattern, creator pattern, prototype pattern. 2: Structural mode Adapter mode, decorator mode, agent mode, appearance mode, bridg ...

Posted on Sun, 15 Mar 2020 01:01:41 -0400 by expostfacto

Nginx + django + uwsgi + cellery + supervisor deploy multiple django projects

Multiple django projects deployed in Alibaba cloud CentOS 7 I. nginx Two, uwsgi 3, Starting cellery with the supervisor Daemons I. installation Two, configuration 3, Common commands 4, Start automatically I. nginx server { listen 80; server_name Extranet ip address; location / { ...

Posted on Sat, 22 Feb 2020 10:08:19 -0500 by daf_cr

MySQL database -- add, delete and change

Hello, everyone, welcome to meet you. After the last two query summary posts, today I will sort out the addition, modification and deletion of the data table. Last two Hyperlinks:Basic chapter portalAdvanced level chapter portal Add today's finishing this article, together with the addition, deletion, c ...

Posted on Tue, 14 Jan 2020 04:59:49 -0500 by azeem123456

How to install blue whale's app? Mgr when ssh is not the default 22 port?

How to install blue whale's app? Mgr when ssh is not the default 22 port? How to install blue whale's app? q. Prerequisite knowledge: This article is based on how to install the blue whale job when ssh is not the default 22 port? "https://blog.csdn.net/haoding205/article/details/82774317 1. introduction: In the above, ...

Posted on Sun, 29 Dec 2019 13:47:00 -0500 by bfinucan

Manage AirFlow methods

@[toc] Manage AirFlow methods Supervisor, a process management tool Install process management tool supervisor to manage the airflow process Easy? Install supervisor? This method is not applicable to Python 3 installation (many problems will occur) echo_supervisord_conf > /etc/supervisord.conf Edit the file supervisor.conf and add t ...

Posted on Sun, 29 Dec 2019 11:12:27 -0500 by Angus