自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 收藏
  • 关注

原创 ACL标准访问控制列表

路由器上配置RIP协议,并在R1上配置标准ACL实现以下功能:服务器组的计算机拒绝访问Internet,其余部门可以访问InternetR1:Router>enableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R1R1

2018-01-18 14:04:58 855

原创 思科非标准访问控制列表

1.  允许财务部计算机能够访问Intelnet2.  允许市场部计算机只能访问Intelnet的web服务器,不能ping通3.  服务器组的计算机能ping通内网任何计算机,不能做其他访问4.  只允许192.168.2.2可以Telnet连接R1R1:Router>enableRouter#conf tEnter configuration commands, one

2018-01-14 15:31:14 386

原创 设置默认路由

R1:Router>enable Router#conf tRouter(config)#int serial 0/2/0Router(config-if)#no shutdown Router(config-if)#int fa0/1Router(config-if)#no shutdown Router(config-if)#ip address 192.168.0.1 255.

2018-01-07 14:34:31 4779

原创 思科设备静态路由

R1:Router>enable Router#conf tRouter(config)#int fa0/1Router(config-if)#no shutdown Router(config-if)#int fa0/0Router(config-if)#no shutdown Router(config-if)#Router(config-if)#hostname R1R1(

2018-01-06 11:53:47 531

原创 思科设备干道端口配置

Switch>ENable Switch#configure terminal Switch(config)#hostname sw1sw1(config)#vlan 2sw1(config-vlan)#int vlan 2sw1(config-if)#exitsw1(config)#interface range fastEthernet 0/12-24sw1(config-if-

2018-01-04 16:34:17 2312

原创 思科设备端口安全(二)

Switch>enableSwitch#conf tSwitch(config-vlan)#int vlan 1Switch(config-if)#no shutdown Switch(config-if)#exit Switch(config)#ip routingSwitch(config)#vlan 2Switch(config-vlan)#int fa0/2Switch(c

2018-01-04 14:39:19 711

原创 思科设备端口安全配置

限制端口连接数量:         Switch>enableSwitch#conf tSwitch(config-vlan)#int vlan 1Switch(config-if)#no shutdown Switch(config-if)#exit Switch(config)#ip routingSwitch(config)#vlan 2Sw

2018-01-04 14:09:20 5261

翻译 Linux 添加Nginx 到 service 启动

1.vi /etc/rc.d/init.d/nginx2复制下面脚本#!/bin/bash # nginx Startup script for the Nginx HTTP Server # # chkconfig: - 85 15 # description: Nginx is a high-performance web and proxy server. # I

2017-03-26 18:16:53 451

原创 nginx 安装

模块依赖性Nginx需要依赖下面3个包1. gzip 模块需要 zlib 库 ( 下载:http://www.zlib.NET/zlib-1.2.8.tar.gz )2. rewrite 模块需要 pcre 库 ( 下载:http://www.pcre.org/ )3. openssl库需要perl (下载:https://www.perl.org)4. ssl 功能需要 open

2017-03-26 15:01:31 217

原创 red hat yum源

1. 挂载光盘镜像  mount -t iso9660 /dev/sr0 /mnt/cdrom/2. 修改yum配置文件cd /etc/yum.repos.d/vi rhel.repo3. 填写配置[rhel-media]name=Red Hat Enterprise Linux 6.5baseurl=file:///mnt/cdromenabled=1

2017-03-23 17:10:11 375

翻译 WIN7 64位系统,安装office 2010

在一台电脑上面,WIN7 64位系统,安装office 2010,提示如下错误:由于下列原因,安装程序无法继续:若要安装Microsoft office 2010,需要在计算机上安装MSXML版本6.10.1129.0.请安装此组件,然后重新运行安装程序。1、运行:regsvr32 /u msxml6.dll,再运行:regsvr32  msxml6.dll,一般情况下,问题就会得

2016-12-01 09:17:43 4563

翻译 curl post

error_reporting(0);//$url = "http://192.168.7.20/eol/homepage/common/";//$post_data=array("IPT_LOGINUSERNAME"=>"***","IPT_LOGINPASSWORD"=>"***");//初始化$curl = curl_init();//设置抓取的urlcurl_s

2016-11-27 17:47:18 328

原创 思科配置远程登陆

一.交换机配置1.enable2.conf t3 int vlan 14. ip address 192.168.1.1 255.255.255.05 . no shutdown 6.exit7.enable password 1234568.line vty 0 49.password  12345610.loginexit

2016-11-24 16:10:43 5078

原创 微信公众平台开发者模式接入PHP代码

$timestamp=$_GET['timestamp']; $nonce=$_GET['nonce']; $token='weixinr'; $signature=$_GET['signature']; $array=array($timestamp,$nonce,$token); sort($array); $tmpstr=implode('',$array); $

2016-11-21 09:59:35 3946

原创 lamp 搭建

1.安装apache2:sudo apt-get install apache22.查看安装:apache2 -v3.安装php:sudo apt-get install php54.查看安装:php5 -v5.查看加载模块:cat /etc/apache2/mods-enabled/php5.load6.安装mysql:sudo apt-get ins

2016-11-17 20:39:18 277

原创 CentOS6.5上vsftp搭建

1.安装yum源:(1)查看 yum list(2)在线yum安装:yum -y install vsftp(3)光盘yum安装:修改/etc/yum.repos.d/CentOS-Base.repo的文件名/etc/yum.repos.d/CentOS-Base.repo.lib    光盘挂载:mount -t iso9660 /dev/sr0 /mnt/cdrom

2016-11-16 18:07:37 287

空空如也

空空如也

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

TA关注的人

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