TO Server core
Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -Restart
  
TO Minimal server
Uninstall-WindowsFeature Server-Gui-Shell -Restart

echochio 發表在 痞客邦 留言(0) 人氣()

undefined
請參考 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) 人氣()



我抄抄改改的程式在 : https://github.com/chio-nzgft/openshift-go-revel 
Revel 就用 go 寫的 full-stack Framework 

echochio 發表在 痞客邦 留言(0) 人氣()


MogoDB 就是  依照 Json 建立的 DB
例如 :
在 linux shell 建立 DB 只要用 use test_db 就建立了  test_db 這 DB

echochio 發表在 痞客邦 留言(0) 人氣()


到 https://mlab.com/ 建立個帳號 , 選 signup 建立 ....
點選  Master Services Agreement  再 選 Create account

echochio 發表在 痞客邦 留言(0) 人氣()


下載 : OCSNG-Windows-Packager & 最新的 OCSNG-Windows-Agent
到此下載 https://github.com/chio-nzgft/ocs-inventory-windows-agent
 

echochio 發表在 痞客邦 留言(0) 人氣()


在 CentOS 安裝一下 微軟的 SQL 測試一下 :
要有 4G 以上的 OS
[root@test ~]# curl https://packages.microsoft.com/config/rhel/7/mssql-server.repo > /etc/yum.repos.d/mssql-server.repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   220  100   220    0     0    796      0 --:--:-- --:--:-- --:--:--   797

echochio 發表在 痞客邦 留言(0) 人氣()


我用 CentOS7 
要先安裝
[root@test ~]# yum -y install yum-utils git

[root@test ~]# yum-config-manager --enable centos-optional-7

[root@test ~]# yum install gem
[root@test ~]# git init

安裝 openshift 工具 & 設定 :
[chio@test ~]$  gem install rhc
[chio@test ~]$ rhc setup
........
........
   
Created: /home/chio/.ssh/id_rsa.pub

echochio 發表在 痞客邦 留言(0) 人氣()

Centos 7 修改 /etc/sysconfig/docker 加入
INSECURE_REGISTRY='--insecure-registry 192.168.0.70:5000'
Ubuntu 的配置文件在/etc/default/docker
DOCKER_OPTS="--insecure-registry 192.168.0.70:5000"
加完後重起 docker 服務

echochio 發表在 痞客邦 留言(0) 人氣()

小米 note3 高配版 ....當初要有 3G+4G 就說國際開發版 , 但每週更新 有些麻煩
但現在國際穩定版已有 3G+4G 就線刷 回  在國際穩定版
先備份手機 ...會備份到 :   Redmi Note 3\內部儲存空間\MIUI\backup\AllBackup
要複製出來 ....
先解鎖 ......下載  miflash_unlock-1.1.1111.1123.zip
用 裡面的 MiFlashUnlock.exe 解鎖 .....當然你的帳號與手機要申請解鎖才行
這樣手機掉了 , 撿到的人拿去用重刷也刷不進去......就算重刷了也進不去 ...沒你的小米密碼 ......!@#$%^
依照官網所說 : 
第1步,下載“小米解鎖工具”至PC,並登錄小米賬號
第2步,手動關機,長按音量下+電源鍵進入快速啟動模式
第3步,USB連接手機,點擊“解鎖手機”
解鎖完下載 MiPhone20151028.exe 線刷程式 , 在 win10 安裝時要 "停止強制數位簽章"
win10 停止強制數位簽章 : 

echochio 發表在 痞客邦 留言(0) 人氣()

紀錄一下 :
確定版本
# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
看一下 kernel 是 3.X 沒錯
# uname -a
Linux ocs  3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Feb 15 14:24:04 EST 2017 x86_64 x86_64 x86_64 GNU/Linux

echochio 發表在 痞客邦 留言(0) 人氣()


紀錄一下 :
yum install  make mod_perl php gcc httpd php-pclzip 
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
/usr/bin/mysql_secure_installation
rpm -Uvh http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum repolist all
yum search yum-config-manager
yum install yum-utils
yum-config-manager --enable remi
yum-config-manager --enable remi-php71
yum update php*
yum install php-mbstring php-gd php-xml php-pecl-memcached php-mysql php-soap -y
yum -y install perl-XML-Simple perl-Compress-Zlib perl-DBI perl-DBD-MySQL perl-Net-IP perl-SOAP-Lite mod_perl perl-Digest-SHA1 perl-Test-Simple
systemctl enable httpd
systemctl start httpd
yum install mod_perl perl-CPAN perl-Archive-Zip  perl-Net-IP perl-XML-Simple perl-SOAP-Lite.noarch perl-ExtUtils-Embed perl-XML-Entities -y
yum install perl-XML-SAX perl-Apache-DBI perl-Apache2-SOAP -y
 yum install httpd-devel -y
#cpan
>install YAML
>install ModPerl::MM
>install Apache2::SOAP
>install Apache::DBI

echochio 發表在 痞客邦 留言(4) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。