Spring Boot 2.0 (V): Docker Compose + Spring Boot + Nginx + Mysql Practice

I know you have read several articles I wrote about docker during this period. It's not painful or itchy, and you still don't feel the convenience of docker. Yes, I know your felling. It's really boring to know what the concept is in the early stage. Please don't rush to start at once. When you know something about doc ...

Posted by ciaran on Wed, 02 Jan 2019 13:09:09 -0800

SO_REUSEADDR and SO_REUSEPORT socket options for TCP/IP programming

Basic concepts: The SO_REUSEADDR socket option has four different functions: (1) SO_REUSEADDR allows you to start a listening server and bundle well-known ports, even though previously established ports still exist as their local ports. This condition is usually met as follows: A) Start a listening server; b) Connect to the req ...

Posted by YappyDog on Wed, 02 Jan 2019 09:51:09 -0800

Integrated solution for nginx+tomcat load balancing and redis shared session (By Centos 7)

Document preparation nginx: nginx-1.10.3.tar.gz tomcat8: apache-tomcat-8.0.43.zip redis: redis-3.2.8.tar.gz Ruby (when using redis cluster): ruby-2.4.1.tar.gz TomcatRedisSessionManager(From GitHub): TomcatRedisSessionManager-1.1.1.zip jdk :jdk-8u131-linux-x64.tar.gz Environmental installation PS: It is recommende ...

Posted by leeue on Tue, 01 Jan 2019 10:57:08 -0800

Django|Nginx|Uwsgi|Redis|Websocket Configuration, Use and Deployment

Introduction Where to Start mysql installation Install Nginx Install php virtual environment Redis Installation and Configuration Redis installation Configure redis to use unix domain sockets Configure Redis as the back end of django session storage and caching django-websocket-redis install To configure deve ...

Posted by TheBentinel.com on Tue, 01 Jan 2019 09:51:08 -0800

Debian 8.x/Ubuntu 16.04.x Build Ghost Tutorial

Label of this article: LEMP/LNMP Course  Ubuntu Debian Ghost Debian8.x/Ubuntu16.04.x Build Ghost Ghost It's a use Node.js Developed blog system, as opposed to using PHP WordPress It's lighter and more friendly, so this site has been switched from WordPress to Ghost In this paper, the author introduces the following points: Debian Building Gho ...

Posted by praveenhotha on Mon, 31 Dec 2018 18:21:08 -0800

VirtualBox CentOS 7+Django+uwsgi+nginx

Django Architecture CentOS 7 system is compatible with Python 2 and Python 3. This project is based on Python 3 environment. Install Django CentOS 7 System Installation django pip3 install django Create the Django project dataPlatform under Windows and add the following code to set.py: #In the MIDDLEWARE_CLASSES ...

Posted by jesus_hairdo on Mon, 31 Dec 2018 15:36:09 -0800

Linux file system and its commands

    After understanding the computer foundation and the history of Linux, I believe that I can start to learn Linux through the following knowledge.1) How to log on to Linux?    login: User name + Enter    Password: Password + Enter2) What is a terminal?     A ...

Posted by disconne on Mon, 31 Dec 2018 09:33:07 -0800

docker deployment nginx under centos7 using let's encrypt free certificate

Large-brand providers'SSL certificates are not cheap. They may not be much for large companies, but they are expensive for small companies and individuals. Now Let's Encrypt, a free SSL service provider, is definitely a good news for small companies or developers. Prerequisite Have a domain name, such as mydemo.com (for domestic hosts, al ...

Posted by Nymphetamine on Tue, 25 Dec 2018 13:09:06 -0800

12.13 Nginx Anti-theft Chain 12.14 Nginx Access Control 12.15 Nginx Resolution php Related Configuration 12.16 Nginx Agent

12.13 Nginx Anti-theft Chain The configuration is as follows, which can be combined with the above configuration The * here represents the case-insensitive parentheses that follow. Beginning of ^ server_names can be omitted location ~* ^.+\.(ico|gif|jpg|png|swf|flv|rar|zip|doc|pdf|gz|bz2|jpeg|bmp|xls)$ { expires 7d; valid_referers none ...

Posted by JimmyD on Tue, 25 Dec 2018 09:33:06 -0800

Implementation of session server by Nginx reverse proxy + Tomcat+memcached

Written in frontThe previous article explained the type of session for you. Today, this article will lead you to implement a simple session server step by step, mainly to let you understand the working process of session server. Of course, for small and medium-sized websites, this structure is also fully adequate. The main structure of this sec ...

Posted by Svoboda on Sun, 23 Dec 2018 15:09:07 -0800