晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页

2019年11月13日

摘要: 1、查看时间时区 date 2、修改时区 timedatectl set-timezone Asia/Shanghai # 设置系统时区为上海 3、安装ntp 联网校准时间 yum install ntp systemctl start ntpd systemctl enable ntpd ntpd 阅读全文

posted @ 2019-11-13 12:35 shenyixin 阅读(408) 评论(0) 推荐(0) 编辑

2019年10月29日

摘要: 1. MVC Controller 映射 sso 方法。 2. 重载org.apache.shiro.realm.AuthorizingRealm类的assertCredentialsMatch方法 3. 实现Shiro无状态访问,如通过传递sessionid参数即可实现会话访问 这里需要自定义Sh 阅读全文

posted @ 2019-10-29 10:27 shenyixin 阅读(13166) 评论(0) 推荐(0) 编辑

2019年8月16日

摘要: 今天,配置nginx反向代理时遇到一个问题,当设置nginx监听80端口时转发请求没有问题。但一旦设置为监听其他端口,就一直跳转不正常;如,访问欢迎页面时应该是重定向到登录页面,在这个重定向的过程中端口丢失了。 这里给出一个简短的解决方案,修改nginx的配置文件。 一、配置文件 一、配置文件 # 阅读全文

posted @ 2019-08-16 17:53 shenyixin 阅读(6185) 评论(1) 推荐(0) 编辑

2019年8月5日

摘要: 具体错误: 使用mysql创建、调用存储过程,函数以及触发器的时候会有错误符号为1418错误。 [Err] 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and 阅读全文

posted @ 2019-08-05 19:59 shenyixin 阅读(1618) 评论(0) 推荐(1) 编辑

摘要: SELECT CONCAT('truncate TABLE ',table_schema,'.',TABLE_NAME, ';') FROM INFORMATION_SCHEMA.TABLES WHERE table_schema IN ('ttsf_production'); 阅读全文

posted @ 2019-08-05 13:36 shenyixin 阅读(420) 评论(0) 推荐(0) 编辑

2019年7月4日

摘要: Linux 在执行redis-server /etc/redis.conf 时默认开启的是一个前台的进程,也就是说启动的redis 就做不了其他的操作了,只有关闭redis 才能做其他的操作。非常的麻烦,所以需要让redis服务端在后台启动。 1,在家目录(或根目录,这里用的是家目录)下建立一个目录 阅读全文

posted @ 2019-07-04 10:15 shenyixin 阅读(3260) 评论(0) 推荐(0) 编辑

摘要: docker启动命令,docker重启命令,docker关闭命令 启动 systemctl start docker守护进程重启 sudo systemctl daemon-reload重启docker服务 systemctl restart docker重启docker服务 sudo servic 阅读全文

posted @ 2019-07-04 09:47 shenyixin 阅读(96369) 评论(0) 推荐(0) 编辑

摘要: redis安装 yum install redis 安装完成后redis.conf配置文件默认在 /etc/redis.conf 启动命令: redis-server /etc/redis.conf 阅读全文

posted @ 2019-07-04 09:41 shenyixin 阅读(4832) 评论(0) 推荐(0) 编辑

摘要: 临时关闭: [root@localhost ~]# getenforceEnforcing [root@localhost ~]# setenforce 0[root@localhost ~]# getenforcePermissive 永久关闭: [root@localhost ~]# vim / 阅读全文

posted @ 2019-07-04 09:13 shenyixin 阅读(279) 评论(0) 推荐(0) 编辑

2019年6月3日

摘要: 部署项目时,项目启动完毕。点击有group by 查询语句时出现错误,界面中没有该有的数据。查询log日志发现错误 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'da 阅读全文

posted @ 2019-06-03 15:48 shenyixin 阅读(365) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页