Recovery linux savings: architecture building lnmp (configuration)

nginx virtual host vim /usr/local/nginx/conf/nginx.conf Add include vhost/*.conf; mkdir /usr/local/nginx/conf/vhost vim /usr/local/nginx/conf/vhost/aaa.com.conf - virtual host configuration file server { listen 80 default_server; (Yes default_serve Is the default virtual host) server_name aaa.com; (Define site name) index ...

Posted by jonahpup on Tue, 05 May 2020 14:19:09 -0700

Ten of three Linux phases: nginx reverse proxy load balancing

10. nginx reverse proxy load balancing (1) Description of LNMP architecture migration database Migrating databases: Using the database backup command (mysql mysqladmin mysqldump) 1) Back up database information mysqldump -uroot -poldboy123 --all-databases >/tmp/bak.sql ll /tmp/bak.sql -h scp /tmp/bak.sql 172.16.1.51:/tmp/ 2) Restore data ...

Posted by Thundarfoot on Mon, 04 May 2020 18:53:19 -0700

Web static server

Web static server Programming micro Web static server-1-display fixed page #coding=utf-8 import socket def handle_client(client_socket): "Serving a client" recv_data = client_socket.recv(1024).decode("utf-8") request_header_lines = recv_data.splitlines() for line in request_header_lines: print(line) # Organize corr ...

Posted by magaly on Mon, 04 May 2020 18:50:22 -0700

linux Installation php7 tutorial -- installing web server 5 in linux Environment

linux starts to install web server 1 from 0linux connects to the Internet -- linux installs web server 2Installing gcc -- linux installing web server 3 linux install mysql5.6 -- linux install web server 3 After php7.1, mcrypt series functions are not supported, Considering that many of my friends used to use mcrypt series of encryptio ...

Posted by siesmith on Mon, 04 May 2020 15:06:02 -0700

Linux Phase 11: Ke keepalived High Availability Cluster

11. Ke keepalived Highly Available Clusters Chapter (1) Description of keepalived service concept What can keepalived do? The Keepalived software was originally designed for LVS load balancing software. Used to manage and monitor the status of each service node in the LVS cluster system, and later added VRRP capabilities that enable high availa ...

Posted by EvanMartin on Sun, 03 May 2020 07:46:07 -0700

The installation and use of nginx under Windows

The original application ran with a single node, and the user always complained that the service response was very slow. In order to improve the user experience, we thought of trying to alleviate the multi-node load balancing Because of the pressure of the server, we found the window version of nginx. According to the introduction of the para ...

Posted by onlinegamesnz on Sat, 02 May 2020 07:18:40 -0700

RHEL7 does not have a graphical interface. Install the graphical interface

Background: When a RHEL7 machine is newly built, there is no graphic interface???? reason: The system was created without graphing installed The default run level of the system is not graphical After the system is installed, there are operations to reduce the memory. If the memory is too low, the desktop cannot be ...

Posted by spicerje on Thu, 30 Apr 2020 18:41:29 -0700

A summary of three methods of grey level publishing implemented by Nginx

A summary of three methods of grey level publishing implemented by Nginx The main principle of gray-scale publishing is access routing control, and the key point is to ensure that each access is the same node. Mode 1: adjust the load balance weight Load balancing is based on the existing network structure, which provides a ...

Posted by lalabored on Sun, 26 Apr 2020 10:52:42 -0700

[from getting started to giving up - Kubernetes] getting started with Kubernetes - expanding and shrinking stateful applications

Preface Preceding text [from getting started to giving up - Kubernetes] getting started with Kubernetes - expanding and shrinking stateless applications In, we learned how to deploy a stateless application through yaml file and expand and shrink it. For stateless applications, in case of failure or pod deletion, relevant resources will be relea ...

Posted by jobe1 on Sun, 26 Apr 2020 03:35:12 -0700

Backup and recovery scheme of cloud disk data volume in ACK cluster

The cloud disk data volume is usually used for data storage when deploying stateful services in the Alibaba cloud ACK cluster. The cloud disk itself provides a backup (snapshot) recovery mechanism for data. However, how to integrate the underlying capabilities and K8S services and flexibly provide them to applications is a problem that the clou ...

Posted by Brit on Sat, 25 Apr 2020 02:56:22 -0700