上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 在地址栏里输入请求url:http://127.0.0.1:8081/getmoney 选择“POST”方式, 在“headers”添加key:Content-Type , value:application/json 点击"body",''raw''并设定为JSON 添加: {"userid": 阅读全文
posted @ 2018-03-30 14:23 Nullnullisnull 阅读(3584) 评论(1) 推荐(0) 编辑
摘要: 1、lsof -i:端口号 2、netstat -tunlp|grep 端口号 都可以查看指定端口被哪个进程占用的情况 【步骤一】lsof -i lsof -i 用以显示符合条件的进程情况,lsof(list open files)是一个列出当前系统打开文件的工具。以root用户来执行lsof -i 阅读全文
posted @ 2018-03-14 15:26 Nullnullisnull 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 原因:关机的时候没有正常退出,直接强制关机了。。。 解决: 就是在那个GIVE root password for maintenance (or type control-D to continue): 下,输入root 密码,然后 输入 vi /etc/fstab 将挂载NTFS分区的那几行删去 阅读全文
posted @ 2018-02-10 14:01 Nullnullisnull 阅读(1286) 评论(0) 推荐(0) 编辑
摘要: 安装Docker: ubuntu安装:curl -s https://get.docker.io/ubuntu/ | sudo sh 镜像管理 docker images:列出本地所有镜像 docker search <IMAGE_ID/NAME>:查找image docker pull <IMAG 阅读全文
posted @ 2018-01-25 12:23 Nullnullisnull 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 请安装这些包以便继续: 阅读全文
posted @ 2018-01-19 10:48 Nullnullisnull 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 在Apache的配置文件 httpd.conf 中开启 LoadModule headers_module modules/mod_headers.so 即可解决这个问题。 阅读全文
posted @ 2018-01-17 16:09 Nullnullisnull 阅读(1821) 评论(0) 推荐(0) 编辑
摘要: select * from gyzd_yysinfo order by cast(yysid as SIGNED INTEGER) 或者 select * from gyzd_yysinfo order by cast(yysid as UNSIGNED INTEGER) 阅读全文
posted @ 2017-11-30 17:10 Nullnullisnull 阅读(30476) 评论(0) 推荐(0) 编辑
摘要: head插件 切换到Elasticsearch的安装目录 执行安装命令 打开http://10.10.10.201:9200/_plugin/head/ 安装成功 插件安装参考: Elasticsearch Plugins and Integrations:https://www.elastic.c 阅读全文
posted @ 2017-11-16 16:20 Nullnullisnull 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 如果以root身份运行将会出现以下问题 root@yxjay:/opt/elasticsearch-2.3.5/bin# ./elasticsearchException in thread "main" java.lang.RuntimeException: don't run elasticse 阅读全文
posted @ 2017-11-15 13:58 Nullnullisnull 阅读(1629) 评论(0) 推荐(0) 编辑
摘要: 想要解决这个问题,没有特别方便的方法,只有循环数组,将数组中的key和value字符串转码,转换为utf-8,即可解决问题。 代码示例: 阅读全文
posted @ 2017-11-02 14:54 Nullnullisnull 阅读(943) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页