上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: a=$(($RANDOM%39+1)) echo $a 阅读全文
posted @ 2016-11-29 21:02 gidos 阅读(228) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash echo "输入第一个数字"read Aecho "输入第二个数字"read B if [ $A -gt $B ] thenecho " $A 比较大" elif [ $A -lt $B ]thenecho " $B 比较大" elseecho "相同"fi #!/bin/b 阅读全文
posted @ 2016-11-28 20:59 gidos 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 安装mysql 1.使用rpm 安装mysql 或者使用yum安装 使用rpm 安装 下载 Centos 7 所需要的mysql包 tar -xf 解压整合包 根据依赖 安装 common>libs>libs-compat>client>server 在安装server 时 会安装不上 是因为cen 阅读全文
posted @ 2016-11-01 21:07 gidos 阅读(177) 评论(0) 推荐(0) 编辑
摘要: qos 有三种服务模型 Best-Effort service(尽力而为服务模型) Integrated service(综合服务模型,简称Int-Serv) Differentiated service(区分服务模型,简称DiffServ) 这里用到的是 Diffserv qos 技术在网络中的位 阅读全文
posted @ 2016-10-27 19:19 gidos 阅读(5015) 评论(0) 推荐(0) 编辑
摘要: 这里 irf 两个交换机 S4 S5 S4 S4的MEmber id 为1 IRF member 1 renumber 1 S4的 irf 优先为10 irf member priority 10 链形堆叠 irf domain 10 进入 要irf的端口 int range name irf in 阅读全文
posted @ 2016-10-24 17:15 gidos 阅读(2218) 评论(0) 推荐(0) 编辑
摘要: 1. 分几步设置 (1)定义ACL (2)创建 ipsec 安全建议 1.选择认证方式 ah 选择 ah头认证方式 不配置 ipsec不能建立成功 (3)创建IKE keychain 可以写多条keychain 与多个路由器进行ipsec (4)创建IKE profile 可以匹配多条对端地址 (5 阅读全文
posted @ 2016-10-21 12:08 gidos 阅读(5572) 评论(0) 推荐(1) 编辑
摘要: 使用两台服务器 Centos 7 做 php和httpd和php-sql 服务的安装 CentOS 5 做php 和 mysql 的安装 1.搭建本地yum源 两台服务器 都是 2.关闭防火墙和selinux 两台都是 3.Centos 7 192.168.100.105 ip地址 Centos 5 阅读全文
posted @ 2016-10-18 21:03 gidos 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: 需求描述RT1作为DHCP服务器创建两个全局地址池:192.168.10.0/24 192.168.20.0/24 RT1和RT3属于VLAN 10 RT2属于VLAN 20 在交换机上配置DHCP中继,确保RT2和RT3都能从RT1处获取IP地址 1、交换机上创建两个vlanvlan 10vlan 阅读全文
posted @ 2016-10-18 10:16 gidos 阅读(1800) 评论(0) 推荐(0) 编辑
摘要: 开启ssh 服务 ssh service enable 创建用户 使用ssh local-user ssh 用户级别 authorization-attribute user-role level-15 设置密码 password cipher ssh 用于 ssh服务 service-type s 阅读全文
posted @ 2016-10-17 21:10 gidos 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 如果改了上面的4个配置文件,要让其立即生效,可以使用如下方法 source .bash_profile . .bash_profile 基于Apache+php+mysql的许愿墙网站的搭建 方案一:将全部部署到一台服务器 方案二: A服务器:Apache+php+php的网站 B服务器:mysql 阅读全文
posted @ 2016-10-17 21:05 gidos 阅读(390) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页