上一页 1 ··· 22 23 24 25 26
1.安装 命令:rpm -ivh nginx-1.14.0-1.el7_4.ngx.x86_64.rpmm 2.查看安装结果 命令:rpm -qa | grep nginx 3.升级 命令:rpm -Uvh 新版本软件rpm包 4.卸载 命令:rpm -e nginx 注解: -i <套件档>或-- Read More
posted @ 2019-02-24 20:52 活出自己范儿 Views(4284) Comments(0) Diggs(0)
来源于博客:https://www.cnblogs.com/yunfeifei/p/3850440.html 1.对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎 Read More
posted @ 2019-02-21 17:42 活出自己范儿 Views(128) Comments(0) Diggs(0)
1、substring(start,end)从一个字符串中截取子串 start:截取子串开始的索引,start必须大于等于0,小于等于endend: 截取子串的长度,end必须大于等于0,小于等于字符串长度,如果省略该参数,默认为字符串长度。例子:${‘str’?substring(0)} 结果为s Read More
posted @ 2019-02-21 16:43 活出自己范儿 Views(3154) Comments(0) Diggs(0)
1、登录客户端 mysql -u userName -p password -h ip 2、更改密码 update mysql.user set authentication_string = passworD("newpassword_string") where user = "username Read More
posted @ 2018-10-13 12:44 活出自己范儿 Views(264) Comments(0) Diggs(0)
一、书写增强有效代码 //切面注释@Aspectpublic class errorLogger { private static Logger logger = Logger.getLogger(errorLogger.class); // 设置切点注释 @Pointcut("execution( Read More
posted @ 2017-12-28 00:16 活出自己范儿 Views(356) Comments(0) Diggs(0)
转载于:http://www.cnblogs.com/springcsc/archive/2009/12/03/1616330.htm l火之光 StringBuffer类和String一样,也用来代表字符串,只是由于StringBuffer的内部实现方式和String不同,所以StringBuff Read More
posted @ 2017-11-15 14:48 活出自己范儿 Views(267) Comments(0) Diggs(0)
上一页 1 ··· 22 23 24 25 26