Setup OneDrive in Ubuntu 18.04

  • nobby 
Install OneDrive deb package. $ sudo apt install onedrive Sync OneDrive on user directory. $ onedrive Authorize this app visiting: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=xxxxxxxxxxxxxxxxxxxxxxxx&scope=files.readwrite%20files.readwrite.all%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient Login to Your OneDrive Account then copy displayed URL of white page. Paste to excution terminal. enable user systemctl (daemonic). After syncing, execute following daemon $ systemctl --user enable onedrive $ systemctl --user start onedrive

Ubuntu LTS update

  • nobby 
Release upgrade ex. 16.04.x -> 18.04 $ sudo do-release-upgrade   Minor upgrade 16.04.x -> 16.04.3 ex. 16.04.2 -> 16.04.3 DeskTop: $ sudo apt install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04   Server: $ sudo apt install --install-recommends linux-generic-hwe-16.04

Ubuntu 18.04 network setting

  • nobby 
Fixed IP Address Put under directory ‘/etc/netplan/’. example; 50-cloud-init.yaml network: ethernets: enp2s0: dhcp4: no dhcp6: no addresses: [] gateway4: nameservers: addresses: [] #if use static route routes: - to: via: version: 2 Proxy used edit /etc/environment example; LAN http_proxy="" https_proxy="" no_proxy=localhost,,   example; external proxy http_proxy="http://[user:password@]host.xxxx.net:8080/" https_proxy="http://[user:password@]host.xxxx.net:8080/" no_proxy=localhost,,