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)
- 程式語言 (81)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (31)
- 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)
- 資料庫 (38)
- FFMpeg (5)
Author Archives: cowman.chiang
Bridge Firewall 筆記 – detect.sh (備援)
detect.sh (偵測主要bridge firewall是否正常) #!/bin/bash COUNT=0 # 用來判斷連續異常次數累計 CHECK=0 # 用來識別本機bridge firewall是否建立 sleep 10s # 因為開機後馬上偵測常會有問題,因此先等10秒後才開始偵測
Posted in Linux, Network
Leave a comment
Bridge Firewall 筆記 – br-del.sh
br-del.sh (移除本機bridge) #!/bin/bash # 宣告使用指令之路徑 IPTABLES=”/sbin/iptables”
Posted in Linux, Network
Leave a comment
Bridge Firewall 筆記 – detect.sh
detect.sh (偵測網路狀態,以判定是否要移除bridge或重建bridge) #!/bin/bash COUNT=0 # 用來計算次數之變數 FLAG=”YES” # 用來締造無窮迴圈之變數 FLAGA=”YES” # 用來判斷目前是否有無建立bridge,預設是有建立
Posted in Linux, Network
Leave a comment
Bridge Firewall 筆記 – br.sh
br.sh (網路異常恢復後重新建立bridge firewall,與前者差異於最後一行呼叫detect.sh) #!/bin/bash IPTABLES=”/sbin/iptables” BRCTL=”/usr/sbin/brctl” IFCONFIG=”/sbin/ifconfig” ROUTE=”/sbin/route”
Posted in Linux, Network
Leave a comment
Bridge Firewall 筆記 – br-boot.sh
br-boot.sh (開機時建立bridge firewall) #!/bin/bash # 宣告使用指令之路徑 IPTABLES=”/sbin/iptables” BRCTL=”/usr/sbin/brctl” IFCONFIG=”/sbin/ifconfig” ROUTE=”/sbin/route”
Posted in Linux, Network
Leave a comment
遠端桌面無法複製貼上任何資訊時
終於爬到相關的資訊了,這問題還蠻惱人的! 主要是因為rdpclip.exe掛掉了 所以先kill掉它 taskkill /im rdpclip.exe 然後再重新執行一次就可以了 rdpclip.exe
Posted in Windows
Leave a comment
wordpress內嵌pdf說明
因為有點老了,避免之後忘記怎麻用,先記錄一下 參考網址 : http://www.qna.tw/how-to-embed-pdf-file-into-web-page 先利用wordpress的上傳功能將pdf上傳 上傳完成後複製檔案網址,接著就編輯內文插入iframe <iframe src=”http://docs.google.com/viewer?url=網址&embedded=true” width=”600″ height=”780″ style=”border: none;”></iframe> 例如 <iframe src=”http://docs.google.com/viewer?url=https://cowmanchiang.me/wp/wp-content/uploads/2011/02/resumev2-201102081.pdf&embedded=true” width=”600″ height=”780″ style=”border: none;”></iframe>
Posted in WordPress
Leave a comment
Redhat討厭的註冊程序…..
為了配合服務建議書的規劃選用了redhat真的是失策 超難用的…………. rhn帳號還會跟啟動序號綁定… 然後因為區網有封鎖對國外的連線,所以怎樣註冊都會卡住 Orz 又因為我比較想要用文字介面去作設定,反正都遠端使用 就只好找了一下redhat的註冊方式 rhn_register –proxy=IP:Port –proxyUser=User –proxyPassword=Password –nox 主要是要透過proxy連到國外,並且是使用文字介面的方式進入註冊的畫面.. 難搞的Redhat….
Posted in Linux
Leave a comment
Linux : 備援Route
在上一篇文章OpenVPN: 解決動態ip的問題有提到目前是假的備援機制 當主要的gw掛掉後,整個路由表都掰了……………….. 然後就開始找有沒有備用路由的機制 從大部分都會著手的metric去設定,將備用gw的metic設定大一點 可是心急的我馬上就拔線測試,發現不行…..那就繼續找了
Posted in Linux
Leave a comment
OpenVPN: 解決動態ip的問題
為了要使得VPN Server可以同時掛兩個ip (有點線路備援的意味,不過當主要gateway沒了,其實也掰了,假備援啊) 這時候如果client連線到server主要的ip時,因為回去的預設路由一樣,所以會正常 如果連線的是次要的ip時,會因為來的路跟回去的路不一樣導致TLS交握錯誤 這時候可以在client.conf內加入”float”就解決了 以下是原廠的解釋 –float Allow remote peer to change its IP address and/or port number, such as due to DHCP (this is the default if –remote is not used). –float when specified with –remote allows an … Continue reading
Posted in OpenVPN
Leave a comment