Loading

摘要: 该配置在javaweb上传文件篇中的基础上进行配置:https://www.cnblogs.com/flypig666/p/11745182.html 1、配置文件解析器,在springmvc.xml中进行配置 <!-- 配置文件解析器,id必须为multipartResolver--> <bean 阅读全文
posted @ 2019-10-26 19:42 小飞猪咯咯 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 使用传统文件上传方式 1、配置依赖 <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.7</maven.compiler.source> < 阅读全文
posted @ 2019-10-26 19:17 小飞猪咯咯 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/Light_Breeze/article/details/82070222 https://www.jianshu.com/p/d979df2791e9 # use mysql; (无password字段的版本) # update user set 阅读全文
posted @ 2019-10-26 13:30 小飞猪咯咯 阅读(1636) 评论(0) 推荐(0) 编辑
摘要: 使用mysqldump导出数据库: # mysqldump -u root -p gzy > gzy.sql # mysqldump -u 数据库连接用户名 -p 目标数据库 > 存储的文件名 使用sql文件导入数据库: # mysql -u 用户名 -p 数据库名 < 数据库名.sql # mys 阅读全文
posted @ 2019-10-26 12:54 小飞猪咯咯 阅读(2274) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.51cto.com/study2008/2301555 基本常用清理linux日志: # echo > /var/log/wtmp //清除用户登录记录 # echo > /var/log/btmp //清除尝试登录记录 # echo>/var/log/lastlog 阅读全文
posted @ 2019-10-26 02:21 小飞猪咯咯 阅读(6265) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.jb51.net/article/82608.htm 1. scp(最近就使用了scp) 【优点】简单方便,安全可靠;支持限速参数 【缺点】不支持排除目录【用法】scp就是secure copy,是用来进行远程文件拷贝的。数据传输使用 ssh,并且和ssh 使用相同的认 阅读全文
posted @ 2019-10-26 02:19 小飞猪咯咯 阅读(471) 评论(0) 推荐(0) 编辑