목차
Server
Developer
Client API
Webdav
Basic APIs
WebDAV basics
base url: /remote.php/dav
모든 요청은 인증정보가 필요하다.
Testing requests with curl
$ curl -u username:password 'https://cloud.example.com/remote.php/dav/files/username/folder' -X PROPFIND --data '<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
<d:prop xmlns:oc="http://owncloud.org/ns">
<d:getlastmodified/>
<d:getcontentlength/>
<d:getcontenttype/>
<oc:permissions/>
<d:resourcetype/>
<d:getetag/>
</d:prop>
</d:propfind>'
memcache
sudo apt install php-apcu
config/config.php
'memcache.local' => '\OC\Memcache\APCu',
sudo systemctl restart php7.3-fpm.service nginx.service
imagick
"이 인스턴스의 모듈 php-imagick에 SVG 지원이 없습니다. 더 나은 호환성을 위해 설치를 권장합니다."
# apt install php-imagick
$ sudo systemctl restart php7.3-fpm.service nginx.service
20이후에서 다음 라이브러리 설치로 해결이 되었으나 23이후로는 라이브러리를 검색할 수 없다.
# apt install libmagickcore-6.q16-6-extra
nextcloud client
안드로이드
- 안드로이드용 nextcloud클라이언트 프로그램을 설치한다.
- 달력과 연락처를 동기화하기 위하여 DAVx⁵를 설치한다.
- nextcloud 앱을 열고 설정에서 '달력 및 연락처 동기화'를 선택한다.
- 계정에 로그인하고 접근을 허용한다.
x86
https://nextcloud.com/install/#install-clients 에서 다운받을 수 있다.
arm
바이너리 다운받아 실행하거나 소스를 다운받아 빌드하여 사용할 수 있다.
설치방식
qtwebengine 설치
$ git clone https://git.wnote.ga/jhkim/qt5-qtwebengine-arm-bin.git $ cd https://git.wnote.ga/jhkim/qt5-qtwebengine-arm-bin.git $ ./install.sh
nextcloud client 다운로드
$ wget https://github.com/istandthon7/desktop/releases/download/v2.5.2/nextcloud-desktop-client-v2.5.2-armv7-linux.tar.gz
의존성 설치
$ ./install_dependency.sh
실행
$ cd qt5-qtwebengine-arm-bin $ ./nextcloud.sh
소스빌드방식
의존성 설치
$ sudo apt-get install build-essential git cmake openssl libssl-dev sqlite3 libsqlite3-dev qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools python-sphinx texlive-latex-base inotify-tools qt5keychain-dev doxygen extra-cmake-modules kio-dev
qtwebengine build
nextcloud client 소스다운로드 및 빌드
$ git clone https://github.com/nextcloud/desktop $ mkdir build $ cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/ -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1
설치
설치경로를 사용자 경로로 지정하지 않은 경우에는 sudo를 추가
$ make install