Programmers often say: for github programming, the importance of github to programmers can be seen.
Although git can work on two protocols, ssh and https, it is more likely to choose ssh for security.
If https is used, authentication is required for every git push.
So the main content of this article is:
ssh keygen: generate public key and pri ...
Posted on Wed, 16 Oct 2019 19:45:54 -0700 by bobohob
This article mainly writes some shell scripts to avoid the use of interactive expect.
Expect is a tool based on tcl. Expect is a tool for automatic control and testing. It mainly solves the non interactive problem in shell script.
Install before using this tool
yum install -y expect
Send string to process ...
Posted on Wed, 16 Oct 2019 19:43:19 -0700 by Haggen
This article mainly writes some shell script editing tool awk use.
awk is a powerful editing tool, which reads the input text line by line, searches according to the specified matching mode, and formats and outputs or filters the qualified content.
Awk tends to divide a row into multiple fields before processing, and by default, the f ...
Posted on Tue, 15 Oct 2019 12:45:47 -0700 by bettyatolive
Because I have summed up too many things, the length of the article is a bit long, which is what I "sew and mend" summed up for a long time.
Py2 VS Py3
print becomes a function, Python 2 is the key word
No more unicode objects, the default str is unicode
Python 3 divider returns floating point number
No long type
Xrange does not exis ...
Posted on Sat, 12 Oct 2019 05:47:22 -0700 by abhi201090
Installing the kubernetes cluster using kubeasz
Configuration: 4 core 8GB memory (only master role 2G memory)
System: CentOS-7.6 1810 Minimal
1. Ensure system time is normal before installation.
2. All commands need to be executed at the deployment node (192.168.2.71)
3. Simpl ...
Posted on Wed, 09 Oct 2019 01:33:48 -0700 by Saeven
1. Use netstat to view ports
Using netstat-anp | grep 80
2. use lsof
Lsof-i: Port number to see if a port is occupied
3. Remote Login 200 Port Address
ssh -p 22 firstname.lastname@example.org (important)
4. View configuration files
5. View the 200-rpc.sh configuratio ...
Posted on Tue, 08 Oct 2019 09:36:43 -0700 by mikes1471
Using hexo to build blog website
Global installation of hexo-cli
npm install hexo-cli -g
npm installation speed is slow, can switch to domestic Taobao NPM mirror image Installation using cnpm command instead of npm command.
After the installation is completed, hexo-v is executed to check whether the installation is completed.
Posted on Sun, 06 Oct 2019 04:55:24 -0700 by Tory
Recent projects need to use Android front-end upload server, the first file upload server, checked various information, stepped on various pits, record the final implementation.
** I. Server side**
The server side uses ssh framework and file implementation logic:
1. Get files uploaded by users
2. Save files to folders
Posted on Sat, 05 Oct 2019 11:19:26 -0700 by ArneR
Install etcd under Mac
brew install etcd
Ensure successful installation
Step 2Create three docker hosts using docker-machine
docker-machine create --driver virtualbox box0
docker-machine create --driver virtualbox box1
docker-machine create --driver virtualbox box2
Confirm that the build is successful and reme ...
Posted on Thu, 03 Oct 2019 12:14:50 -0700 by respiant
Close the firewall
# All nodes
systemctl stop firewalld
systemctl disable firewalld
# All nodes
Disable large pages
# All nodes
echo never > /sys/kernel/mm/transparent_hugepage/defrag
echo never > /sys/kernel/mm/transparent_hugepage/enabled
Unload existing Java
rpm -qa | grep jav ...
Posted on Wed, 02 Oct 2019 12:36:08 -0700 by slaterino