Linux basic learning - Docker learning notes

Docker installation 1 Official website The access speed is very slow, Help document 2 domestic Chinese website,Help document [root@qdlinux ~]# yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotat ...

Posted by mzfp2 on Tue, 31 Dec 2019 06:51:52 -0800

Create or delete users in batch under Linux.

Batch create users: 1. Create the list file users.txt of user name, one line for each user. [root@linuxprobe ~]# vim users.txt andy barry carl duke eric ergou Next, write the shell script useradd.sh. [root@linuxprobe ~]# vim useradd.sh #!/bin/bush read -p "Enter The Users Password : " PASSWD for UNAME in `cat users.txt` d ...

Posted by zuhalter223 on Mon, 30 Dec 2019 22:42:52 -0800

Quanzhi H6 Orange Pi Lite 2 Android 7.0 WIFI configuration

Problem reason At present, the WIFI of the image compiled by our SDK is useless. We will continue to solve this problem. Check the schematic diagram and confirm the pin It can be confirmed from the schematic diagram that SDC1 module is used for WIFI, power supply is provided by VCC33-WIFI, and VCC33-WIFI is provided by CLDO3 ...

Posted by haixiao on Mon, 30 Dec 2019 20:53:46 -0800

Installing 32-bit PostgreSQL 8 on 64 bit CentOS 7

Recently, Alibaba cloud urged a friend to deal with the system vulnerability quickly, and shut down the machine if he didn't deal with it again. This friend deployed 32-bit PostgreSQL 8.1 on a CentOS 6 host in Alibaba cloud. He wants to use this. Think about it, or install PostgreSQL 8.1 on CentOS 7. The former is a 64 bit operating system, an ...

Posted by Majes on Mon, 30 Dec 2019 18:50:21 -0800

Single-machine multi-instance monitoring based on WEB-API

Guidance: Author: Jiang Lexing MySQL-DBA currently maintains two MySQL open source tools mysqltools & DBM (dbm-agent dbm-center) on github, and has some experience in machine learning and programmed transactions. Problems facing Solution MySQL Monitoring Gateway Installation Configuration Process Environmental description Instal ...

Posted by beginPHP on Mon, 30 Dec 2019 18:07:31 -0800

k83 calico network policy

Common CNI network plug-ins include the following: Flannel: Provides network plug-in for overlay network for Kubernetes. Based on TUN/TAP tunneling technology, uses UDP to encapsulate IP messages to create overlay network. Maintains network allocation with etcd. Disadvantage: Unable to support network policy access control.Calico: A three-tier ...

Posted by celavi on Mon, 30 Dec 2019 09:57:42 -0800

Introduction to python Library - python daemon: a tool to implement python background program

brief introduction Python daemon implements Unix daemons. Reference resources: PEP 3143 This library implements the good behavior daemons specification of PEP 3143 "standard daemons library". The DaemonContext instance stores the behavior of the program and the configured process environment. quick get start import time ...

Posted by TCovert on Mon, 30 Dec 2019 08:27:19 -0800

The introduction of python 3 tool library boost using c + + to write extensions for python

Summary There are different ways to extend Python with C + +: Swig With Boost.Python, you can choose to use Py + + preprocessing Use python. Before the advent of python, Boost.Python was the best way to write C + + extension modules. Boost.Python is integrated in Boost C++ Libraries. To install on Ubuntu system; $ sudo apt-get in ...

Posted by richrock on Sun, 29 Dec 2019 11:09:52 -0800

File operation based on OS module in Python

1, Operation of OS module on files 1. Returns the operating system type (posix is the linux operating system, nt is the windows operating system) important os print os.name 2. Return operating system details import os print os.uname() 3. Environment variables of the system import os print os.environ print os.environ.g ...

Posted by habanero25 on Sun, 29 Dec 2019 07:43:36 -0800

Should the program write log files unlocked

log To make my thoughts clearer, I'll call the log below.Because the word log has two meanings, see Baidu Encyclopedia Explanation perhaps Wikipedia Explanation. diary Another way of saying this.The word "journal" itself means "record". A journal is a daily record (usually related to the author). Server Log (server log) ...

Posted by cetaces on Sat, 28 Dec 2019 12:46:51 -0800