Access other nodes through a jumper using the JSCH framework

A set of code for remotely accessing ssh has been developed. Recently, there is a need for a jumper to access the target service.After searching the web for half a day, I didn't find a good example, so I browsed the API of JSCH myself.But look in the clouds.Imagine if port forwarding works by mapping the target node ip:port to localhost:port an ...

Posted by Spoiler on Sun, 05 Jul 2020 08:04:33 -0700

Deploying a hadoop cluster on Centos7

Hadoop's Trample Notes (1) Deploying a hadoop cluster on Centos7 Environmental Science Machine 1(hadoop1-ali) Ali Cloud (CentOS 7.3) 120.26.173.104 Machine 2(hadoop2-hw) Huawei Cloud (CentOS 7.4) 114.116.233.156 Where the first server serves as a namenode and the second serves as a datanode Modify hostname and hostfile Execute on two machines ...

Posted by maxxx on Sun, 28 Jun 2020 17:21:11 -0700

Enterprise level automation code release -- Git foundation and introduction

About Git Git is a distributed version control system git vs SVN project GIT SVN operation Complex concept, many orders, not easy to use Easy to operate Branch price Cheap branch Expensive branches Code management Distributed management Centralized management preservation Save the full f ...

Posted by trixiesirisheyes on Tue, 16 Jun 2020 19:42:56 -0700

MySQL build master slave high availability

Title: Article content output source: Lago education Java high salary training camp. This article is part of the notes in the MySQL learning course. This post explains in detail how to build MySQL with high availability and provides a solution to solve the problem that the common master-slave replicat ...

Posted by sgtbash on Sun, 14 Jun 2020 21:38:57 -0700

rsync+crond for scheduled backup

rsync introduction rsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bet ...

Posted by vivianp79 on Fri, 12 Jun 2020 22:03:41 -0700

CentOS (rsync+crond for scheduled backup)

1, rsync introductionrsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bett ...

Posted by christine75 on Fri, 12 Jun 2020 21:00:24 -0700

corosync v1 + pacemaker high availability cluster deployment

corosync v1 + pacemaker Corosync: an open cluster engine project derived from the development of OpenAIS to Wilson, which provides heartbeat message detection and member management. Pacemaker: cluster explorer. It uses the message and member management capabilities provided by the cluster infrastructure (OpenAIS, heartbeat or corosync) to dete ...

Posted by ryanpaul on Tue, 26 May 2020 22:53:30 -0700

Implement LVS scheduling and high availability of lvs+keeplive

1. Briefly describe the four cluster characteristics and usage scenarios of lvs LVS has three load balancing modes, VS/NAT (nat mode), VS/DR (routing mode), VS/TUN (tunnel mode), VS/FULLNAT 1. NAT mode (VS-NAT) Principle: The destination address of the IP header of a packet sent by a client is replaced by the IP address of one of the RSs on t ...

Posted by mdemetri2 on Mon, 25 May 2020 13:17:36 -0700

SSH Upgrade Version--8.2p1

preparation in advance Execute yum update openssh to upgrade first. The official upgrade is okay anyway.If you have previously manually compiled an upgrade of openssh, test yourself for changes to the default profile path.) (Unified openssh version 7.4p1 is prepared here before Unified Compile Installation is upgraded to openssh 8.2p1) [root@n ...

Posted by CleoK on Fri, 22 May 2020 21:10:07 -0700

Handling mining zombie network dota3 Trojan attacks under CentOS7

In the early morning, I received alert text messages from Ali cloud server.Emergency security incident: access malicious download source, access malicious download IP.Instant wake up, immediately get up to handle. First log in to Aliyun backstage, check the security center's warning mascot, found several records: Parent process path: /usr/bin ...

Posted by lur on Wed, 20 May 2020 09:57:35 -0700