星期二, 12月 27, 2011

openSUSE 12.1 with owncloud


openSUSE 12.1 with owncloud


相關網頁

透過 one-click install 安裝

1.語系可以調整成中文語系但是是簡體中文
可以在左下角的設定(Settings) icon 點選Personal
Language 點選要設定的語系

2.接下來是調整檔案上傳的預設大小

預設是2MB 可以參考

修改 /etc/php5/apache2/php.ini

修改預設的 upload_max_filesize = 2M 到自己設定的大小
以下是原文

INCREASE ALLOWED MAXIMUM SIZE FOR UPLOADS
Open the PHP configuration file in /etc/php5/apache2/php.ini, look for:
upload_max_filesize = 2M
post_max_size= 2M
In place of 2M write the maximum size you want to be allowed.

3. 可以透過 Android 手機連接
軟體名稱 WebDAV Lite

設定 WebDAV Lite

名稱: 輸入名稱
服務器 URL: http://主機位置/owncloud/files/webdav.php
輸入帳號及密碼

可以新增資料夾以及上傳照片owncloud

4.有關於要掛載到 local 上面 (網路硬碟)可以參考

Windows XP and Vista should work perfectly fine.
In Windows 7, you can map ownCloud as a network folder.
in Services, enable the Webclient service (might be enabled already)
in the Registry, change

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel 

from 1 to 2. Then restart Webclient service (Mouse right click --> Restart)

go to My Computer → Mount Network Drive

in the Folder field type http://ADDRESS/files/webdav.php
check Connect using different credentials



GNU/Linux operating systems

FIRST, AS AN ADMINISTRATOR

Install the WebDAV support: sudo apt-get install davfs2
Reconfigure davfs2 to allow access to normal users: sudo dpkg-reconfigure davfs2 (select Yes when prompted)
Add the users you want to be able to mount the share to the davfs2 group: sudo usermod -aG davfs2 <user>
Edit /etc/fstab, and add the following line for each user who wants to mount the folder (with your details where appropriate)
For version 1.x: http<yourdomain>/<owncloud>/webdav/owncloud.php /home/<username>/owncloud davfs user,rw,noauto 0 0
For version 2.x: http<yourdomain>/<owncloud>/files/webdav.php /home/<username>/owncloud davfs user,rw,noauto 0 0

THEN, AS EACH USER WHO WANTS TO MOUNT THE FOLDER

Create the folders owncloud ; .davfs2 in your home directory
Create the file secrets inside .davfs2, fill it with the following (with your credentials where appropriate)

For version 1.x: http<yourdomain>/<owncloud>/webdav/owncloud.php <username> <password>
For version 2.x: http<yourdomain>/<owncloud>/files/webdav.php <username> <password>

Ensure the file is only writable by you either through the file manager, or via chmod 600 ~/.davfs2/secrets

Run the command: mount ~/owncloud
To automatically mount the folder on login, add the command you used in step 4 to ~/.bashrc




5. openSUSE 的使用者可以使用 Mirall

for openSUSE 12.1 使用者
http://software.opensuse.org/ymp/openSUSE:12.1:Update/standard/mirall.ymp

Express Upload Directories 還有待 Lab

相關設定檔
~/.local/share/data/Mirall/ 目錄內
  • mirall.cfg 
    • 有相關URL 以及帳號/密碼 以明碼儲存 
  • folders 
    • Express Upload Directories 相關設定
先記下來

enjoy it ~


沒有留言: