1. Nginx Attribute specification
1.1 down attribute
explain : If the server goes down , Or the server doesn't want to continue serving users , You can use shutdown Attribute to identify .
nginx Access rules : If nginx The server being accessed is not responding properly , Is waiting for Overtime after , Access to the new server .
1.2 backup attribute
explain :backup Stand by machine . Under normal circumstances , The server will not serve users . But when the server goes down , Or when the server is busy , To access the server .
1.3 tomcat Server High Availability Mechanism
High availability : When the server fails , Through some mechanism, we can Automatic implementation Fault migration , So that users will not be affected by any .
2. About virtual machines
2.1 Modify virtual machine IP Address
2. Check the gateway address
3. Set up IP lease
2.2 Remote server link
3. Linux Environment building
3.1 install JDK
3.1.1 Upload JDK file
3.1.2 decompression JDK
3.1.3 Mobile installation package
Mobile installation package
3.1.4 Modify file name
3.1.5 To configure JDK environment variable
File directory : /etc/profile
Edit the file : vim /etc/profile
Let the environment variables take effect :