Upgrade Python version under CentOS7
Article directory
Upgrade Python version under CentOS7
1. Switch directory to / usr/local
2. Download directory Python version package
3. Unzip Python package
4. Create a folder in the current directory -- Python 3
5. Build install
Command interpretation:
6. Create Python 3 soft connection directly
7 ...
Added by sonehs on Tue, 10 Mar 2020 12:33:05 +0200
Ali Cloud Vulnerability Upgrade
RHSA-2018:3092-Medium Risk: glibc Security and BUG Repair Update Code Execute Local Title
RHSA-2017:1481-Important: Execution of EXP code exists in glibc security updates
sudo yum update glibc
sudo yum update glibc-common
sudo yum update glibc-devel
sudo yum update glibc-headers
sudo yum update nscd ...
Added by []InTeR[] on Sun, 01 Mar 2020 05:18:03 +0200
FastDFS Single Machine Setup
brief introduction
FastDFS is an open source, high performance, distributed file system (DFS). The FastDFS system has three roles: Tracker Server, Storage Server, and Client.Tracker Server: Track the server, mainly for scheduling and balancing purposes; manages all storage server s and groups, and each store connects to Tracker after startup, ...
Added by jawaidpk on Fri, 28 Feb 2020 22:28:21 +0200
FIO installation deployment and test method case
I/O input / output, read and write, cache and raid can improve storage IO performance.
IOPS (Input/Output Operations Per Second), that is, the number of I/O operations per second, is mostly used in database, storage and other occasions to measure the performance of random access.
The IOPS performan ...
Added by vahidi on Tue, 25 Feb 2020 06:38:17 +0200
MogileFS deployment process
MogileFS deployment document
brief introduction
MogileFS is an open-source distributed file system, which is used to build a distributed file cluster. It is developed by Danga interactive, a subsidiary of LiveJournal. The Danga team has developed good open-source projects including Memcached, Mogil ...
Added by kickoutbettman on Mon, 24 Feb 2020 14:18:14 +0200
Jumpserver deployment installation
I believe you are familiar with the bastion machine (springboard machine). In order to ensure the security of the server, add a bastion machine. All ssh connections are completed through the bastion machine. The bastion machine also needs to have identity authentication, authorization, access control, log audit and other functions.
Jumpserver ...
Added by Xurion on Thu, 20 Feb 2020 13:26:21 +0200
Virtual machine builds local spring cloud environment
Setting up local environment records for virtual machine
1.vmware installation
1. Enter the vm website, Download page
2. Select trial, or log in
3. installation
4. Input the secret key Baidu to test UG5J2-0ME12-M89WY-NPWXX-WQH88 on February 13, 2020
2. Installation of VMware centos7
1. Download ce ...
Added by phpscriptcoder on Mon, 17 Feb 2020 09:06:42 +0200
Windows 10 Docker Machine deployment CentOS7 host
1. Install Docker Machine
If Git is installed, you can use git bash to execute the following command:
$ base=https://github.com/docker/machine/releases/download/v0.16.0 &&
mkdir -p "$HOME/bin" &&
curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" ...
Added by gunabalans on Sun, 16 Feb 2020 12:28:56 +0200
k8s Storage Data Persistence, emptyDir, hostPath, Nfs-based PV, PVC
Containers exist in both docker and K8S and have a life cycle, so data volumes can be used for data persistence.
Key issues addressed by data volumes:
1. Data persistence: When we write data, the files are temporary. When the container crashes, the host kills the container, then re-creates the container from the mirror, and the data is lost.
...
Added by joe1986 on Sat, 15 Feb 2020 07:51:36 +0200
Remember a golang memory leak
Program Functions
The main function of this program is to import data from files into the clickhouse database.
[Problem Description]
Server memory runs out at regular intervals
[Problem Analysis]
Because it was developed in go language, pprof, a tool popular in the industry, was used.
Reference URL:https://cizixs.com/2017/09/11/profiling-golang ...
Added by Knutty on Mon, 10 Feb 2020 05:43:57 +0200