python version control

Reference article: Thanks to Blogger 1 There are three levels of python version control: system level, folder level and pycharm level system level First, check the number of python versions installed in the system: Method 1: zht@zht0:~$ ls /usr/bin/python* /usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/b ...

Posted by pob123 on Thu, 02 Apr 2020 19:34:11 -0700

Under Ubuntu 14.04, install redis-3.2.0 and start up

Download it on the official website Redis -3.2.0.tar.gz, put redis-3.2.0.tar.gz in the / opt directory Unzip redis-3.2.0.tar.gz xiaoyao@xiaoyao-virtual-machine:/opt$ sudo tar -zxvf redis-3.2.0.tar.gz Compile redis xiaoyao@xiaoyao-virtual-machine:/opt$ cd redis-3.2.0/ xiaoyao@xiaoyao-virtual-machine:/opt/redis-3.2.0$ sudo m ...

Posted by hoopplaya4 on Tue, 31 Mar 2020 13:28:41 -0700

MySQL Pt online tool installation and use

In the production environment, the ddl execution of mysql does not affect the normal use of online, and the tool Pt online is often used Install Pt Online Install DBI wget http://www.cpan.org/modules/by-module/DBD/DBI-1.634.tar.gztar -xf DBI-1.634.tar.gzcd DBI-1.634/ perl Makefile.PLmake && sudo make install Install ...

Posted by sheac on Sun, 29 Mar 2020 11:44:11 -0700

Technology sharing | how to use bcc tools to observe MySQL latency

Author: Liu An A member of the test team of akesheng, who is mainly responsible for the related test tasks of TXLE open source project, is good at Python automatic test development, and is recently absorbed in the relevant knowledge of Linux performance analysis and optimization. Source: original contribution *Aikesheng is produced by the op ...

Posted by alex57 on Tue, 24 Mar 2020 02:54:48 -0700

Kubernetes cluster practice (08) upgrading cluster

ECK has not been deployed on the cluster for a long time and has not been officially put into use. Many problems have been found in the trial phase. Now it is about to be formally deployed. I want to upgrade the k8s cluster when it is formally deployed. After reading some data, since my cluster has only one master node, although it is very pow ...

Posted by flash-genie on Sat, 21 Mar 2020 07:14:15 -0700

Ansible automatic operation and maintenance learning 5: detailed explanation and optimization of ansible configuration file

1, Details of common parametersThis paper is about https://blog.51cto.com/8355320/2471354 The parameter configuration of is extended.The default configuration file of ansible is / etc/ansible/ansible.cfg. Parameters of ansible can be adjusted in the configuration file, including concurrent thread, user, module path, configuration optimization, ...

Posted by hopelessX on Fri, 20 Mar 2020 04:29:59 -0700

Kubernetes 1.17.4 quick upgrade

Kubernetes 1.17.4 has been officially released, and it can also be upgraded directly for highly available clusters. The quick upgrade (including the quick download link of domestic image) includes three main steps: upgrading the kubeadm/kubectl/kubelet version, pulling the image, and upgrading the kubernetes cluster. Reference The software lock ...

Posted by jonah on Wed, 18 Mar 2020 09:28:32 -0700

Ansible-Secret Login and Host List Inventory

Ansible's specified user and password login, secret-free login, specified ssh port, and host list Inventory configuration It is not necessary to modify the ansible configuration in practice, or it is only necessary to modify the ansible configuration. Add user account Explain: 1. Login accounts used by operations and maintenance personnel; 2 ...

Posted by artist-ink on Sun, 15 Mar 2020 09:06:45 -0700

tcpdump powerful network packet capturing tool tutorial

tcpdump tcpdump is a necessary tool in debugging network communication program. tcpdump is very powerful, you can see every detail of network communication. For example, TCP can see 3 handshakes, PUSH/ACK data push, close 4 waves, all details. Including the number of bytes and time of each network packet reception. Usage method The simplest exa ...

Posted by johnrcornell on Sat, 14 Mar 2020 01:03:59 -0700

Sword point data warehouse Shell command three

1, Last course review 2, Linux basic command 3 2.1 users and user groups 2.2. Use of personal environment variables (. Selection of bashrc and. Bash? Profile) and global environment variables (/ etc/profile) and aliases 2.3 use of history command 2.4 use of delete command Three. Homework 1, Last cour ...

Posted by Arsench on Thu, 12 Mar 2020 03:15:32 -0700