close

安裝  ownCloud

參考我的 git https://github.com/echochio-tw/openshift-nginx-php7-owncloud

rhc app create owncloud10 mysql-5.5 cron http://cartreflect-claytondev.rhcloud.com/github/echochio-tw/openshift-nginx-php7-owncloud

第一次開 web 比較久 ...在自動設定裝資料庫 ....登入後記得去改密碼,....XD

舊版安裝方式 ....截圖都是舊版的 ... 10.0.2 畫面差別不多

rhc app create owncloud php-5.4 mysql-5.5 cron-1.4
cd owncloud
git remote add upstream -m master git://github.com/openshift/owncloud-openshift-quickstart.git
git pull -s recursive -X theirs upstream master
git push
http://owncloud-$yourdomain.rhcloud.com 

這樣就安裝好了 .... 重點我要連 google 來用這空間...有80G 耶, 有圖為證 !!!
還是只有我帳號有這麼大 .....哈哈 ......何時可用百度雲 .....哈哈

 

登入後來設定 ....

 

外掛 Google Driver ....當然也可掛 ....其他的 ...例如再掛一個 ownCloud ...
或掛 Dropbox 或是其他的有 WebDAV 的雲盤

 

 

到自己的 google 設定 OAuth2 (google 畫面常常在變 ...
連到 ...(google 畫面常常在變, 變了請自己試吧)
https://console.developers.google.com/

 

如果 google 叫你件專案就建立專案 ...我建立 My Project ...
之後 .....看圖說故事

之後建立憑證

 

 

 

Javascript 來源 

https://owncloud-XXXX.rhcloud.com

重導向的要有兩個

https://owncloud-XXXX.rhcloud.com/index.php/settings/personal
https://owncloud-XXXX.rhcloud.com/index.php/settings/admin

發現不會過時都加進去 http

http://owncloud-XXXX.rhcloud.com/index.php/settings/personal 
http://owncloud-XXXX.rhcloud.com/index.php/settings/admin

或是

http://owncloud-XXXX.rhcloud.com/index.php/settings/personal?sectionid=storage 
http://owncloud-XXXX.rhcloud.com/index.php/settings/admin?sectionid=storage
https://owncloud-XXXX.rhcloud.com/index.php/settings/personal?sectionid=storage
httpsd://owncloud-XXXX.rhcloud.com/index.php/settings/admin?sectionid=storage

 

 

 

最後看到....請複製下來.....到 ownCloud web 輸入就好了 !!!

 

到 ownCloud 畫面 (請用 https:// 登入 ....因為上面我都是用 https 去設定 google 的 OAuth )

 

在個人這裡要設定

這裡要配合 google 給的 ID 及KEY 設定 OAuth2

 

 

 

如果出現 ...

那你要連到 ....
Allow Risky Access Permissions By Unreviewed Apps 網上論壇

加入該論壇 ...認證完再退出

 

 

 

 

 

 

arrow
arrow
    全站熱搜

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