Python - Implementing SSH Tunneling Function
Please indicate the source of the reprint: http://blog.csdn.net/l1028386804/article/details/78845722
Imagine an environment where you can access an SSH server on your intranet and you also want to access a Web server on the same segment.You cannot access the Web server directly, but SSH servers can access the Web server and there are no tools ...
Posted by k994519 on Fri, 01 May 2020 11:11:52 +0200
docker installs Chinese version of gitlab (Reprint)
1.pull image in Chinese:
docker pull beginor/gitlab-ce:11.3.0-ce.0
2. Create directory:
Generally, GitLab's configuration (etc), log (log) and data (data) are placed outside the container for later upgrade, so please prepare these three directories first.
mkdir -p /usr/local/gitlab/etc
mkdir -p /usr/local/gitlab/log
mkdir -p ...
Posted by KeitaroHimura on Tue, 28 Apr 2020 06:14:24 +0200
How to use Github hook for automatic deployment
Recently, I bought domain name and server by chance. It's not really a waste. In addition, I haven't owned my own personal website, so I plan to play on the server with hexo, so I don't have to worry about whether to use Github pages or Gitee pages. Of course, today's topic is not blog building, but how to use Github's hook to deploy blog code ...
Posted by CodeMama on Sun, 26 Apr 2020 04:50:10 +0200
Which keys of SSH
Known Host Keys
Prevent man in the middle attacks.
https://www.ssh.com/ssh/host-key#known-host-keys
SSH clients store host keys for hosts they have ever connected to. These stored host keys are called known host keys, and the collection is often called known hosts. In OpenSSH, the collection of known host keys is stored in /etc/ssh/known_ ...
Posted by ravira on Fri, 10 Apr 2020 16:57:03 +0200
DevOps tool chain (2) - the latest version of git for CentOS 7.4 source installation
Software versions:
Operating system: CentOS 7.4
Git: 2.17.0
System user: root
1. Installation environment
# Install gcc
[root@localhost bin]# yum install gcc
# Install gcc-c + + (not sure if it is not necessary)
[root@localhost bin]# yum install gcc-c++
# Install packages required for com ...
Posted by rochakchauhan on Sat, 04 Apr 2020 07:20:18 +0200
Tcp warp and ISCSI services
Service startup process:
Tcp warp:
1.Tcp warp is managed by xinetd 2. support libwarp.so module service: we can use ldd to view
ldd `which sshd`
vim /etc/hosts.deny
ALL:ALL ###Everyone refused to connect
vim /etc/hosts.al ...
Posted by eddy666 on Fri, 03 Apr 2020 15:21:54 +0200
Gitee and Github simultaneously configure ssh key
1, Create ssh key of gitee and github
cd ~/.ssh
ssh-keygen -t rsa -C "xxxxx@xxxxx.com"
Replace the correct mailbox, press enter
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/FlyingHorse/.ssh/id_rsa): id_rsa.gitee
Enter id_rsa.gitee when creating the ssh key of gitee and id_rsa.github when creating th ...
Posted by Bubbagump on Wed, 01 Apr 2020 07:38:47 +0200
Cold and hot state migration of kvm
KVM Migration
Static Migration (Cold Migration)For static migration, you can save a snapshot of the completed client image on the host, shut down or pause the client in the host, copy the client's image file to another host, and start the copied image using the command when the client is started in the source host.
Dynamic Migration (Thermal M ...
Posted by bobdabuilder on Tue, 24 Mar 2020 23:35:50 +0100
mysql highly available MHA + semi synchronous replication
1. Overview of MHA
At present, MHA is a relatively mature solution in mysql high availability. It is developed by Japanese DeNA company youshimaton (now working in Facebook company), and it is an excellent high availability software for failover and master-slave improvement in mysql high availability environment. In the process of mysql failov ...
Posted by dbakker on Sun, 22 Mar 2020 16:49:22 +0100
014.Kubernetes Prometheus+Grafana+EFK+Kibana+Glusterfs Integrated Solution
A glusterfs storage cluster deployment
Note: The following are brief steps for detailed reference to GlusterFS Independent Deployment with 009.Kubernetes Permanent Storage.
1.1 schema
slightly
1.2 Related Planning
Host
IP
disk
Remarks
k8smaster01
172.24.8.71
-
Kubernetes Master Node
Heketi Host
k8smaster02
172.2 ...
Posted by maseeha on Fri, 20 Mar 2020 02:03:46 +0100