This article introduces the use of docker to install consul and traditional deployment:
1. Docker-based installation and deployment of consul:
1. Run consul directly with docker run and download
Author: Simo
ZooKeeper simple section
1. What is ZooKeeper ZooKeeper is a distributed, open source distributed application coordination service. It is mainly used to solve the consistency problem of the application system in the dist
ZooKeeper application scenario
1.1. zookeeper application scenarios
Publishing and subscribing model, the so-called configuration center, as the name implies, is that the publisher publishes data to the ZK node for subscri
CentOS 7 installation configuration VSFTP service (virtual user login)
1.vim /etc/selinux/config
The configuration file is SELINUX=disable
2. Turn off the firewall setenforce 0
3.yum -y install vsftpd
4.cp /etc/ vsftpd/vsftpd.conf{,.bak}
Back up the main vsftpd c
Springboot integrate Mybatis
SpringBoot integrates Mybatis
1. Introduce maven dependency package:
<< /span>dependency>
Use ZooKeeper as a Spring Cloud configuration center (transfer)
This article is reproduced from https://blog.csdn.net/CSDN_Stephen/article/details/78856323
Mainstream implementation of Spring Cloud Configuration Center
Spring cloud config
Spring clo
Monitor ZooKeeper
[[email protected] scripts]$ cat zookeeper_mode.sh
#!/bin/bash
mode=`echo srvr|nc 127.0.0.1 2181| awk’/Mode/{print $2}’`
if [[ “$mode” == “follower” ]]; then
echo 1
el
Centos 7 firewall and port settings
CentOS 7 firewall and port settings Firewall management # Start firewall systemctl start firewalld# Turn off the firewall systemctl stop firewalld# Restart the firewall systemctl restart firewalld
Centos Apache 80 Agent Tomcat 8080 Port
Operating environment: Centos 6.5
Apache: 2.2.5
Edit /etc/httpd/conf/httpd.conf file
sudo vim /etc/httpd/conf/httpd.conf In the view module, with proxy is there a # at the beginning
SpringCloud implementation service call (RESTTTEMPLATE mode)
The previous article “Spring Cloud Building Registration Center and Service Registration” introduced the construction of the registration center and service registration. This article will introduc