Setting up python3 environment under Linux

python3 environment construction under Linux What are the ways to install Linux software? The manual installation of rpm package rejects this mode, and the dependency needs to be resolved manually yum automatic installation is very easy to handle dependency automatically Source code compilation and installation, more customizable functio ...

Posted by jamesjohnson88 on Wed, 22 Apr 2020 09:29:48 -0700

python foundation - python installation and problem solving

Python 3.7.3 installation The default version of Python installed on CentOS 7 is 2.7.5. The older version of python that comes with the system is dependent on many other software environments of the system, so you cannot uninstall the original Python, but you can install another version of Python [root@python ~]# python -V Python 2.7.5 Prepari ...

Posted by Mathy on Thu, 16 Apr 2020 20:28:26 -0700

Two way authentication tutorial of openssl implementation (server code + client code + certificate generation)

1, Background 1.1 problems A recent product testing report suggested using pki based authentication. Since the product has implemented https, it is considered that it means using two-way authentication to deal with man in the middle attack. In information security engineering, two-way authentication has been contacted, but there are two pro ...

Posted by yankeefan238 on Mon, 13 Apr 2020 05:09:17 -0700

AspNetCore Containerized (Docker) Deployment - Docker Compose Container Arrangement

I. Preface The last one deployed the most basic helloworld application, created two containers and a network, and it worked. If the app continues to introduce services such as mysql, redis, job, and so on, the amount of work it takes to publish at one time is conceivable, and Docker Compose is needed. Docker Compose is a tool for defining an ...

Posted by ondi on Fri, 10 Apr 2020 17:19:11 -0700

Mongodb version 4.2 replica set configuration

Common replication sets The common architecture of online environment is replica set, which can be understood as one master and many slaves. Below: 1 master and 2 slave Below: one master one slave one arbitration Server information: Three machines are configured with 2-core 16G memory storage disk 100G "host" : "10.1.1.159:27020""host" : "1 ...

Posted by mojodojo on Thu, 09 Apr 2020 09:13:50 -0700

What should I do if nginx is too low to close? One move to smooth upgrade

1. View the existing nginx compilation parameters I'm here with 1.16.0 Upgrade to 1 for example.16.1(Compiled and installed) [root@localhost ~]# /usr/local/nginx/sbin/nginx -V nginx version: nginx/1.16.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support enabled configure arg ...

Posted by SsirhC on Mon, 06 Apr 2020 07:48:47 -0700

keepalived+nginx reverse agent load balancing configuration

Catalog 1. Description of components to realize Nginx load balancing 2 preparation of nginx load balancing experimental environment 3. Nginx reverse agent load balancing installation 4 maintained + nginx to realize the load balance between the active and the standby 1. Description of components to realize Ngin ...

Posted by NoSalt on Wed, 01 Apr 2020 17:31:34 -0700

Dynamically update Linux system password and send SMS to remind

Dynamically update Linux system password and send SMS to remind Sometimes we may need higher security. As the mainstream operating system of the server, Linux needs to change the root password of the system account frequently to ensure the security of the whole system. The importance of the password i ...

Posted by DJ Zen Masta K on Thu, 12 Mar 2020 05:05:50 -0700

Compiling and installing Mysql 8.0.19 under linux

1 Preface There are many ways to install MySQL under linux, including the way of warehouse (yum,apt,zypper), the way of package (rpm,deb), the way of docker, the way of decompressing from the compressed package, the way of compiling and installing from the source code. Here is the last one, the way of compiling and installing from the source co ...

Posted by ThisIsMyName on Thu, 05 Mar 2020 19:55:04 -0800

Use RSA private key to generate public key?

I really don't understand this: Basis: http : //www.madboa.com/geek/openssl/#key-rsa , you can generate a public key from the private key. openssl genrsa -out mykey.pem 1024 openssl rsa -in mykey.pem -pubout > mykey.pub My initial idea was that they were generated together. Does the RSA private key contain the sum? Or public key? ...

Posted by callmecheez on Mon, 24 Feb 2020 04:01:57 -0800