Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: 伺服器 網站服務
[Tomcat] allowLinking setting (soft link)
edit the file ‘Tomcat/conf/context.xml’ change to restart Tomcat. Ref. Tomcat軟連接訪問配置symbol link
Posted in Tomcat
Leave a comment
[WordPress] Avoid xmlrpc attack
add below code in the functions.php in your themes. add_filter(‘xmlrpc_enabled’, ‘__return_false’); edit .htaccess #protect xmlrpc <Files xmlrpc.php> Order Deny,Allow Deny from all </Files> delete the xmlrpc.php file Ref. 解決WordPress被利用xmlrpc.php文件攻擊導致內存超負荷
Posted in WordPress
Leave a comment
S3 CORS setting
Ref: Enabling Cross-Origin Resource Sharing 讓 S3 允許 cross-domain 存取 Amazon S3 CORS headers only show during OPTIONS (preflight) and not during GET request Must set HEAD to avoid from OPTIONS error.
Posted in AWS
Leave a comment
Install aglio in Ubuntu 14.04
Install nodejs Ref. NodeSource Node.js Binary Distributions apt-get install -y nodejs nodejs-legacy Install python apt-get install python-dev Install aglio Ref. Github : aglio npm install -g aglio
Posted in Aglio, Ubuntu
Leave a comment
[Git] Git command…
git stash: 暫存機制 git stash: 暫存機制,可保留目前狀態,重新取回其他版本的code git stash clear: 清除所有暫存空間 git stash drop {git status name}: 清除指定的暫存狀態,如果不加參數,則刪除最近的那一個 git stash list: 查看目前暫存列表 git stash apply {git stash name}: 取回暫存的狀態,如果不加參數,則抓取最近的版本 git stash show {git stash name}: 查看指定的暫存與parent差異的部分,如果不加參數,則顯示最近的那一個版本 git stash branch {git stash … Continue reading
Posted in Git
Leave a comment
[Elasticsearch] The health status means…
When we list the indexes, we will get the status information. It shows the health of index in the elasticsearch cluster. green All shards are allocated. yellow The primary shard is allocated but replicas are not. red The specific shard … Continue reading
Posted in Elasticsearch
Leave a comment
[Elasticsearch] List all indexes and optimize it.
When we deleted the indexes, the data were just marked by deleted. We can list all indexes to show status. sudo curl ‘localhost:9200/_cat/indices?v’ It will show the health, index name, pri, rep, docs.count, docs.deleted, store.size, pri.store.size. health index pri rep … Continue reading
Posted in Elasticsearch
Leave a comment
[Nagios][Cacti] Monitor disk space > 8TB
Because the limitation of snmp, when the disk space is more than 8TB, we will get the wrong value. Whether we use snmpwalk or snmpget, the results are all the same. Therefore, we need to restore the correct value. If … Continue reading
Posted in Cacti, Nagios, SNMP
Leave a comment
[Logstash] Pattern set in grok.
The original warning message is this. “You are using a deprecated config setting “pattern” set in grok. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. You should use this instead: match => … Continue reading
Posted in Logstash
Leave a comment
[Kibana] Time range search
If I want to search information within these seven days. @timestamp:[“now-7d” TO “now”] If I want to search information between 2015-01-01 and 2015-01-31. @timestamp:[“2015-01-01” TO “2015-01-31”] If I want to search information between 2015-02-01 13:00:00 and 2015-02-01 18:00:00. @timestamp:[“2015-02-01T13:00:00” TO … Continue reading
Posted in Kibana
Leave a comment