“
All of the following operations are based on centos6.9.
python3.7Rely on openssl1.0.2, first update the OpenSSL of the system.
recommendations
Upgrade system to centos7 (system OpenSSL has been upgraded to 1.0.2)
install dependency package
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
# 3.7Must be installedYum -y install libffi-devel
> SSL
Open the SSL module, otherwise all modules that PIP installs HTTPS requests will fail and must be completed before make
First configure python, that is to run./configure firs...
People always follow a variety of rules in their daily life. These rules come from the law, followed by the law.Moral constraints,Beyond the explicit rules and conventions, there is a more subtle measure of the normality of one’s conduct, that of others.The usual pattern of behavior.“Normal is a vague word, and no one has a particular definition of it. It is measured by other people’s behavior. And who else is it? Most people. However, this can not be quantified.Cry when your loved ones die, be happy when your friends get together, be surprised when you receive a gift, and com...
First.
As mentioned earlier, the “SQL Server Backup and recovery series” is focused on the user database. SQL server also maintains a set of system databases that are critical to the running of server instances. After each system update, multiple systems must be backed up.According to the library. The system database that must be backed up includes: MSDB, master, model. If you use replication, you need to back up the distribution library. Backup is used to restore the system when it fails to prevent system failure.
1.masterDatabase introduction
masterThe da...
[notes] Bashi game
Define
Bashi game is the simplest game, defined as follows
There is only a pile of n items, two people take turns from the pile of goods, the provisions of at least one at a time, a maximum of M. Finally, the winner wins.
Victory state\(N\)And must defeat state\(P\)
All winning States\(N\)There must be a way to move to defeat.\(P\)
Abortive state\(P\)No matter how it is transferred, it will be transferred to victory.\(N\)(Win the next battle.
All endpoints must be defeated.\(P\)
Analysis of victory\(N\)And must defeat state\(P\)Starting from the endpoint, we analyze th...
Many people confuse the width of the computer bus with the bandwidth of the bus, but in fact, they are different.
Bus Width: Bus Width generally refers to the internal bus binary digits interconnected between the CPU’s calculator and memory, affecting throughput, as described belowbus width。
Bus bandwidth: Bus bandwidth refers to the total amount of data that the bus can transmit in a unit time, equal tobus widthThe product of the work frequency is the bus bandwidth.Data transmission rate。
For example:
Bus width is 32 bits, clock frequency is 200 MHz, if the bus every five clock cyc...
Topic: give the sequence of sequenced sequence of two binary tree and output the first value of subsequent sequence.
Train of thought: at first glance, it is not a pre order + middle order reconstruction of the two binary tree, and then the traversal of it. There is no mistake in doing so, but it does not really comprehend the intention of the subject. The problem is not to let us output the posterior sequence, but to output the first value of the ordinal sequence. Taking into account the order of traversal traversal is left sub tree -Gt; right subtree – & gt; root node, think abou...
[Reprint]
1. What is a server?
Server is a kind of computer on the network which provides various services for customer sites. Under the control of network operating system, it will provide the hard disk, tape, printer, Modem and expensive special communication equipment connected with it to the customer sites on the network to share, and also can provide centralized computing and database for network users.Management and other services.
● The role of network server: A. Run the network operating system. Through the network operating system to control and coordinate th...
fragment and copy
An index consists of multiple slices, each containing part of the document set. The replica is mainly designed to enhance fault tolerance and increase throughput.
The number of copies can be adjusted at any time, but the number of fragments can not be modified after the number is set.
type determination mechanism
The number type and date type can be set by automatic detection, which is usually opened by default.
dynamics_data_formats:Settings can be identified as a list of date formats.
You can also disable type guessing, and when type guessing is disabled, you can’...