场景:一台服务上搭建redis主从复制 前提:服务器上的redis是通过宝塔安装的,安装路径为/www/server/redis/ 1. cd /www/server/redis && cp redis.conf redis_6380.conf 2. vim redis_6380.conf 更改以下 ...
分类:
其他好文 时间:
2020-07-12 14:28:31
阅读次数:
73
Quagga BGP and exabgp: work together for BGP blackhole implementation In our test case we will deploy two machines: 10.0.3.114 for exabgp (it announce ...
分类:
其他好文 时间:
2020-07-12 12:21:39
阅读次数:
70
1 方式一dhclient命令 yum install dhclient // 释放所有ip dhclient -r // 获取ip dhclient // 查看ip ip a 2 方式二setup图像命令 // install yum install setuptool yum install n ...
分类:
其他好文 时间:
2020-07-12 12:18:23
阅读次数:
62
#为网卡设置bond,实现多块网卡使用同一个ip地址以提供网卡负载均衡或容错的能力DEVICE=bond0TYPE=EthernetONBOOT=yesBOOTPROTO=noneIPADDR=192.168.90.80NETMASK=255.255.255.0BONDING_OPTS="mode= ...
分类:
系统相关 时间:
2020-07-12 12:08:20
阅读次数:
103
Work and acquire, and thou hast chained the wheel of chance.边工作边探求,你便可拴住机会的车轮。 大学物理 —— 振动学 本来不想写的… 目录 1. 振动的概念2. 简谐振动3. 弹簧振子4. 旋转矢量:5. 简谐振动实例单摆 (摆动角度很 ...
分类:
其他好文 时间:
2020-07-11 00:16:37
阅读次数:
136
应用下新建utils文件,在里面定义自己的Response类,继承自Response # 导入Response from rest_framework.response import Response # 自定义的Response类 class APIResponse(Response): # 初始 ...
分类:
其他好文 时间:
2020-07-10 21:29:19
阅读次数:
69
[OHIF-Viewers]医疗数字阅片-医学影像-cornerstone-core-Cornerstone.js-Cornerstone Examples-基石实例 The following examples should work on any browser that supports th ...
分类:
Web程序 时间:
2020-07-10 18:56:42
阅读次数:
89
安装 下载软件 → 安装 → Edit Custom VM option 填一行(-javaagent:) → 重启 → 输入激活码 IDEA-Module 在 Eclipse 中有 Workspace(工作空间) 和 Project(工程) 的概念,在 IDEA 中只有 Project(工程) 和 ...
分类:
其他好文 时间:
2020-07-10 13:16:37
阅读次数:
67
ip配置 ifconfig 查看 cd /etc/sysconfig/network-scripts vi ifcfg-en0 BOOTPROTO=static IPADDR=192.168.1.100 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 ONBOOT ...
分类:
其他好文 时间:
2020-07-10 13:10:15
阅读次数:
79
在本分类第15篇文章(地址:https://www.cnblogs.com/Nick-Hu/p/13276594.html)中说道使用vagrant成功创建了镜像实例,并成功访问了。但是由于默认配置下的vagrant实例网络访问是采用与宿主机端口映射的方式访问的。这会导致在镜像实例每安装一个软件都需 ...
分类:
系统相关 时间:
2020-07-10 10:13:02
阅读次数:
83