1、实验:A,B,C三台主机,A通过B连接通CA:centos7(192。168.93.254)B:centos6(192.168.93.253)C:R1(192.168.93.200)首先假设C主机做过防火墙策略,禁止被A直接连接通Iptables-AINPUT-s(A的IP)-jREJECT[root@R~]#iptables-AINPUT-s192.168.93.254-jREJECT因为A
分类:
其他好文 时间:
2019-01-25 11:34:36
阅读次数:
230
1.在服务器上执行: ssh root@localhost ==》no 是为了创建一个文件夹.ssh vi .ssh/authorized_keys 将本机上的: cat .ssh/id_rsa.pub 拷贝进上面的文件中,再次启动,即可以实现免密码登陆。 2.补充知识点: ~/.ssh目录下有3个 ...
分类:
其他好文 时间:
2019-01-24 19:01:22
阅读次数:
132
Flow Problem HDU - 3549 Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the we ...
分类:
其他好文 时间:
2019-01-20 18:48:49
阅读次数:
260
使用单下划线(_one_underline)开头表示方法不是API的一部分,不要直接访问(虽然语法上访问也没有什么问题)。 使用双下划线开头(__two_underlines)开头表示子类不能覆写该方法。除非你真的知道你在干什么,否则不要使用这种方式。 当你想让自己定义的对象也可以像Python内置 ...
分类:
编程语言 时间:
2019-01-19 17:31:24
阅读次数:
234
1.什么是Urllib(官网地址:https://docs.python.org/3/library/urllib.html#module-urllib) Urllib是python内置的HTTP请求库 包括以下模块: urllib.request 请求模块 urllib.error 异常处理模块 ...
分类:
编程语言 时间:
2019-01-19 11:08:56
阅读次数:
258
题意翻译 题目大意 输入一个 xxx ,一个 yyy ,求是 xyx^yxy 大还是 yxy^xyx 大。 (1≤x,y≤109)(1≤x,y≤10^9)(1≤x,y≤109) 输入输出格式 输入格式 一行,两个整数 x,yx,yx,y 。 输出格式 若 xyx^yxy > yxy^xyx ,输出" ...
分类:
其他好文 时间:
2019-01-15 19:04:29
阅读次数:
199
作为中间件,消息队列是分布式应用间交换信息的重要组件。消息队列可驻留在内存或磁盘上, 队列可以存储消息直到它们被应用程序读走。通过消息队列,应用程序可以在不知道彼此位置的情况下独立处理消息,或者在处理消息前不需要等待接收此消息。所以消息队列可以解决应用解耦、异步消息、流量削锋等问题,是实现高性能、高 ...
分类:
其他好文 时间:
2019-01-13 20:24:52
阅读次数:
261
当前系统环境: 1、Windows 7中文旗舰版 2、Visual studio 2017、Visual studio 2019 3、Cmake 3.8.1 报错信息: The C compiler identification is unknown The CXX compiler identif ...
分类:
其他好文 时间:
2019-01-11 00:09:12
阅读次数:
594
Description Everyone knows of the secret agent double oh seven, the popular Bond (James Bond). A lesser known fact is that he actually did not perform ...
分类:
其他好文 时间:
2019-01-10 21:42:17
阅读次数:
127
请支持正版地址:http://blog.51cto.com/zpf666
分类:
数据库 时间:
2019-01-09 22:48:33
阅读次数:
491