1. Project introduction In September 2023, I successfully deployed a Django project on Alibaba Cloud. The specific environment is as follows: Server: Ubuntu Server 22.04 LTS 64bit (Linux) Reverse proxy server: Nginx WEB server: uwsgi Project framework: Django (version 4.2) Project running environment: Python3 2. The relationship between nginx, uwsgi and ubuntu 1. First, the […]
Tag: sgi
Suppose the ciphertext obtained by encrypting a plaintext by affine transformation is: `edsgi ckxhu klzve qzvkx wkzuk vcuh` and it is known that the first two characters of the plaintext are `if`, decrypt the ciphertext (known plaintext attack)
Suppose the ciphertext obtained by encrypting a plaintext by affine transformation is: edsgi ckxhu klzve qzvkx wkzuk vcuh It is also known that the first two characters of the plaintext are if, Decrypt the ciphertext (known plaintext attack) Suppose we are studying a known-plaintext attack on an affine cipher. Affine ciphers are simple substitution ciphers […]
docker+mysql+flask+redis+vue3+uwsgi+docker deployment
First pull the mysql image, the mysql5.7.6 used here docker pull mysql:5.7.6 Start after the image pull is completed: docker run –name my-mysql -d -p 3306:3306 -v /usr/local/my-mysql/conf:/etc/mysql/conf.d -v /usr/local/my-mysql/ data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7.6 Use dockerfile to build python3.9.11 + uwsgi + nginx FROM python:3.9.11 # Add tags to the image LABEL version=”v1″ description=”Docker deploy […]
9. ASGI of Django3
Nine, Django3’s ASGI 9.1, Web applications and web servers Web application (Web) is an application that can complete web business logic and allow users to access it based on a web browser. It can be a function or class that implements http request and response functions, or it can be Django, Flask, sanic Such a […]
Python uWSGI installation configuration
Python uWSGI installation configuration This article mainly introduces how to deploy simple WSGI applications and common web frameworks. Taking Ubuntu/Debian as an example, first install the dependency packages: apt-get install build-essential python-dev Python installation uWSGI 1. Through pip command: pip install uwsgi 2. Download the installation script: curl http://uwsgi.it/install | bash -s default /tmp/uwsgi Install […]
Django+Nginx+uWSGI+Supervisor actual combat
Hello everyone, I haven’t updated the article for a long time. I miss it very much. I have a lot of things going on recently, including family matters and work matters. I really don’t have much time to write articles. In fact, I have shelved some articles and haven’t organized them yet. Taking advantage of […]
uwsgi deploys multi-process django apscheduler and troubleshoots
About the author: Hello everyone, I am Zeeland, an open source builder and high-quality creator in the full-stack field. CSDN homepage: Zeeland My blog: Zeeland Github homepage: Undertone0809 (Zeeland) Support me: Like + Collection + Leave a message Introduction: The mixture of software dev + Iot + ml + anything Introduction The apscheduler that was […]
Django + Vue deployment server nginx + uwsgi
Django + Vue deployment server, nginx + uwsgi Premise: Make sure that the running environment of the server Django + Vue is normal, and you can manually run the front-end and back-end projects Description: Use Django to access the dict file of the front-end compilation product. The entire web service runs on port 82, the […]
Deploy Django with nginx+uwsgi under centos
Try to use centos nginx + uwsgi to deploy a previous django project. The process of solving the problem is long and arduous, but it turns out to be worthwhile. If you are deploying a Django project, I hope it can help you Prerequisites What I use: python3.6 mysql5.7 django project 3.2 First, download python […]
Python asynchronous programming|ASGI and Django (with source code)
Asynchronous Server Gateway Interface (ASGI) adheres to the WSGI unified gateway interface principle, provides a standard interface between asynchronous services, frameworks and applications, and is compatible with WSGI. 01, ASGI ASGI is a new standard redesigned based on the idea of a unified interface. You may have doubts, why not directly upgrade WSGI and create […]