码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
2. Docker基础用法
Docker 架构 docker 是C/S架构的软件,无论是client端还是Server端都是由 docker 一个程序提供,这个程序有很多子程序。 docker daemon 就是其中一个子程序,当运行 docker daemon 时,主机就运行成一个守护进程服务器,它可以监听在某个套接字上,为 ...
分类:其他好文   时间:2020-12-03 12:26:13    阅读次数:11
手动O(2)优化+对拍程序
手动O(2)优化 #pragma GCC optimize(2) 对拍程序 先🐎一份数据生成程序 以a+b为例 #include <bits/stdc++.h> using namespace std; int main() { srand( time( 0 ) ); freopen( "data ...
分类:其他好文   时间:2020-12-03 11:36:16    阅读次数:5
快排与TopK 问题
快排与TopK 问题都可以用partition解决,所以这里将两者放在一起进行总结 topK 问题 #include<vector> #include<iostream> #include<algorithm> using namespace std; class Solution{ public: ...
分类:其他好文   时间:2020-12-02 12:25:31    阅读次数:4
数据结构实验之排序四:寻找大富翁
数据结构实验之排序四:寻找大富翁 Code: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 1010; 4 const int minn = -10001; 5 6 int a[25]; 7 int n,m; ...
分类:编程语言   时间:2020-12-02 12:03:32    阅读次数:6
部署Redis集群
分片+高可用+负载均衡 其中一个挂了,备用的顶上 redis集群 启动6个容器 创建redis集群网卡 docker network create redis --subnet 172.38.0.0/16 查看redis网卡的详细信息 docker network inspect redis 配置r ...
分类:其他好文   时间:2020-12-02 12:02:17    阅读次数:3
Docker容器技术入门(一)
Docker容器技术入门(一)收录于话题#Docker专辑9个1Docker技术介绍DOCKER是一个基于LXC技术之上构建的container容器引擎,通过内核虚拟化技术(namespace及cgroups)来提供容器的资源隔离与安全保障,KVM是通过硬件实现的虚拟化技术,它是通过系统来实现资源隔离与安全保障,占用系统资源比较小官方网站:https://www.docker.com/Docker
分类:其他好文   时间:2020-12-02 11:53:58    阅读次数:4
centos7 网络相关的设置文件-待验证
比如我想开机自动添加全局route ,可以在2个地方进行route动作 /etc/sysconfig/network或者/etc/rc.local,当然也可以在/etc/sysconfig/network中添加gateway,如下: ip route add xxx GATEWAY=xxx 比如我想 ...
分类:其他好文   时间:2020-12-02 11:52:19    阅读次数:4
基环树
基环树 基环树直径 P3248 #include<bits/stdc++.h> using namespace std; #define ll long long const int N=1e5+5; int n; int te,v[N<<1],pre[N<<1],tail[N]; ll L,len ...
分类:其他好文   时间:2020-12-01 12:29:19    阅读次数:7
HDU 2594 Simpsons’ Hidden Talents KMP
#include<iostream> #include<string> using namespace std; void getNext(string s, int *nex) { nex[0] = -1; int i = 0, j = -1; int len = s.length(); whil ...
分类:其他好文   时间:2020-12-01 12:22:41    阅读次数:7
POJ 2406 Power Strings KMP
#include<iostream> #include<cstring> using namespace std; int len; void getNext(char *s, int *nex) { nex[0] = -1; int i = 0, j = -1; while(i < len) { ...
分类:其他好文   时间:2020-12-01 12:21:17    阅读次数:7
共53294条   上一页 1 ... 65 66 67 68 69 ... 5330 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!