Error while loading shared libraries: libgd so. 2: Cannot open shared object error

This error is reported when installing and starting nginx today: error while loading shared libraries: libgd so. 2: Cannot open shared object. I checked the relevant information on the Internet and solved it. This record also allows friends who encounter this problem to solve it quickly. First, let's talk about the solution to help the friend ...

Added by purplenewt on Tue, 14 Dec 2021 21:38:22 +0200

nginx agent configuration

Simplest reverse proxy configuration upstream my_server { server 10.0.0.2:8080; keepalive 2000; } server { listen 80; server_name 10.0.0.1; ...

Added by kanenas.net on Thu, 09 Dec 2021 02:39:47 +0200

Docker compose + nginx deployment front and back end separation project

Docker compose + nginx deployment front and back end separation project The project is a front-end and back-end separation project using Vue +Springboot 1, Pretreatment 1. Before packing the project, go to File – > setting – > File encoding and change it to UTF-8 to prevent random code errors! Note: at this time, if ...

Added by cnnabc on Sat, 04 Dec 2021 22:57:50 +0200

Several ways for the front-end to realize the senseless refresh of token (pro test is effective)

Reprint https://segmentfault.com/a/1190000020210980 demand Recently, there is a demand: after the front end logs in, the back end returns the token and the valid time of the token. When the token expires, it is required to use the old token to obtain the new token. The front end needs to refresh the token painlessly, that is, when requestin ...

Added by praveenhotha on Wed, 01 Dec 2021 19:23:10 +0200

How to deploy Django and run it

nginx+uwsgi+Django installation 1. Introduction linux edition Centos7.5 uwsgi-2.0.20 Django-3.2.9 python3.9.0 nginx-1.16.0 2. Install nginx For the connection of installing nginx, please refer to this: https://blog.csdn.net/weixin_44217786/article/details/121608813 3. Install uwsgi Download the official website: https://uwsgi-docs.readth ...

Added by AXiSS on Wed, 01 Dec 2021 10:50:02 +0200

NGINX introduction to enterprise application practice - Basic

This is a series of free knowledge, including graphic version and video version. What you see now is graphic version.NGINX series courses are divided into three parts: basic part, advanced part and enterprise practice part. What you are reading now is basic part.The video version is published in my own community. Friends who like watching video ...

Added by bladx on Tue, 23 Nov 2021 09:32:31 +0200

Swagger access OAuth2 authentication

1.pom dependency Reference the Swagger dependency in the project where you want to use Swagger <dependencies> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency&g ...

Added by mrwowza on Mon, 22 Nov 2021 16:44:32 +0200

Front end code deployment code analysis

After the front-end static web page is deployed to the server corresponding to the specific public network IP, and then the interface is exposed, it can be accessed on the whole network. The following is the specific implementation and code analysis 1. First of all, we need to have a server with public ip address. The server I selected is Alib ...

Added by bmdsherman on Sun, 21 Nov 2021 22:19:08 +0200

Using NginScript as a file distribution service with permissions

Before, there was a CDN service with permission verification. It did not open overseas CDNs synchronously. It has always used a server in Hong Kong to provide file services. In order to implement the same authority algorithm as CDN, Node is used as the server. Of course, JS is very easy to do permission verification logic, but Node is a little ...

Added by mosizlak on Thu, 11 Nov 2021 10:12:39 +0200

LNMP architecture installation

1. Starting from version 1.20 of nginx, the official library is the same as the large version of epel, and the small version number of epel is updated. If you want to install the official, it is recommended to download the corresponding software package directly from the official yum install -y http://nginx.org/packages/centos/7/x86_64/RPMS/ng ...

Added by yacahuma on Tue, 02 Nov 2021 16:42:27 +0200