elasticsearch的安装配置以及初步使用
摘要:elasticsearch 是一个全文搜索引擎,支持分布式。搜索速度非常快速。 本文主要进行了 elasticsearch 的安装 配置 以及初步的使用功能; -- 下载 放到 /data/soft 目录 wget https://download.elasticsearch.org/elastic
阅读全文
posted @
2017-05-09 11:56
轻浮不韪
阅读(216)
推荐(0)
nginx 反向代理解决ajax跨域问题
摘要:~~写了段ajax 去请求接口数据的js ,无奈发现有跨域问题。 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /
阅读全文
posted @
2017-05-09 11:55
轻浮不韪
阅读(351)
推荐(0)
centos
摘要:http://www.centoscn.com/image-text/install/2014/1209/4281.html 启用ssh http://blog.sina.com.cn/s/blog_715391ef0102v3ev.html 如果安装centos7 需要选择centos 64!!!
阅读全文
posted @
2017-05-09 11:43
轻浮不韪
阅读(169)
推荐(0)
mysql 主从服务器配置
摘要:当遇到磁盘读写的事务锁 导致的系统读写能力下降的问题,可以使用主从读写分离的模式进行优化。不过读写分离会导致数据读取的延时性。 mysql的主从复制 主要依赖于数据库的二级制文件进行数据库的同步功能。 参考链接: http://blog.csdn.net/cutesource/article/det
阅读全文
posted @
2017-05-09 11:42
轻浮不韪
阅读(187)
推荐(0)
Linux命令
摘要:netstat -ntlp 查看端口占用 top 监控性能 (mem 是内存占用情况) free -m 查看内存情况 rm -rf 删除文件夹(递归删除) reboot 重启机器 shutdown 关闭机器<!--more--> mkdir 创建目录 cp 复制文件 pwd 显示当前目录 cat 文
阅读全文
posted @
2017-05-09 11:42
轻浮不韪
阅读(63)
推荐(0)