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

Installing Chinese community version of Gitlab for docker under centos7 Linux

catalog 1, Environment 2, Installation procedure 3, Use 4, 500 problem solving 1, Environment linux: centos7 docker:18.06.3-ce gitlab: twang2218/gitlab-ce-zh(Sinicized GitLab Community Edition) 2, Installation procedure To configure the image accelerator (skip this step if you have already configured it), open the / etc/docker/daemon.j ...

Posted by jdavila28 on Thu, 14 May 2020 22:47:02 -0700

[experience sharing] the best practice of remote login server with Python

When using Python to write some scripts, in some cases, we need to log in to the remote service frequently to execute a command and return some results. In a shell environment, this is what we do. $ sshpass -p ${passwd} ssh -p ${port} -l ${user} -o StrictHostKeyChecking=no xx.xx.xx.xx "ls -l" Then you will find that your output has a lot of ...

Posted by wakenbake on Mon, 11 May 2020 00:56:20 -0700

lsyncd installation and configuration under CentOS 6.9 (take local synchronization as an example)

rsync+lsyncd to realize real-time file synchronization yum -y install rsyncd (both the synchronized end and the synchronized end need to be installed) 1. Provide lsyncd installation source rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 1 2 2. Dependency of installing lsyncd from yum yum -y install ...

Posted by Loriq on Sun, 10 May 2020 09:07:57 -0700

RocketMq cluster construction steps teaching package teaching package meeting

mq cluster construction I haven't written these technical articles for a while. I'll spare some time to write them today, or I'll forget them This article records the process of building rocketmq cluster, and it's also a half day's achievement record! Interested friends like to go! Well, there's not much bullshit. Let's start. This article i ...

Posted by scoppc on Thu, 07 May 2020 00:07:47 -0700

Jenkins+maven+gitlab+Tomcat auto deployment version update and rollback

Implementation effect of this blog: combined with maven+gitlab, you can use Jenkins to implement version iterative update and version rollback operations for tomcat servers in different environments (test and online environments). After deployment, you only need to click a few times. 1, Environmental preparation system IP host name Running s ...

Posted by John Rowe on Tue, 05 May 2020 19:45:51 -0700

ping batch ip and display results

Make a record to avoid forgetting. Don't spray) Type 1: Ping the ip in a file. If you can ping up, if you can't Ping down #! /bin/bash for ip in `cat iplist` do ping=`ping -c 1 $ip|grep loss|awk '{print $8}'|awk -F "%" '{print $1}'` if [ $ping -eq 100 ];then echo $ip is down else echo $ip is up fi done Explain: f ...

Posted by thorpe on Tue, 05 May 2020 14:25:12 -0700

WeChat official account development study (1) -- official account number and server configuration

A new WeChat official account has been applied for. 1. Apply for the account of wechat public platform, and then apply for Tencent cloud recommended by him to do demo 2. After applying for centos host, get the public ip and password. After ssh login, follow the demo prompt 3. Install web.py. wget -c http://webpy.o ...

Posted by gjb79 on Mon, 27 Apr 2020 08:21:54 -0700

How to synchronize Git services

I haven't written a blog for a long time. Although I haven't written a few articles, I'm still active in the Internet industry... Needless to say, it's useless. Let's share how to synchronize Git services.Git service we usually use gitlab rake tool to do regular backup. When there is a problem, we can use backup recovery. Is there a need for a ...

Posted by oliverw92 on Mon, 13 Apr 2020 07:56:26 -0700