CISCO
portfast这个是用于接入口的,一个正常的交换接口从down到up要经过:Down,listening,learning,fowarding几个状态,一共耗时为30秒,从而决定此端口是blocking还是fowarding的,也是交换机的防止环路的机制。但是对于直接接入这样的终端设备的接口就没有必要经过这几步了,..
分类:
系统相关 时间:
2017-06-15 10:41:05
阅读次数:
267
同样apache也需要到官网下载合适的版本,apache官网下载地址:http://www.apache.org/dyn/closer.cgi或https://coding.net/u/aminglinux/p/resource/git/blob/master/README.md[root@localhostmysql]#cd/usr/local/src/[root@localhostsrc]#wgethttp://syslab.comsenz.com/down..
分类:
Web程序 时间:
2017-06-15 00:49:09
阅读次数:
235
方法一: yumdownloader [root@web1 ~]# rpm -qa |grep yum-utils [root@web1 ~]# yum -y install yum-utils* [root@web1 ~]# rpm -ql yum-utils /usr/bin/debuginfo... ...
分类:
其他好文 时间:
2017-06-14 22:16:54
阅读次数:
239
题目: Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip i ...
分类:
其他好文 时间:
2017-06-14 21:15:21
阅读次数:
295
serverd端安装(centos7)关闭SElinux(重要)安装软件包:yum install mariadb-server mariadb-devel mariadb gcc gcc-c++systemctl start mariadb.servicesystemctl enable mari ...
分类:
Web程序 时间:
2017-06-14 18:18:59
阅读次数:
1086
定期对服务器进行扫描,将危险端口有开放的服务器记录日志或通过邮件、微信告警出来先定义服务器列表 iplist:10.10.0.5010.10.0.5110.10.0.52....检查端口过程如下: #!/bin/bash for i in `awk '{print $1}' iplist`; do ...
分类:
其他好文 时间:
2017-06-14 18:13:36
阅读次数:
153
Binary Tree Level Order Traversal 这几个题目相似。都是用同样的递归法,时间空间复杂度都为O(n). 当然,还有迭代法,控件复杂度会降至 O(1),这个暂不讨论。 Binary Tree Level Order Traversal // 递归版,时间复杂度 O(n), ...
分类:
其他好文 时间:
2017-06-14 18:09:09
阅读次数:
149
Netdata 是一款 Linux 性能实时监测工具.。以web的可视化方式展示系统及应用程序的实时运行状态(包括cpu、内存、硬盘输入/输出、网络等linux性能的数据)。 Netdata文档地址:https://github.com/firehol/netdata/wiki 安装(以centos ...
分类:
Web程序 时间:
2017-06-14 16:36:16
阅读次数:
204
因为Jenkins的环境搭建比较简单,本来不想来介绍,但是发现有些入门小朋友,从各种网站上下载的各种安装包来搭建,最后导致出现了各种千奇百怪的问题,介于这种情况下我决定还是来写一下Jenkins的环境搭建。 1.首先我们要下载Jenkins的安装包,登录https://jenkins.io/down ...
分类:
其他好文 时间:
2017-06-14 14:21:15
阅读次数:
151
原文错误提示: emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU accele ...
分类:
其他好文 时间:
2017-06-14 13:08:06
阅读次数:
146