摘要: 转自https://blog.csdn.net/gosenkle/article/details/83691473 转自https://blog.csdn.net/gosenkle/article/details/83691473 转自https://blog.csdn.net/gosenkle/a 阅读全文
posted @ 2018-11-13 22:47 瓦砾 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 修改 vim /etc/sysconfig/iptables 插入: -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT 关闭: /etc/init.d/iptables stop 开启: /etc/init.d/ipta 阅读全文
posted @ 2018-10-19 10:39 瓦砾 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1. 首先服务器要安装ftp软件,查看是否已经安装ftp软件下: #which vsftpd 如果看到有vsftpd的目录说明服务器已经安装了ftp软件 2. 查看ftp 服务器状态 #service vsftpd status 3. 启动ftp服务器 #service vsftpd start 4 阅读全文
posted @ 2018-10-17 17:03 瓦砾 阅读(245) 评论(0) 推荐(0) 编辑
摘要: linux中的帐号密码保存在/etc/shadow文件里面,禁用帐号的办法就是修改/etc/shadow. 停用帐号: [root@Techippo vsftpd]# passwd -l tomcat1Locking password for user tomcat1passwd: Success 阅读全文
posted @ 2018-10-17 17:01 瓦砾 阅读(479) 评论(0) 推荐(0) 编辑
摘要: BufferedReader urltext = new BufferedReader(new InputStreamReader(inputstream, "utf-8")); 阅读全文
posted @ 2018-09-25 11:45 瓦砾 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 登录https://github.com/johannest/sticky并下载zip文件(sticky)。解压,在eclipse内,file--new--vaadin project 7,选择sticky-master文件夹后导入。 阅读全文
posted @ 2018-09-13 16:33 瓦砾 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 一、JSONObject和JSONArray的数据表示形式 JSONObject的数据是用 { } 来表示的, 例如: { "id" : "123", "courseID" : "huangt-test", "title" : "提交作业", "content" : null } 而JSONArra 阅读全文
posted @ 2018-09-11 22:43 瓦砾 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 警告:WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ require 阅读全文
posted @ 2018-09-10 17:51 瓦砾 阅读(2297) 评论(0) 推荐(0) 编辑
摘要: 一、定义一个接口类 public interface TicketViewModuleListener { void fieldsChanged(); void positionReceived(double latitude, double longitude);} 二、定义widget类并实现T 阅读全文
posted @ 2018-09-07 17:30 瓦砾 阅读(164) 评论(0) 推荐(0) 编辑
摘要: public static int getStoredTicketCount() { int result = 0; StorageMap s = new StorageMap(Storage.getLocalStorageIfSupported()); String ticketCount = s 阅读全文
posted @ 2018-09-07 14:30 瓦砾 阅读(550) 评论(0) 推荐(0) 编辑