网上抄来抄去 垃圾信息太多 本来很简单的事情 不知道为什么都说的那么复杂  官网也给一堆垃圾信息
  1. wget https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/repo/epel-6/librehat-shadowsocks-epel-6.repo
  2. yum install shadowsocks-libev

编辑配置文件

  1. {
  2. "server":["[::0]","0.0.0.0"],#容许IPv64都访问
  3. "server_port":8080,
  4. "local_port":1080,
  5. "password":"xxx",
  6. "timeout":60,
  7. "method":"aes-128-cfb" #加密算法自己选
  8. }
开启服务
  1. /etc/init.d/shadowsocks-libev start
查看状态
  1. /etc/init.d/shadowsocks-libev status

第一种写法:

#!/usr/bin/python

表示写死了就是要 /usr/bin/python 这个目录下 python 来执行脚本。

第二种写法:

#!/usr/bin/env python

这种写法在机器上安装了多个版本的python或者python没有安装在默认目录有用,这样声明的时候,会去取机器的 PATH 中指定的第一个 python 来执行脚本。如果这时候又配置了虚拟环境的话,那么这样写可以保证脚本会使用虚拟环境中的 python 来执行

推荐第二种

现在的SDN解决方案基本上通过把各种模式的数据包(包括VLAN\VXLAN\虚拟网络等)封装在三层数据包中,底层是VXLAN技术加上各种协议 当然,思科也不例外,思科的ACI架构就是底层通过VXLAN来封装,通过二层的IS-IS来交换一些位置信息(与fabripath类似),通过MP-BGP来传递路由信息,还有一些LLDP协议等。当然,这些技术细节并不会对开放给用户,当思科的N9K系列交换机运行在ACI模式时,大部分配置是在中心管理器APIC上完成的,交换机本身处于不能配置状态。

About ACI Fabric Fundamentals

The ACI fabric supports more than 64,000 dedicated tenant networks. A single fabric can support more than one million IPv4/IPv6 endpoints, more than 64,000 tenants, and more than 200,000 10G ports. The ACI fabric enables any service (physical or virtual) anywhere with no need for additional software or hardware gateways to connect between the physical and virtual services and normalizes encapsulations for Virtual Extensible Local Area Network (VXLAN) / VLAN / Network Virtualization using Generic Routing Encapsulation (NVGRE).

The ACI fabric decouples the endpoint identity and associated policy from the underlying forwarding graph. It provides a distributed Layer 3 gateway that ensures optimal Layer 3 and Layer 2 forwarding. The fabric supports standard bridging and routing semantics without standard location constraints (any IP address anywhere), and removes flooding requirements for the IP control plane Address Resolution Protocol (ARP) / Generic Attribute Registration Protocol (GARP). All traffic within the fabric is encapsulated within VXLAN.

Decoupled Identity and Location

The ACI fabric decouples the tenant endpoint address, its identifier, from the location of the endpoint that is defined by its locator or VXLAN tunnel endpoint (VTEP) address. The following figure shows decoupled identity and location.

上面属于spine交换机,下面属于leaf交换机,spine交换机之间不会连线,leaf交换机之间不能连线,一般是40GB端口,思科支持在一对0M3光纤上支持最长100米传输40Gb 这一点像H3C这种是望尘莫及的

ACI-FUNDAMENTAL.jpg


Forwarding within the fabric is between VTEPs.The mapping of the internal tenant MAC or IP address to a location is performed by the VTEP using a distributed mapping database. After a lookup is done, the VTEP sends the original data packet encapsulated in VXLAN with the Destination Address (DA) of the VTEP on the destination leaf. The packet is then de-encapsulated on the destination leaf and sent down to the receiving host. With this model, we can have a full mesh, loop-free topology without the need to use the spanning-tree protocol to prevent loops.

刚买了个戴尔显示器,带个内置音箱的,使用HDMI接口 但是莫名其妙的就不能设置成为1920*1080的分辨率 设置了就不能全屏显示 看着恶心 设置成为别的分辨率看着又不爽 百度搜了一把 还是设置问题

以下来自网上搜索,确实是改个分辨率,设置一下就OK了 


难度是显示器问题?不是!
难度是HDMI线问题?不是!
难度显卡不支持?也不是!
其实是设置没弄好而已!
解决方法:
1.选择1920*1080 60HZ分辨率
2.AMD VISION Engine Control Center-我的数字平面面板-缩放-选项-过扫描
3.没了,解决了