Nginx automatically configures and renews SSL certificates for websites through certbot

1. Background knowledge What are 1.1, http, and https? Simply put, http is a protocol for transferring web content, such as the website you see at the beginning of http http://www.163.com , the text, pictures, CSS, JS and other files on its web page are transferred to our browser through the http protocol, and then we can see them. And HTTPS ...

Posted by Jay_Seagrave on Fri, 26 Apr 2019 11:42:35 -0700

More than just setting up a backend development environment for LNMP

Preface The goal of this project is to install a series of common application services for back-end development on the newly installed CentOS 7.5 system (CentOS installation is not described here), and to deploy a website using phpMyAdmin as an example. Nginx(1.16) MySQL(8.0, Start Up) PHP(7.3) Redis(1.5) memcached(1.4) Composer(1.8) phpMyAdmi ...

Posted by spamyboy on Fri, 26 Apr 2019 10:12:35 -0700

Automatic redirection from http to http by nginx service under Linux

1. Realize automatic jump to http://bbs.westos.org when accessing http://xin.westos.org/bbs//   (1) Firstly, a virtual host is configured and tested to ensure that the configured virtual host is correct. [root@server1 ~]# vim /usr/local/nginx/conf/nginx.conf #Write the following server module in the http module (write 151-159 ...

Posted by Chapel on Fri, 26 Apr 2019 06:24:35 -0700

Install and configure Nginx under Centos 7

This paper is based on entos 7 installation configuration Nginx operation practice record collation. Configuration of EPEL Sources sudo yum install -y epel-release sudo yum -y update II. Installation of Nginx sudo yum install -y nginx After successful installation, the default website directory is: / usr/share/nginx/html The default configurat ...

Posted by patch2112 on Thu, 25 Apr 2019 15:21:36 -0700

K8s Exposure to Internal Services in Various Ways

hostNetWork:true Test yaml: apiVersion: v1 kind: Pod metadata: name: nginx-hostnetwork spec: hostNetwork: true containers: - name: nginx-hostnetwork image: nginx:1.7.9 # Create pod s and test them $ kubectl create -f nginx-hostnetwork.yaml $ kubectl get pod --all-namespaces -o=wide | grep nginx-hostnetwork default ...

Posted by phpr0ck5 on Wed, 24 Apr 2019 17:39:34 -0700

The combination of Memcache and PHP adds cache to PHP

I. concept 1. What is memcache Memcached is a free, open source, high performance, distributed memory object caching system Memcached is a software developed by Brad Fitzpatric of Danga Interactive, a company owned by LiveJournal. Now it has become an important factor to improve the extensibility of Web applications in m ...

Posted by markjreed on Wed, 24 Apr 2019 13:30:34 -0700

FastDfs Distributed File System (Measured Successfully)

Recently, the company needs to build a FastDfs distributed file system to query and refer to a lot of information on the network, but according to their configuration from beginning to end, there will be more or less errors in the middle, which may be versions or other problems. After continuous research, the system has been successfully confi ...

Posted by jayarsee on Wed, 24 Apr 2019 11:18:35 -0700

Revamping of Old Projects

Preface Old project, React + PHP + nginx Project situation PHP terminal configuration In terms of PHP running environment, some of the development environments are wamp (apache + PHP), and some are np (Nginx + PHP). Operating system: Most of them are win environments, a few are MacOS systems, while the server is centOS systems. directory stru ...

Posted by zubinkasad on Sun, 21 Apr 2019 23:27:34 -0700

Nginx Installation - Tengine

Tengine is a Web server project initiated by Taobao.com. On the basis of Nginx, it adds many advanced functions and features to meet the needs of large-scale visiting websites. Tengine's performance and stability have been well tested on large websites such as Taobao and Tianmao. Its ultimate goal is to build an efficient, stable, secure and e ...

Posted by wangsc66 on Sun, 21 Apr 2019 19:21:34 -0700

TypeSdkServer Manual Installation Deployment

The following example server operating system uses: Centos7.2-X8.6_64_Lite Software usage: Mysql 5.6; Nginx 1.8.1; Nodejs 6.9.5; Redis 3.2.3 Code and related environments can be downloaded here https://code.csdn.net/typesdk_code/typesdk_server/tree/master 1. After installing Centos7.x, install Git and clone related programs directly from th ...

Posted by eternalprophet on Thu, 18 Apr 2019 03:15:33 -0700