自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (8)
  • 收藏
  • 关注

转载 日志分割logrotate

我发现很多人的服务器上都运行着一些诸如每天切分Nginx日志之类的CRON脚本,大家似乎遗忘了Logrotate,争相发明自己的轮子,这真是让人沮丧啊!就好比明明身边躺着现成的性感美女,大家却忙着自娱自乐,罪过!Logrotate的介绍显而易见,Logrotate是基于CRON来运行的,其脚本是「/etc/cron.daily/logrotate」:#!/bin/sh

2017-02-24 17:00:08 613

原创 钉钉发送信息脚本

每次运行都实时查询,中间数据可以放在数据库或文本中提高信息发送速度<?php//获取token$corpid="xxxxxxx";$corpsecret="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";$userlist=array();$url="https://oapi.dingtal

2017-02-16 14:13:37 8076

原创 VIM基本配置

let NERDTreeWinPos='left'let NERDTreeWinSize=30map :NERDTreeToggle"nmap tb :TagbarToggle "快捷键设置let g:tagbar_ctags_bin='ctags' "ctags程序的路径let g:tagbar_width=30 "窗口宽度的设置map :Tagbar"a

2017-02-15 19:48:34 548

转载 vim插件管理

apt-vim 旨在成为实现全自动、跨平台的vim插件管理工具,包括相关依赖的安装,其使用pathogen作为核心来加载插件。使用apt-vim可以对插件及其依赖进行安装、删除和更新。https://github.com/egalpin/apt-vim安装1、安装之前会自动将~/.vim/bundle文件夹备份到~/.vim/bundle.bak2、已经安装在~/.vim/

2017-02-15 14:35:03 669

转载 VIM插件安装

Vundle项目托管在github上https://github.com/gmarik/vundle。其特色在于使用git来管理插件,更新方便,支持搜索,一键更新,从此只需要一个vimrc走天下。在vimrc文件中添加如下内容来启用vundle管理vim插件的功能:123set rtp+=$VIM/vimfiles/bundle/vundle/ c

2017-02-15 14:33:32 1055

转载 http 错误代码表

http 错误代码表所有 HTTP 状态代码及其定义。  代码  指示  2xx  成功  200  正常;请求已完成。  201  正常;紧接 POST 命令。  202  正常;已接受用于处理,但处理尚未完成。  203  正常;部分信息 — 返回的信息只是一部分。  204  正常;无响应 — 已接收请求,但不存在要回送的信息。  3xx  重定向  

2017-02-13 11:52:30 743

转载 Libpcap的安装及使用

http://www.cnblogs.com/coder2012/archive/2013/04/13/3012390.html1.Libpcap简介  Libpcap是Packet Capture Libray的英文缩写,即数据包捕获函数库。该库提供的C函数接口用于捕捉经过指定网络接口的数据包,该接口应该是被设为混杂模式。这个在原始套接子中有提到。  著名的软件TCP

2017-02-10 13:43:36 18646 1

原创 php通过exec调用shell命令导致乱码问题

在php文件调用exec前设定环境变量$locale='en_US.UTF-8';setlocale(LC_ALL,$locale);putenv('LC_ALL='.$locale);

2017-02-06 16:55:54 3806

com.xunlei.download_1.0.0.1_amd64.deb

com.xunlei.download_1.0.0.1_amd64.deb

2021-07-05

openflow switch specification

openflow table

2016-11-25

MSTP技术原理

MSTP技术原理

2016-03-26

Configuring Virtual Private LAN Services

VPLS (V irtual Private LAN Service) enables enterprises to link together their Ethernet-based LANs from multiple sites via the infrastructure provided by their service provider . From the enterprise perspective, the service provider's public network looks like one giant Ethernet LAN. For the service provider, VPLS provides an opportunity to deploy another revenue-generating service on top of their existing network without major capital expenditures. Operators can extend the operational life of equipment in their network. Virtual Private LAN Services (VPLS) uses the provider core to join multiple attachment circuits together to simulate a virtual bridge that connects the multiple attachment circuits together . From a customer point of view , there is no topology for VPLS. All of the CE devices appear to connect to a logical bridge emulated by

2014-04-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除