原创 elasticsearch 筆記 elasticsearch-head

1.elasticsearch5.0 以上版本安裝 elasticsearch-head es5.1 中,elasticsearch-head 不能放在 elasticsearch 的 plugins、modules 目錄下 不能使用 e

原创 CentOS 防火牆、端口、端口轉發、selinux、Windows 端口

1.防火牆基礎操作 1) 重啓後生效  開啓: chkconfig iptables on  關閉: chkconfig iptables off  2) 即時生效,重啓後失效  開啓: service iptables start  關

原创 pip install tensorflow 報錯 Could not find a version that satisfies the requirement tensorflow

Win10 安裝 Tensorflow 時:pip install tensorflow 報錯:Could not find a version that satisfies the requirement tensorflow (fro

原创 IntelliJ IDEA For Mac 快捷鍵

原文地址:https://www.cnblogs.com/exmyth/p/5949192.html http://www.cnblogs.com/wxd0108/p/5295017.html Mac鍵盤符號和修飾鍵說明 ⌘ Comman

原创 idea 忽略不需要提交 git、svn 的目錄或文件

 新建一個 ChangeList,並把不需要提交的目錄或文件拖進去 把不需要提交的目錄或文件拖到 ignore 目錄  提交的時候選擇要提交的目錄

原创 點擊自定義按鈕彈出百度商橋對話框

原文地址:https://blog.csdn.net/SeekerTime/article/details/66973659 在原文基礎上做了一些優化。 在頁面中已經成功安裝了百度商橋的情況下,想通過點擊自定義的按鈕來彈出百度商橋的對話框

原创 Nginx Apache(httpd) Tomcat Resin IIS Jboss Wildfly Weblogic 等各種應用容器默認訪問日誌的格式及樣例

# Nginx 格式 = $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user

原创 Centos7 安裝 docker 私有倉庫 Harbor

# 安裝 Harbor 之前需要先安裝 python2.7+、Openssl、Docker、Docker Compose; # 安裝 openssl yum install openssl yum install openssl-de

原创 Elasticsearch Changing Mapping with Zero Downtime(ES 不停機更新 mapping)

官方地址:https://www.elastic.co/cn/blog/changing-mapping-with-zero-downtime Editor's Note (May 1, 2017): This blog was ori

原创 Mac 上使用 Shuttle + sshpass 替代 xshell

終於在 Mac 上找到相對好用又簡潔的 xhsell 替代工具:Shuttle + sshpass 1.安裝 sshpass: 下載並解壓 http://sourceforge.net/projects/sshpass/ $ ./con

原创 Mac OS 系統下 Beyond Compare 破解方式

原文地址:https://blog.csdn.net/t_332741160/article/details/79285636 在官網(https://www.scootersoftware.com/download.php)下載Beyo

原创 Nginx 筆記

安裝:http://blog.csdn.net/gaojinshan/article/details/37603157 其中安裝時如果需要ssl:./configure --with-http_ssl_module 卸載:直接rm -rf

原创 Logstash logstash.conf 配置示例

# Sample Logstash configuration for creating a simple # File -> Logstash -> Elasticsearch pipeline. input { file {

原创 Redis 筆記

1.配置密碼:在 redis.conf 中加入 requirepass yDvQ3t$hwoJvWree 配置密碼後登錄 redis:redis-cli -a 'yDvQ3t$hwoJvWree'                  或:

原创 CentOS 和 Windows 服務相關操作,配置開機自動啓動等,Windows 腳本獲取路徑語法

#  CentOS  服務(https://www.jianshu.com/p/7bd61fc1de4b): chkconfig  --add  xxx     //  把服務添加到  chkconfig  列表 chkconfig  -