With the continuous expansion of the scale of enterprise IT, enterprises begin to consider not only the disaster recovery of a single server node, but also the disaster recovery of the entire data center. Once there is a disaster in my entire data center, how should I recover? so many enterprises have realized this in the past two years.
9. Head function: display the first few lines of a file (default is 10 lines) format: head-n file option:-n NUM: specify display before NUM line example: display file 1.txt first 10 lines # head 1.txt example: display file 1.
1. Install JDK:# rpm-ivh jdk-8u241-linux-x64.rpm# java-version2 and extract Tomcat 8.5 tar-xf apache-tomcat-8.5.
1. Uninstall the existing docker:apt-get remove docker docker-engine docker.io2. Installation: apt-get install\ apt-transport-ht
1. To add a permanent route with a destination of 10.41.0.0, a subnet mask of 255.255.0.0, and the next hop address of 10.27.0.1, type: route-p add 10.41.0.0 mask 255.25
Introduction to kubernetes service exposure so far, kubernetes has a total of three ways to expose services: LoadBlancer ServiceNodePort ServiceIngressLoadBlancer S
Nameman-format and display the on-line manual pages: formatted display online man page sysnosisman [- acdDfFhkKtvVwW] [--pat
1. Open git in the manage folder, type git init to initialize the local warehouse, GitHub to create a remote warehouse manage2, the following command to associate the local and remote repositories, * my user name git remote add ori
First, install Nginx with playbook: first compile and install nginx on a machine, package it, and then use ansible to issue # cd / etc/ansible to enter the ansible configuration file directory # mkdir
First, Docker uses a template to create an image. First, download a template http://download.openvz.org/template/precreated///. The download speed is not fast, so download a template cento of centos6.
1. Three operation modes of Tomcat: (1) BIO:Blocking I _ peg O, which means that Tomcat uses the traditional Java I _ peg O operation (that is, the java.io package and its subpackages), and each request needs to create a thread to
Problem 1: docker cannot start error message: [root@localhost docker.service.d] # systemctl status docker.service ● docker.servic
Nginx architecture-Nginx+tomcatTomcat itself is a web server, which can handle requests for static files, but its processing capacity is not as strong as Nginx, so it is necessary to do a static and dynamic separation in this architecture, Nginx directly acts as a proxy for TomcatTom
Manage LVM logical volumes I. LVM Overview LVM is an abbreviation for Logical Volume Manager (logical volume management), which is a mechanism for managing disk partitions in a Linux environment. Encountered by Linux users when installing the Linux operating system
The virtual machine used is VirtualBox, and the operating system is CentOS7. The first user to log in to CentOS7 is rootvim / etc/sysconfig/network-scripts/ifcfg-enp0s3.
The access log of the website is a very important file. Through the analysis of the access log, we can dig out a lot of valuable information. This paper introduces how to use Python to analyze the access log of a real website. This paper will comprehensively use Python file operation, string processing, list and set.
The shell script is used to find out which domain names still have resolution record generation requirements from a pile of domain names: find out which domain names still have resolution records from the pile of domain names provided by IDC computer room. First sort and remove duplicate domain names: cat 2.txt | sort-rn | uniq-
Storcli/percli regular scene view help information view controller number online do raid volume group delete volume group modify VD properties online set hard disk to pass-through (jbod) mode view help information storcli64 help view controller number storc
Deploy DNS service Dns (domain name system) domain name system: in the early stage of domain name resolution, use hosts file to resolve domain name C disk-- windows--system32--drivers--etc-- hosts file 1.
In the actual production environment, unix hosts often need to use a lot of command line terminals because of a large amount of data analysis or other reasons, and the shortcut keys used in the stty of the interface of many services are the same as traditional ones, such as mysql. Then it is necessary to improve the usual efficiency.