摘要: //文件夹复制 public static boolean folderCopy(String oldName,String newName){ File oldfile = new File(oldName); File newfile = new File(newName); if(!oldfile.exists())return f... 阅读全文
posted @ 2018-03-11 09:32 静赋清承 阅读(113) 评论(0) 推荐(0) 编辑
摘要: public static void fileCopy2BufferByte(String oldFileName,String newFileName){ BufferedInputStream bis = null; BufferedOutputStream bos = null; try{ bis = new ... 阅读全文
posted @ 2018-03-11 08:32 静赋清承 阅读(238) 评论(0) 推荐(0) 编辑
摘要: public static void fileCopy2Buffer(String oldFileName,String newFileName){ BufferedReader br = null; BufferedWriter bw = null; try { br = new BufferedReader(new Fi... 阅读全文
posted @ 2018-03-11 08:23 静赋清承 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 输入命令:netstat -ano,列出所有端口的情况 查看8088端口被哪个进程占用了,cmd下输入这个命令:netstat -ano|findstr 8088 tasklist|findstr 12944 taskkill /pid 7240 -t -f 查看nginx是否启动:tasklist 阅读全文
posted @ 2018-02-28 16:55 静赋清承 阅读(100) 评论(0) 推荐(0) 编辑
摘要: mysql命令: mysqld --initialize-insecure net stop mysql net start mysql update mysql.user set authentication_string=password('root') where user='root'; s 阅读全文
posted @ 2017-12-29 10:20 静赋清承 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 在Properties中添加一个参数archetypeCatalog=internal。 archetypeCatalog表示插件使用的archetype元数据,不加这个参数时默认为remote,local,即中央仓库archetype元数据,由于中央仓库的archetype太多了,所以导致很慢,指 阅读全文
posted @ 2017-11-23 18:29 静赋清承 阅读(122) 评论(0) 推荐(0) 编辑
摘要: redis-server redis.windows-service9901.conf redis-server.exe redis.windows.conf redis-server.exe redis.windows-service.conf redis-server --service-ins 阅读全文
posted @ 2017-11-22 09:35 静赋清承 阅读(164) 评论(0) 推荐(0) 编辑