安装的时间顺序

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. c++ Oracle OCCI 编程

    转载备忘:http://blog.sina.com.cn/s/blog_53a72add01015zj4.html 关于occi编程可以参考的链接: http://blog.itpub.net/162 ...

  2. B - 卿学姐与基本法 (离散化+成段更新+区间求和)

    卿学姐与基本法 Time Limit: 2000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) Submit S ...

  3. JCTF 2014 小菜两碟

    测试文件:https://static2.ichunqiu.com/icq/resources/fileupload//CTF/JCTF2014/re200 参考文章:https://blog.csd ...

  4. PHPstorm快捷键介绍总结

    如下所示: Eclipse快捷键 Ctrl+1 快速修复 Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加) Ctrl+Alt+↑ 复制当前行到上一行(复制增加) Alt ...

  5. gorpeln的个人博客 - gorpeln

    2019-10-18    App Store 审核指南 2019-10-03    锚点跳转距离顶部指定距离 2019-09-23    Jekyll 简单加密 (pwd=123456) 2019- ...

  6. 39. Combination Sum (Java)

    Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), fin ...

  7. MOVE - 重定位一个游标

    SYNOPSIS MOVE [ direction { FROM | IN } ] cursorname DESCRIPTION 描述 MOVE 在不检索数据的情况下重新定位一个游标. MOVE AL ...

  8. windows 10 x64系统 jdk1.7、jdk1.8 切换(jdk为exe安装版本)

    电脑先安装的1.7,后来安装1.8,改JAVA_HOME为1.8后cmd->java.javac.java -version可用1.8 后想改为1.7,更改环境变量(步骤1)后cmd->j ...

  9. wpf socket 简单通讯示例

    源码下载地址:https://github.com/lizhiqiang0204/WPF-Socket 效果如下:

  10. 1px像素问题(移动端经典问题)

    1.物理像素:移动设备出厂时,不同设备自带的不同像素,也称硬件像素: 逻辑像素:即css中记录的像素 在开发中,为什么移动端CSS里面写了1px,实际上看起来比1px粗:了解设备物理像素和逻辑像素的同 ...