#关闭防火墙和selinuxsystemctldisablefirewalldsystemctlstopfirewalldsed-i‘s#SELINUX=enforcing#SELINUX=disabled#g‘/etc/sysconfig/selinux#修改主机名为模板机sed-i‘s#localhost.localdomain#mobanji#g‘/etc/h
分类:
其他好文 时间:
2018-04-12 03:11:50
阅读次数:
746
Django From简介 我们之前在HTML页面中利用form表单向后端提交数据时,都会写一些获取用户输入的标签并且用form标签把它们包起来。 与此同时我们在好多场景下都需要对用户的输入做校验,比如校验用户是否输入,输入的长度和格式等正不正确。如果用户输入的内容有错误就需要在页面上相应的位置显示 ...
分类:
其他好文 时间:
2018-04-10 17:46:19
阅读次数:
188
$('.getCode').on('click', function() { var self = $(this); countdown(self); }); var countdownNum = 60; // 倒计时 function countdown(obj) { ... ...
分类:
其他好文 时间:
2018-04-09 21:11:19
阅读次数:
118
(一)安装前的规划 (1)操作系统版本:centos7.4(64bit) (2)软件安装包 3个安装包: CDH-5.7.6-1.cdh5.7.6.p0.6-el7.parcel.sha1 CDH-5.7.6-1.cdh5.7.6.p0.6-el7.parcel manifest.json (3)主 ...
分类:
其他好文 时间:
2018-04-07 20:02:10
阅读次数:
291
1、节点规划 2、系统配置(所有机器) 关闭selinux # 临时关闭 $ setenforce 0 # 永久关闭 $ vim /etc/selinux/config SELINUX=disabled 关闭且禁用防火墙 $ systemctl stop firewalld $ systemctl ...
分类:
Web程序 时间:
2018-04-06 22:25:54
阅读次数:
1115
This blog has moved! Read this post and its comments at its new home. Concurrency can be a great way to speed things up, but what happens when you hav ...
分类:
其他好文 时间:
2018-04-04 00:04:03
阅读次数:
217
p&br&hr p表示自然段落,默认上下会有行间距 br是换行,自闭合标签 hr是横线 a标签 1.可添加超链接标签 2.有锚的作用,相当于页内定位 select标签 效果如图 在单选中,通过 disabled="true" 和 selected="selected"来控制是否可选和默认显示项 在多 ...
分类:
Web程序 时间:
2018-04-03 14:30:17
阅读次数:
236
$(function () { var wait=60; function time( o ){ if (wait == 0) { o.toggleClass('bg-lv'); o.removeAttr("disabled"); o.val("获取验证码"); ... ...
分类:
Web程序 时间:
2018-04-03 10:52:49
阅读次数:
227
一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:
系统相关 时间:
2018-03-27 14:51:27
阅读次数:
304