11 2018 档案

摘要:第一、修改httpd.conf文件 A - 在etc/httpd/conf/目录下的httpd.conf 文件,找到: LoadModule rewrite_module modules/mod_rewrite.so 如果没找到,可到module目录下查找,找到后如果前面有#就取消,如果没有就默认不 阅读全文
posted @ 2018-11-19 00:09 花拾夕 阅读(1304) 评论(0) 推荐(0) 编辑
摘要:1,先安装apache: yum install httpd 配置ServerName,进入httpd.conf文件: vi /etc/httpd/conf/httpd.conf 将#ServerName www.example.com:80修改为ServerName localhost:80 ap 阅读全文
posted @ 2018-11-18 23:25 花拾夕 阅读(17592) 评论(0) 推荐(1) 编辑
摘要:1、nginx服务安装及配置,详见:linux 配置之安装nginx 2、多个tomcat服务安装及配置,详见:linux 配置多个tomcat 3、关键配置nginx.conf文件 附注: nginx可以根据客户端IP进行负载均衡,在upstream里设置ip_hash,就可以针对同一个C类地址段 阅读全文
posted @ 2018-11-16 22:15 花拾夕 阅读(804) 评论(0) 推荐(0) 编辑
摘要:基本格式:grep expression 1.主要参数 [options]主要参数: -c:只输出匹配行的计数。 -i:不区分大小写 -h:查询多文件时不显示文件名。 -l:查询多文件时只输出包含匹配字符的文件名。 -n:显示匹配行及行号。 -s:不显示不存在或无匹配文本的错误信息。 -v:显示不包 阅读全文
posted @ 2018-11-16 21:19 花拾夕 阅读(2417) 评论(0) 推荐(0) 编辑
摘要:在本地远程连接 在终端输入: 阅读全文
posted @ 2018-11-15 22:56 花拾夕 阅读(2577) 评论(0) 推荐(0) 编辑
摘要:在本地远程连接 在终端输入: 然后输入密码即可。 阅读全文
posted @ 2018-11-15 22:48 花拾夕 阅读(3791) 评论(0) 推荐(0) 编辑
摘要:新买的一些云服务,上面操作都没问题还是无法访问,需要在购买的服务里加上安全规则,如图: 点击配置规则进行操作 阅读全文
posted @ 2018-11-15 11:51 花拾夕 阅读(2864) 评论(0) 推荐(0) 编辑
摘要:1、系统命令systemctl start firewalld #启动 systemctl status firewalld #查看运行状态 systemctl stop firewalld #关闭 systemctl disable firewalld.service #禁止开机启动 firewa 阅读全文
posted @ 2018-11-15 11:22 花拾夕 阅读(1291) 评论(0) 推荐(0) 编辑
摘要:1、设置绝对路径 1、设置绝对路径 1、设置绝对路径 1、设置绝对路径 application.properties的配置 #静态资源对外暴露的访问路径 file.staticAccessPath=/upload/** #文件上传目录(注意Linux和Windows上的目录结构不同) #file.u 阅读全文
posted @ 2018-11-10 23:48 花拾夕 阅读(16545) 评论(3) 推荐(2) 编辑
摘要:1、hibernate 5.2 之后,SQLQuery.class、setResultTransformer方法已作废,其用法如下: 替换后为: 阅读全文
posted @ 2018-11-10 23:39 花拾夕 阅读(9166) 评论(1) 推荐(2) 编辑
摘要:使用th:style标签: 其中value是后台返回的值 阅读全文
posted @ 2018-11-10 17:51 花拾夕 阅读(10248) 评论(0) 推荐(0) 编辑
摘要:比如在15:30:30之前: 或15:30:30之后 相等 阅读全文
posted @ 2018-11-10 17:43 花拾夕 阅读(11696) 评论(0) 推荐(0) 编辑
摘要:1、跳转链接 在当前窗口打开 window.location.href="http://www.baidu.com" 等价于 <a href="baidu.com" target="_self">go baidu</a> window.location.href="http://www.baidu. 阅读全文
posted @ 2018-11-10 15:45 花拾夕 阅读(6107) 评论(0) 推荐(0) 编辑
摘要:示例:<script type="text/javascript"> var myarr = new Array(3); myarr[0] = "I"; myarr[1] = "Love"; myarr[2] = "JS"; document.write(myarr.join()); </scrip 阅读全文
posted @ 2018-11-10 11:30 花拾夕 阅读(951) 评论(0) 推荐(0) 编辑
摘要:async: 默认是true:异步,false:同步。 其他属性扩展: 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使 阅读全文
posted @ 2018-11-09 00:06 花拾夕 阅读(10324) 评论(0) 推荐(0) 编辑
摘要:如下:{0,1}表示1位小数 /^\d+(\.{0,1}\d+){0,1}$/ 若要改小数点后面的位数就将两个大括号{0,1}的1改一下,{0,n}代表0到n位 阅读全文
posted @ 2018-11-08 23:44 花拾夕 阅读(8131) 评论(2) 推荐(0) 编辑
摘要:一、官网地址:http://bassistance.de/jquery-plugins/jquery-plugin-validation 二、默认校验规则 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (1) required:true 必输字段 (2) rem 阅读全文
posted @ 2018-11-08 23:29 花拾夕 阅读(9290) 评论(0) 推荐(0) 编辑
摘要:1、使用skip跳过和limit限制组合,示例: 阅读全文
posted @ 2018-11-07 12:23 花拾夕 阅读(6137) 评论(0) 推荐(0) 编辑
摘要:Case具有两种格式。简单Case函数和Case搜索函数。 1、简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END 2、Case搜索函数 CASE WHEN sex = '1' THEN '男' WHEN sex = 阅读全文
posted @ 2018-11-06 14:38 花拾夕 阅读(8763) 评论(0) 推荐(0) 编辑
摘要:使用concat函数进行拼接:示例如下: select id,username,concat( id, '-' , username) as idName from user; 阅读全文
posted @ 2018-11-06 14:30 花拾夕 阅读(1699) 评论(0) 推荐(0) 编辑
摘要:笔试题链接:点击打开链接 密码:提取码:7h9e 视频下载链接: 点击打开链接 提取码:hyye 百万it课程 https://pan.baidu.com/s/1ldJ_Ak7y0VL5Xmy98pSLXA 阅读全文
posted @ 2018-11-06 00:11 花拾夕 阅读(298) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示