우분투 18.04 Onedrive 설치
- 필요한 앱 설치
$ sudo apt install build-essential
$ sudo apt install libcurl4-openssl-dev libsqlite3-dev
$ sudo apt install pkg-config git
$ sudo apt install git
- 필요한 파일 다운로드
$ sudo wget https://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
$ sudo apt update --allow-insecure-repositories
$ sudo apt -y --allow-unauthenticated install --reinstall d-apt-keyring
$ sudo apt update && sudo apt-get install dmd-compiler dub
$ sudo snap install --classic dmd && sudo snap install --classic dub
- Repository 파일 복사 및 onedrive 폴더에 설치
$ git clone https://github.com/abraunegg/onedrive.git
- compile 및 install
$ cd onedrive
$ ./configure
$ make
$ sudo make install
- 실행 및 계정 접속 승인
$ onedrive
- 실행시 터미널에 나타나 링크 주소를 로컬에 있는 내 pc의 크롬 주소창에 붙여넣기 엔터
- 원드라이브 로그인(ID/PASS) 후 거기서 나온 주소 URL을 다시 카피하여
- 터미널 url: 뒤에 붙어넣기 엔터
- 로컬 동기화 폴더 생성, 설정파일 복사 및 이동 설정
$ mkdir -p ~/OneDrive
$ cp config ~/.config/onedrive/config
- 설정파일 확인, 필요시 편집
$ cd
$ onedrive --display-config
- 설정 편집시에는 아래 설정파일을 보고 조정
예) 로컬 폴더에서 onedrive에 upload만 할 때
$ cd onedrive
$ sudo nano ~/.config/onedrive/config
아래처럼 upload_only를 활성화 하면서 false를 true로 수정
$ upload_only = "true"
- 동기화 및 모니터
$ onedrive --synchronize
$ onedrive --monitor
설정변경 후 재 동기화
$ onedrive --synchronize --resync
참조 :
https://github.com/abraunegg/onedrive
http://enjoystat.blogspot.com/2020/12/ubuntu-1804-microsoft-onedrive.html
Author And Source
이 문제에 관하여(우분투 18.04 Onedrive 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@openjr/우분투-Onedrive-설치저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)