会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hail Hydra
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
15
下一页
2018年3月30日
postman发送json格式的post请求
摘要: 在地址栏里输入请求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
阅读(3606)
评论(1)
推荐(0)
2018年3月14日
linux如何查看端口被哪个进程占用?
摘要: 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
阅读(279)
评论(0)
推荐(0)
2018年2月10日
Ubuntu 15.04 开机无法进入图形界面,自动进入emergency mode解决方法
摘要: 原因:关机的时候没有正常退出,直接强制关机了。。。 解决: 就是在那个GIVE root password for maintenance (or type control-D to continue): 下,输入root 密码,然后 输入 vi /etc/fstab 将挂载NTFS分区的那几行删去
阅读全文
posted @ 2018-02-10 14:01 Nullnullisnull
阅读(1318)
评论(0)
推荐(0)
2018年1月25日
Docker常用命令
摘要: 安装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
阅读(360)
评论(0)
推荐(0)
2018年1月19日
安装mongodb时报错 configure: error: Cannot find OpenSSL's libraries
摘要: 请安装这些包以便继续:
阅读全文
posted @ 2018-01-19 10:48 Nullnullisnull
阅读(718)
评论(0)
推荐(0)
2018年1月17日
Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
摘要: 在Apache的配置文件 httpd.conf 中开启 LoadModule headers_module modules/mod_headers.so 即可解决这个问题。
阅读全文
posted @ 2018-01-17 16:09 Nullnullisnull
阅读(1886)
评论(0)
推荐(0)
2017年11月30日
mysql varchar类型转换int类型
摘要: 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
阅读(30511)
评论(0)
推荐(0)
2017年11月16日
elasticsearch 安装 head插件
摘要: 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
阅读(270)
评论(0)
推荐(0)
2017年11月15日
解决linux下root运行Elasticsearch异常
摘要: 如果以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
阅读(1661)
评论(0)
推荐(0)
2017年11月2日
PHP 数组中出现中文乱码,json_encode返回结果为null 或false
摘要: 想要解决这个问题,没有特别方便的方法,只有循环数组,将数组中的key和value字符串转码,转换为utf-8,即可解决问题。 代码示例:
阅读全文
posted @ 2017-11-02 14:54 Nullnullisnull
阅读(952)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
15
下一页
公告