Asible Learning Notes--Common Modules

Ansible Common Modules Modules included in this section: (1) Timing task module cronvar (2) archive module (3) Unpacking module unarchive (4) Download module get_url (5) wait_for module (6) script module Timed Task Module cronvar In addition to the cron module itself, which can manage cron's environment variables, another module, cronvar, can ...

Posted by jharbin on Sun, 17 Nov 2019 05:15:50 +0100

Common rules checks in front-end Vue

premise In the development of vue, it is unavoidable to encounter a variety of form checks, here sorted out some checking methods used on the network and in their usual high frequencies.If you are wrong, you are welcome to add updates later. 1. Is it a legal IP address export function validateIP(rule, value,callback) { if(value==''||value==un ...

Posted by Flying Sagittarius on Thu, 14 Nov 2019 06:18:57 +0100

Python implementation of FTP file timing automatic download

I have always been inspired by the technical problems I encountered before. Thank you for your selfless sharing. However, I seldom publish, which is limited, but also limits the accumulation and summary of knowledge. In the future, I would like to share more summaries and give back to my blog, and I hope you will criticize me more.   I. demand: ...

Posted by thebusinesslad on Mon, 11 Nov 2019 11:00:22 +0100

IPVS matching extension of Netfilter

The iptables command below looks at the help information for the ipvs matching extension. The matching fields are protocol number, address, port, direction of data flow, forwarding mode and port number of control connection. For FTP like services, the control connection port is 21 and the data port is 2 ...

Posted by Design on Thu, 24 Oct 2019 15:29:31 +0200

Java String split Trampling

1.1 The pit of split A couple of days ago in the company to pass FTP The data files uploaded by this method are parsed in a prescribed format and then put into storage. The general idea of code implementation is as follows: first, read the files by stream, parse and encapsulate each line of data into an object, and then carry out the operation ...

Posted by Ravi Kumar on Mon, 14 Oct 2019 15:34:12 +0200

Shopping Mall Project Server Practices SSM - ----- Front Desk Payment Interface (Payment in Sweep Payment in Face)

Payment of documents in person Verification process: Payment process: Common Constants package com.mmall.common; import com.google.common.collect.Sets; import java.util.Set; //Setting Common Quantity public class Const { public static final String CURRENT_USER = "currentUser"; ...

Posted by Cultureshock on Wed, 09 Oct 2019 18:16:12 +0200

Linux DNS master-slave replication

The main purpose of setting up master-slave DNS is to share the pressure and redundancy so as to prevent DNS from being parsed properly after the server goes down. Configure master Normally configure DNS services. Setting Host Name [root@localhost ~]# hostnamectl set-hostname master [root@localhost ~]# bash Install the bind package [root@ma ...

Posted by Lee-Bartlett on Wed, 09 Oct 2019 11:10:18 +0200

ftp file upload and download by shell script

Some time ago, we need to upload some information verification data from our platform to the FTP server of our customers, so that they can compare and verify the relevant information. Since only four hosts contain this information, the strategy is to aggregate the generated four files onto one host, and then upload the files to the target FTP s ...

Posted by mjahkoh on Sun, 06 Oct 2019 16:16:09 +0200

apache-commons commons-pool2 integrates commons-net custom FTPClient object pool

Introduction to commons-net package commons-net is Apache commons tool kit for network. It implements some common network tools, such as smtp, pop3, telnet, ftp, udp and so on. This paper mainly uses its FTP tool. Problems with FTP Tools When using the ftp tool provided by commons-net, it is found that the complete connection and login process ...

Posted by slionheart on Fri, 13 Sep 2019 11:12:23 +0200

Centos7 pxe automatic deployment and kickstart unattended installation (one step in place!!!)

Experiments (1): Deploying PXE Remote Installation Service Batch deployment of servers Scale-up: multiple servers at the same time Automation: Installing systems and configuring services Remote implementation: no installation media such as CD-ROM, U-disk, etc. The basic steps of the experiment are as follows: 1, DHCP (Automatically Assign IP ...

Posted by shae marks on Tue, 10 Sep 2019 13:12:04 +0200