Cluster of Java Web Learning Notes
colony
Clusters are mainly divided into three categories (high availability cluster, load balancing cluster and scientific computing cluster)
High availability cluster Load balance cluster High performance computing cluster
1. High availability cluster
HA clusters made of two nodes are common. They have many popular and uns ...
Added by jpadie on Fri, 03 Dec 2021 20:25:50 +0200
I built a Hadoop 3. X pseudo distributed environment with a free server
preface
Recently, in the communication with fans, it was said that the white whoring server has not been used yet. Here I provide a way to use it:
She inspired me by the concept of pseudo distributed Hadoop deployment.
Because my private work often needs to use Hadoop cluster, local startup has been criticized for slow startup speed, t ...
Added by afam4eva on Fri, 03 Dec 2021 10:38:51 +0200
Tencent Cloud creates subaccounts and restricts access to cloud server CVM rights through custom policies
intention
These days, I plan to temporarily transfer my cloud server to someone else. If I send my account directly to someone else, the risk is too high. Discover that you can configure subaccounts under your own main account and set resource access permissions for subaccounts. Now we have made some explorations, mainly to achieve the fol ...
Added by coder4Ever on Thu, 02 Dec 2021 19:08:04 +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
vue calculated and monitored attributes
Calculation properties - computed
Definition: the attribute to be used does not exist. It must be calculated from the existing attribute
Principle: the bottom layer uses getter s and setter s provided by the Object.defineproperty method
The following case: calculate the full name by the following last name and first name   ...
Added by Craig_H on Wed, 01 Dec 2021 08:24:23 +0200
mysql index and transaction details
catalogue
1, Introduction to mysql index
1. The concept of index
2. Basic principles of index creation
3. Index creation and classification
1. General index
2. Unique index
3. Primary key index
4. Combined index (single column index and multi column index)
5. Full text index (FULLTEXT)
4. View index
5. Delete index
2, Introduction t ...
Added by siri on Tue, 30 Nov 2021 14:16:22 +0200
Dockerfile writing guide
introduction
The remote warehouse can pull a tomcat image, and then docker run starts the container, and then docker exec -it container id /bin/bash enters the container and returns our program to webapps. Wait, this series of operations need to be operated manually step by step. Then I ask you: you don't have the deployment permission of ...
Added by clartsonly on Tue, 30 Nov 2021 12:48:59 +0200
Four installation and deployment methods of database
Database installation
Experimental environment
Redhat8.3
Method 1: use the MySQL repository to install and deploy mysql
1, Add MySQL repository
Add the MySQL Yum repository to the repository list of the system. This is a one-time operation that can be performed by installing the RPM provided by mysql.
Follow these steps:
Go to th ...
Added by Dragoa on Sun, 28 Nov 2021 15:11:38 +0200
c/c++linux background development blood washing notes 2.2.2 application of reactor in network components
Network programming concerns
Connection establishment
It is divided into two types: the server handles the connection of the receiving client, and the server connects to the third-party service as the client;
int clientfd = accept(listenfd, addr, sz);
int connectfd = socket(AF_INET, SOCK_STREAM, 0);
connect(connectfd, (struct sockaddr *)&a ...
Added by baudday on Sat, 27 Nov 2021 23:17:52 +0200
Build a static Web server locally in Python
Static Web server - return fixed page data
Learning objectives
Be able to write the response message of assembling fixed page data
1. Develop your own static Web server
Implementation steps:
Write a TCP server programObtain the http request message data sent by the browserRead the fixed page data, assemble the page data into HTTP res ...
Added by madsosterby on Fri, 26 Nov 2021 21:44:31 +0200