docker 提高效率 network-bridging 桥接
安装的时间顺序
bit3 192.168.107.128
wredis 192.168.107.129
wmysql 192.168.107.130
wslave 192.168.107.131
w

0-Ubuntu 64 -bit(3)
1-3
wredis
wmysql
wslave
0-一键安装ubuntu-16.iso
1-wslave sudo passwd
root
2-root
apt-get upgrade 比较耗时
apt install ssh
目的:
mongo
msyql
redis
master slave 主从复制实战
3 ifconfig 查ip xshell 连接

集群
更多的虚拟机
dooker 来替代上述012 避免重复,提高核心问题的时间比重
w

arp -a


目的
Connecting to 192.168.107.128:...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'. Welcome to Ubuntu 16.04. LTS (GNU/Linux 4.4.--generic x86_64) * Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Tue May ::
wuser@ubuntu:~$

well@well:~$ ps -e
PID TTY TIME CMD
? :: bash
? :: sshd
? :: sshd
? :: sshd
pts/ :: bash
? :: mongod
? :: sshd
? :: sshd
pts/ :: bash
pts/ :: ps
well@well:~$ ps -e | grep ssh
? :: sshd
? :: sshd
? :: sshd
? :: sshd
? :: sshd
well@well:~$ netstat -ntlp
(No info could be read for "-p": geteuid()= but you should be root.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 127.0.0.11: 0.0.0.0:* LISTEN -
tcp 127.0.0.1: 0.0.0.0:* LISTEN -
tcp 127.0.0.1: 0.0.0.0:* LISTEN -
tcp 0.0.0.0: 0.0.0.0:* LISTEN -
tcp6 ::: :::* LISTEN -
well@well:~$

well@well:~$ ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port]
[-Q cipher | cipher-auth | mac | kex | key]
[-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
well@well:~$ sudo apt-get install ssh
[sudo] password for well:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ssh is already the newest version.
upgraded, newly installed, to remove and not upgraded.
well@well:~$
查看linux ssh服务信息及运行状态 - 零一小筑 - 51CTO技术博客
http://jetyi.blog.51cto.com/1460128/997221
well@well:~$ ifconfig
eth0 Link encap:Ethernet HWaddr ::0a:::
inet addr:10.0.0.2 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80:::aff:fe00:/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (56.1 MB) TX bytes: (4.7 MB) lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::/ Scope:Host
UP LOOPBACK RUNNING MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (72.3 KB) TX bytes: (72.3 KB)

w
https://www.freebsd.org/doc/zh_CN.UTF-8/books/handbook/network-bridging.html
ubuntu-16.04.2-server-amd64.iso

Q
VMware虚拟机无法连接外网问题
A
0-虚拟机网卡属于桥接模式
1-关闭虚拟机
2-重置虚拟机网络 restore


C:\>arp -a Interface: 192.168.95.251 --- 0xc
Internet Address Physical Address Type
192.168.95.1 bc--0e-0a-de- dynamic
192.168.95.20 -0c--b7-ca- dynamic
192.168.95.100 -a0--7d-b8-6b dynamic
192.168.95.236 -e0--1a-b9- dynamic
192.168.95.248 3c--0e-ab-cf-7a dynamic
192.168.95.252 -cf-e0--- dynamic
192.168.95.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 --5e--- static
224.0.0.251 --5e---fb static
224.0.0.252 --5e---fc static
224.0.0.253 --5e---fd static
230.0.0.3 --5e--- static
239.192.152.143 --5e---8f static
239.255.255.250 --5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.19.1 --- 0x15
Internet Address Physical Address Type
192.168.19.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 --5e--- static
224.0.0.251 --5e---fb static
224.0.0.252 --5e---fc static
239.255.255.250 --5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.107.1 --- 0x16
Internet Address Physical Address Type
192.168.107.254 ---f7-- dynamic
192.168.107.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 --5e--- static
224.0.0.251 --5e---fb static
224.0.0.252 --5e---fc static
239.255.255.250 --5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 169.254.97.165 --- 0x19
Internet Address Physical Address Type
169.254.255.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 --5e--- static
224.0.0.251 --5e---fb static
224.0.0.252 --5e---fc static
224.0.0.253 --5e---fd static
239.192.152.143 --5e---8f static
239.255.255.250 --5e-7f-ff-fa static
well@well:/$ arp
Address HWtype HWaddress Flags Mask Iface
10.0.0.1 ether :::2e:: C eth0
well@well:/$
docker 提高效率 network-bridging 桥接的更多相关文章
- 【转】.NET程序员提高效率的70多个开发工具
原文:.NET程序员提高效率的70多个开发工具 工欲善其事,必先利其器,没有好的工具,怎么能高效的开发出高质量的代码呢?本文为各ASP.NET 开发者介绍一些高效实用的工具,涉及SQL 管理,VS插件 ...
- Docker 配置固定IP及桥接的实现方法(转载)
这篇文章主要介绍了Docker 配置固定IP和桥接的实现方法的相关资料,这里详细介绍了Docker 的四种网络模式及如何实现桥接的案例,需要的朋友可以参考下 docker默认使用bridge模式,通过 ...
- KVM Network Bridging
from http://hzqtc.github.io/2012/02/kvm-network-bridging.html http://wiki.ubuntu.org.cn/Kvm_%E7%BD%9 ...
- 《.NETer提高效率——环境部署》
初衷 兵马未动,粮草先行. 电脑坏了or换工作等需要重装系统. 开发运维一把梭. 与时俱进. 记忆力差,需要文字记录. 因为懒... 目的 通过学习 Linux+docker+kubernetes+C ...
- Oracle多表连接,提高效率,性能优化 (转)
执行路径:ORACLE的这个功能大大地提高了SQL的执行性能并节省了内存的使用:我们发现,单表数据的统计比多表统计的速度完全是两个概念.单表统计可能只要0.02秒,但是2张表联合统计就可能要几十表了. ...
- 提高效率的Matlab使用方式
1.花一点时间学习一些提高效率的技巧永远是值得的: 2.总结和记录永远是必要的. Command窗口: Editor窗口: 1.Tab自动补全
- paip.提高效率---集合的存取括号方式 uapi java python php js 的实现比较
paip.提高效率---集合的存取括号方式 uapi java python php js 的实现比较 ##java ----------- 在JDK1.7中,摒弃了Java集合接口的实现类,如:Ar ...
- paip.提高效率---微信 手机app快速开发平台—微网络撬动大市场
paip.提高效率---微信 手机app快速开发平台-微网络撬动大市场 手机app快速开发平台 尤其适合crm系统,呼叫中心等业务功能... 作者Attilax 艾龙, EMAIL:14 ...
- oracle里要查看一条sql的执行情况,有没有走到索引,怎么看?索引不能提高效率?
index scan 索引扫描 full table scan是全表扫描 直接explain plan for 还有个set autotrace什么 索引一定能提高执行效率吗? 索引不能提高效率的情况 ...
随机推荐
- UML类图(一)
前言 最近在学习程杰老师的<大话设计模式>,觉得非常不错,就做了一些学习笔记和总结.如果对设计模式很感兴趣的,可以直接阅读书籍,相信会有更多的收获. 本人小菜一枚,如果理解的不对的还请多多 ...
- [LeetCode] 210. 课程表 II
题目链接:https://leetcode-cn.com/problems/course-schedule-ii/ 题目描述: 现在你总共有 n 门课需要选,记为 0 到 n-1. 在选修某些课程之前 ...
- 初次尝试python爬虫,爬取小说网站的小说。
本次是小阿鹏,第一次通过python爬虫去爬一个小说网站的小说. 下面直接上菜. 1.首先我需要导入相应的包,这里我采用了第三方模块的架包,requests.requests是python实现的简单易 ...
- HNUSTOJ-1258 Time
1258: Time 时间限制: 1 Sec 内存限制: 128 MB提交: 16 解决: 11[提交][状态][讨论版] 题目描述 Digital clock use 4 digits to e ...
- ajax实现异步请求模态登陆
ajax实现模态登陆 j2ee课程项目实现 Ajax 即"Asynchronous Javascript And XML"(异步 JavaScript 和 XML),是指一种创 ...
- vs2013 找不到帮助 help查看器
我手贱把help查看器卸载了,打开帮助提示找不到帮助. 不想把vs重装,打开ios镜像,加载,cmd进入 到packages\Help 执行msiexec /i help3_vs_net.msi vs ...
- linux 更改 mysql 管理员口令
#更改口令前,确保 mysql 服务已经正常启动 mysqladmin –u root passwd 新口令 #登陆 mysql ./mysql –u root –p Enter password:新 ...
- Codeforces 960 二进制构造子序列 完全二叉树shift模拟 主席树/MAP DP
A #include <bits/stdc++.h> #define PI acos(-1.0) #define mem(a,b) memset((a),b,sizeof(a)) #def ...
- 基于vue上传base64图片,通过canvas压缩base64
其实和vue关系不大,和我们之前做上传压缩性质是一样的 当然下面的代码是没有处理ios横屏拍照的bug的 有兴趣的可以多搜一下 网上都有相应的解答 .. var that = this if (e. ...
- Ubuntu 16.04 + GTX970 + cuda8.0.44安装配置等问题(转)
参考:https://blog.csdn.net/u010094199/article/details/54380086 参考:https://blog.csdn.net/jonms/article/ ...