請參考 : https://github.com/echochio-tw/pacemaker_docker
Dockerfile 運作原理 ....
echochio 發表在 痞客邦 留言(0) 人氣(19)
1. 創建s2i環境
# wget https://github.com/openshift/source-to-image/releases/download/v1.1.4/source-to-image-1.1.4-870b273-linux-amd64.tar.gz
# tar zxvf source-to-image-1.1.4-870b273-linux-amd64.tar.gz
echochio 發表在 痞客邦 留言(0) 人氣(389)

就是 fsck
echochio 發表在 痞客邦 留言(0) 人氣(15)
紀錄一下 http://cmder.net/
內有別 mini 與 full ,唯一的差別在於有沒有內建 msysgit 工具,full 是 Git for Windows 的標準配備
裡面不僅僅有 Git 工具程式還包含了一些 Linux 環境下常用的工具程式,
例如 less, grep, tar, unzip, grep, sed, … 等
如果你確定電腦已經有安裝 Git for Windows 的話,可以直接下載 mini 版即可。
echochio 發表在 痞客邦 留言(0) 人氣(283)
TO Server core
Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -Restart
TO Minimal server
Uninstall-WindowsFeature Server-Gui-Shell -Restart
echochio 發表在 痞客邦 留言(0) 人氣(6)

請參考 https://github.com/chio-nzgft/openshift-go-revel-leanote-mlab-db
DB 要自建 :
local MongoDB 要用 3.0 才能上傳
Server : ds145389.mlab.com
Port : 45389
DBname : leanote
user : admin
password : leanote
如要修改請 clone 一下 git 將
openshift-go-revel-leanote-mlab-db/bin/compile 改一下 :sed -i 's/db.username=/db.username=admin/g' src/github.com/leanote/leanote/conf/app.conf
sed -i 's/db.password=/db.password=leanote/g' src/github.com/leanote/leanote/conf/app.conf
sed -i 's/db.host=127.0.0.1/db.host=ds145389.mlab.com/g' src/github.com/leanote/leanote/conf/app.conf
sed -i 's/db.port=27017/db.port=45389/g' src/github.com/leanote/leanote/conf/app.conf
echochio 發表在 痞客邦 留言(0) 人氣(4)

我抄抄改改的程式在 : https://github.com/chio-nzgft/openshift-go-revel
Revel 就用 go 寫的 full-stack Framework
echochio 發表在 痞客邦 留言(0) 人氣(5)

MogoDB 就是 依照 Json 建立的 DB
例如 :
在 linux shell 建立 DB 只要用 use test_db 就建立了 test_db 這 DB
echochio 發表在 痞客邦 留言(0) 人氣(16)

到 https://mlab.com/ 建立個帳號 , 選 signup 建立 ....
點選 Master Services Agreement 再 選 Create account
echochio 發表在 痞客邦 留言(0) 人氣(87)

下載 : OCSNG-Windows-Packager & 最新的 OCSNG-Windows-Agent
到此下載 https://github.com/chio-nzgft/ocs-inventory-windows-agent
echochio 發表在 痞客邦 留言(0) 人氣(690)