Server ssh key and git configuration

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

Shell programming interaction free expect

This article mainly writes some shell scripts to avoid the use of interactive expect. Summary 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 Install before using this tool yum install -y expect Basic command send Send string to process ...

Posted on Wed, 16 Oct 2019 19:43:19 -0700 by Haggen

Shell programming and editing tool awk

This article mainly writes some shell script editing tool awk use. Summary 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

The most comprehensive Python focus you've ever seen

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

Installing the kubernetes cluster using kubeasz kubeasz github https://github.com/easzlab/kubeasz Configuration: 4 core 8GB memory (only master role 2G memory) System: CentOS-7.6 1810 Minimal Be careful: 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

Thirteenth day of study

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 guojia@192.168.10.200 (important) Password: 123456 4. View configuration files cd /qj/script/ cat deploy.sh 5. View the 200-rpc.sh configuratio ...

Posted on Tue, 08 Oct 2019 09:36:43 -0700 by mikes1471

Using hexo and github to build a static blog website

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. hexo -v hexo-cli: ...

Posted on Sun, 06 Oct 2019 04:55:24 -0700 by Tory

Multi-picture upload Android, server-side implementation

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

Using Docker to Build etcd Cluster

Step 1 Install etcd under Mac brew install etcd implement etcd --version 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

Centos7 Builds cloudera-manager Cluster

0. Preparations Close the firewall # All nodes systemctl stop firewalld systemctl disable firewalld No exchange # All nodes sysctl vm.swappiness=0 Disable large pages # All nodes echo never > /sys/kernel/mm/transparent_hugepage/defrag echo never > /sys/kernel/mm/transparent_hugepage/enabled 1,JDK Unload existing Java rpm -qa | grep jav ...

Posted on Wed, 02 Oct 2019 12:36:08 -0700 by slaterino