#!/bin/bashecho‘thescriptisinstalldhcpdserver‘read-p"pleaseinsertrhel5-cdtocdromandentertonext:"aamount/dev/cdrom/media/&>/dev/nullrpm-Uvh/media/Server/dhcp-*&>/dev/nullecho"请为本机配置IP地址"read-p"请输入IP地址:"ipread-p"请输入掩码:"ip_m..
分类:
其他好文 时间:
2014-11-28 06:34:03
阅读次数:
169
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1026题目大意:就是说给你一个8数码,问你能够达到的距离最远的状态是什么。刚开始以为只要顺着一边走...
分类:
其他好文 时间:
2014-11-28 06:10:33
阅读次数:
224
(一)按钮button()方法回修改单个按钮来增强外观,而buttonset()方法对一组按钮起作用。button(options) button('enable') button('disable') button('destroy') button('option', optionName,.....
分类:
Web程序 时间:
2014-11-27 23:28:09
阅读次数:
394
rpm-qdhcp&>/dev/nullif[$?-ne0]thenyum-yinstalldhcpecho"ddns-update-styleinterim;ignoreclient-updates;optiondomain-name-servers192.168.1.1;default-lease-time21600;max-lease-time43200;">/etc/dhcpd.conffiwhiletruedoread-p"pleaseinputnetwork:"networkg..
分类:
系统相关 时间:
2014-11-27 18:58:45
阅读次数:
275
HtmlPage.PopupWindow HtmlPopupWindowOptions option = new HtmlPopupWindowOptions(); option.Directories = true;//是否开启ie地址栏 option....
分类:
Web程序 时间:
2014-11-27 14:21:51
阅读次数:
151
NAMEmkdir-makedirectoriesSYNOPSISmkdir[OPTION]...DIRECTORY...DESCRIPTIONCreatetheDIRECTORY(ies),iftheydonotalreadyexist.Mandatoryargumentstolongoptionsaremandatoryforshortoptionstoo.a.)mandatory[‘mndtri]adj.强制的;托管的;命令的;b.)arguments参数-m,--mode=M..
分类:
其他好文 时间:
2014-11-26 19:12:42
阅读次数:
154
??
1、使无需登录的用户不能登录
passwd -l username
2、修改/ect/passwd中的shell环境为nologin
3、使用强壮密码
检查空密码用户
cat /etc/shadow | awk -F: 'length($2)
设置密码策略
chage [option] username
4、john the ripper 破解/etc/shado...
分类:
其他好文 时间:
2014-11-26 06:42:47
阅读次数:
209
<selectonchange="getchildrensort(this)"><optionvalue="0">请选择</option><volistid="vo"name="list"><optionvalue="{$vo.id}">{$vo.name}</option></volist></select>select的onchange事件,会触发函数getchildrensort(),..
分类:
Web程序 时间:
2014-11-25 18:59:30
阅读次数:
134
当前页面直接跳转:JavaScript代码<selectname="qq"onchange="javascript:location.href=this.value;"><optionvalue="http://www.bhcode.net"selected="selected">BHCODE</option><optionvalue="http://sucai.bhcode.net">素材网</option><opt..
分类:
其他好文 时间:
2014-11-25 18:57:47
阅读次数:
219
出现“error:14090086:SSL”这种错误,一般是由于curl请求时SSL双向验证,而自己的服务器没有证书造成的,这时候需要给设置curl设置这样的option来绕开SSL验证:
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, '0');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, '0');
HAVE FU...
分类:
Web程序 时间:
2014-11-25 16:35:01
阅读次数:
210