Transaction management of SpringBoot @ Transactional

ssh ssm has transaction management service layer configured through applicationContext.xml, and all service methods are added with transaction operations; It is used to ensure consistency, that is, multiple dao operations in the service method succeed or fail at the same time; Just make a @ Transactional under springboot Transf ...

Posted on Sat, 28 Mar 2020 10:51:55 -0400 by bigmichael

Let Linux Firewall rookie nftables escort your VPS

Last article This paper introduces the advantages and basic usage of nftables. The advantage of nftables is that it compiles network rules into bytecode directly in user mode, and then it is executed by virtual machine of kernel. Although it is based on netfilter as iptables, nftables is more flexible. Before using iptables to match a large amo ...

Posted on Wed, 25 Mar 2020 23:03:46 -0400 by langer

Using vagrant to build virtualbox

Using vagrant to build environment Vagrant is a popular tool in recent years, through which we can automatically create a running environment and realize infrastructure as code. vargrant has the following great movies. Convenient sharing environment By sharing the code needed to build the environment, anyone can rebuild the same environment T ...

Posted on Wed, 25 Mar 2020 13:36:15 -0400 by Goose

Enable or disable SSH for a specific user or user group

What is SSH? The full name of openssh is OpenBSD Secure Shell. Secure Shell (SSH) is a free and open-source network tool, which enables us to access remote hosts in an insecure network by using Secure Shell (SSH) protocol. It adopts client server architecture (C/S), which has the functions of user identity authentication, encryption, file tra ...

Posted on Tue, 24 Mar 2020 03:22:07 -0400 by sxiix

OpenLDAP+SSL+SSSD for centralized authentication of Linux login

Part I sldap database installation of OpenLDAP 1. yum install yum install -y openldap openldap-servers openssh-ldap openldap-clients migrationtools 2, Configure ssl domain name certificate to realize TLS encrypted communication of ldap Access the LDAP database through the domain names master.ldap.conf.top (Master LDAP) and slave.ldap.conf.t ...

Posted on Tue, 24 Mar 2020 03:15:04 -0400 by khenriks

Create VuePress + GithubPages + TravisCI online documents

Catalog Final results thinking population process Something Used Relevant Create a Github repository Create a Github repository SSH Key Link Github Generate SSH Key Github Add SSH Key Test SSH Key Configure VuePress Install VuePress Install yarn Debian / Ubuntu Windows Replace domestic sources Install VuePress VuePress directory ...

Posted on Sun, 22 Mar 2020 01:46:16 -0400 by henryhund

centos password free remote replication scp

Preface Why is there such a need? Because the server is load balanced and has multiple nodes, and now it is automatically deployed, it can't be deployed once on each node, right? If it is deployed on a server, It is convenient to copy directly and remotely to other servers, but since scp needs to enter password and script is troublesome, it is ...

Posted on Sat, 21 Mar 2020 13:47:05 -0400 by donbonzo

git user manual -- Remote warehouse

1. Create a warehouse on gitlab 2. SSH Key Because we used gitlab for the first time to create SSH Key before pushing files. In the user's home directory, check to see if there is a. ssh directory. If there is, check to see if there are two files in this directory, i.e. id_rsa and id_rsa.pub. If there are already, you can skip to the next s ...

Posted on Sat, 21 Mar 2020 04:06:09 -0400 by Lodius2000

Attachment 014.Kubernetes Prometheus+Grafana+EFK+Kibana+Glusterfs Integration Scheme

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 on Fri, 20 Mar 2020 03:13:05 -0400 by yanti

Building a Fully Distributed Large Data Platform Based on EnOS 7

Article Directory 1. Environment 2. Network 3. Goals 4. List of installation packages 5. Preparations 5.1 Transport Installation Pack 5.2 Configure yum source 5.3 Install GCC GCC-C++. 5.4 yum acceleration 5.5 Host Name to IP Mapping 6. Installation 6.1 Unzip the installation package 6.2 Install My ...

Posted on Mon, 16 Mar 2020 21:54:08 -0400 by felipeebs