安装的时间顺序

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 桥接的更多相关文章

  1. 【转】.NET程序员提高效率的70多个开发工具

    原文:.NET程序员提高效率的70多个开发工具 工欲善其事,必先利其器,没有好的工具,怎么能高效的开发出高质量的代码呢?本文为各ASP.NET 开发者介绍一些高效实用的工具,涉及SQL 管理,VS插件 ...

  2. Docker 配置固定IP及桥接的实现方法(转载)

    这篇文章主要介绍了Docker 配置固定IP和桥接的实现方法的相关资料,这里详细介绍了Docker 的四种网络模式及如何实现桥接的案例,需要的朋友可以参考下 docker默认使用bridge模式,通过 ...

  3. KVM Network Bridging

    from http://hzqtc.github.io/2012/02/kvm-network-bridging.html http://wiki.ubuntu.org.cn/Kvm_%E7%BD%9 ...

  4. 《.NETer提高效率——环境部署》

    初衷 兵马未动,粮草先行. 电脑坏了or换工作等需要重装系统. 开发运维一把梭. 与时俱进. 记忆力差,需要文字记录. 因为懒... 目的 通过学习 Linux+docker+kubernetes+C ...

  5. Oracle多表连接,提高效率,性能优化 (转)

    执行路径:ORACLE的这个功能大大地提高了SQL的执行性能并节省了内存的使用:我们发现,单表数据的统计比多表统计的速度完全是两个概念.单表统计可能只要0.02秒,但是2张表联合统计就可能要几十表了. ...

  6. 提高效率的Matlab使用方式

    1.花一点时间学习一些提高效率的技巧永远是值得的: 2.总结和记录永远是必要的. Command窗口: Editor窗口: 1.Tab自动补全

  7. paip.提高效率---集合的存取括号方式 uapi java python php js 的实现比较

    paip.提高效率---集合的存取括号方式 uapi java python php js 的实现比较 ##java ----------- 在JDK1.7中,摒弃了Java集合接口的实现类,如:Ar ...

  8. paip.提高效率---微信 手机app快速开发平台—微网络撬动大市场

    paip.提高效率---微信 手机app快速开发平台-微网络撬动大市场   手机app快速开发平台 尤其适合crm系统,呼叫中心等业务功能...    作者Attilax  艾龙,  EMAIL:14 ...

  9. oracle里要查看一条sql的执行情况,有没有走到索引,怎么看?索引不能提高效率?

    index scan 索引扫描 full table scan是全表扫描 直接explain plan for 还有个set autotrace什么 索引一定能提高执行效率吗? 索引不能提高效率的情况 ...

随机推荐

  1. js日期格式验证

    js日期格式验证 <input type="text" maxLength='10' onkeyup='checkDate(this.value,jQuery(this)); ...

  2. 探索ASP.Net Core 3.0系列二:聊聊ASP.Net Core 3.0 中的Startup.cs

    原文:探索ASP.Net Core 3.0系列二:聊聊ASP.Net Core 3.0 中的Startup.cs 前言:.NET Core 3.0 SDK包含比以前版本更多的现成模板. 在本文中,我将 ...

  3. django后台返回html字段会产生XSS防护的解决方式

    1.在前端模块里面写 {{  page_str|safe }} 2.在后端 from django.utils.safestring import mark_safe pake_str = mark_ ...

  4. 使用SQL语法来查询Elasticsearch:Elasticsearch-SQL插件

    简介 Elasticsearch-SQL是Elasticsearch的一个插件,它可以让我们通过类似SQL的方式对Elasticsearch中的数据进行查询.项目地址是:https://github. ...

  5. oracle数据的导入导出(两种方法三种方式)

    大概了解数据库中数据的导入导出.在oracle中,导入导出数据的方法有两种,一种是使用cmd命令行的形式导入导出数据,另一种是使用PL/SQL工具导入导出数据. 1,使用cmd命令行导入导出数据 1. ...

  6. Django之AJAX请求

    ---恢复内容开始--- 一.choices字段  1.实列  前端代码 <div class='container'> <div class="row"> ...

  7. SubwayPlan

    GitHub:https://github.com/wakerh1/subwayBJ 北京地铁图片: 地铁出行路线规划项目需求及实现概要: 1.设计一种文件格式用于存储地铁信息 2.设计启动程序并读取 ...

  8. 【学习笔记】Minkowski和

    这还是个被我咕了N久的玩意 Minkowski和是一个奇怪的玩意 他长这样 $S={a+b \| a \in A , b \in B}$ AB可以是点集也可是向量集(显然) 他可以处理一些奇怪的东西 ...

  9. 最简单的注册美区Apple ID方法

    最简单方法注册苹果美区Apple ID 1.打开苹果官网链接 苹果官网 2. 点击右下角的 United States 3. 点击图片中的选项 4.点击右上角的选项创建新的Apple ID 注意是新的 ...

  10. Git 回滚操作之 revert

    https://blog.csdn.net/HobHunter/article/details/79462899 https://blog.csdn.net/secretx/article/detai ...