1.1 yml configuration file spring: rabbitmq: # host: amqp-cn-9lb31jq7o019.cn-beijing.amqp-14.vpc.mq.amqp.aliyuncs.com host: 127.0.0.1 port: 5672 username: guest password: guest # username: MjphbXFwLWNuLTlsYjMxanE3bzAxOTpMVEFJNXRTVFhoWVpnODRlWUg5aHJyRjI= # password: RTI5MzlFQ0FFQzM5Q0I3MkM0MUEzNDc1M0ZFMzU0MkIwNjRFQzg4MToxNjc1MzE4OTMwMTMx # virtual-host: /lk virtual-host: / first: host: 127.0.0.1 port: 5672 username: guest password: guest virtual-host: /xinaohealth 1.2 Configuration class (need to manually create switches and queues, etc.) import com.laikang.cloud.community.server.common.constants.Constant; import org.springframework.amqp.core.*; import […]
Tag: hosts
SQL implements master-slave replication on two hosts (when the business stops running)
If the database of a server needs to lock the table, the table cannot be read, and the running business will be affected at this time. Master-slave replication is to make the data in the master server (master) and the slave server (slave) exactly the same and update the data synchronously. If the master server […]
Feign dynamically specifies routing hosts based on parameters
feign dynamically specifies the routing host based on parameters Background There is a recent demand on the project: define a host address field through a public basic entity, and feign will be called according to the dynamic change of the specific value when calling remotely. Official solution The first option Official support for dynamically specifying […]
Intranet security: Cobalt Strike tool penetrates multi-layer intranet hosts. (Forward || Reverse)
Intranet security: Cobalt Strike tool penetrates multi-layer intranet hosts. Cobalt Strike is a metasploit-based GUI framework penetration tool, also known as CS by the industry. It has a variety of protocol host online methods, integrates port forwarding, service scanning, automatic overflow, multi-mode port monitoring, winexe Trojan generation, win dll Trojan generation, java Trojan generation, office […]
When a Mac file is permanently locked, such as: the hosts file cannot be modified and locked and cannot be unlocked
1. The process of solving “hosts file cannot be modified and edited” 1.1 Personal problems I want to add configuration in the hosts file, and then I will directly vim the /etc/hosts file according to the usual operation, save it directly after modification, and it will become popular “/private/etc/hosts” E212: Can’t open file for writing […]
zabbix automatically adds hosts
zabbix distributed automatically adds hosts and templates There are two ways to automatically add hosts Network discovery (Network discovery) server-agent server is very busy; Automatic registration ( Active agent auto-registration ) The agent sends a request to add a host to the sever Experiment ideas zabbix automatically adds hosts Configure the server side (configure the […]
Kali-linux identifies active hosts
Before attempting a penetration test, it is necessary to identify the active hosts within this target network. Within a target network, the easiest method would be to ping. Of course, it may be rejected by a host, or it may be accepted. This section describes the use of the Nmap tool to identify active hosts. […]
android7.1 printer (ghostscript+hpijs – hplip)
Foreword At present, the basic directions of transplanting printer drivers for android on the Internet are as follows: ghostscript : gs itself is mainly a file converter, the support for printers is relatively limited, and other filters are needed Such as hpijs foo2zjs cups: cups is very powerful and is also a very common printing […]
mysql master-slave error handling: unblock with ‘mysqladmin flush-hosts’ and Slave has more GTIDs than the master has
What should I do if I inserted 10W records at a time yesterday and got stuck? I found that the status of the slave server was wrong, because I had killed the process several times in the middle, and now the data is not synchronized, and the status is not correct! Process unblock with ‘mysqladmin […]
SRv6 Practice Project (6): The control plane completes the discovery of links and hosts
In this experiment, we need to use ONOS to complete the control of the data plane 1. Enable the IO function of the packet and verify link discovery main.p4 provides the definition format of messages communicating with P4Runtime, which are PacketIn and PacketOut respectively, and they are all annotated , indicating that this is a […]