Cara menginstal Cloudcross di Linux Ubuntu, Redhat & Arch

CloudCross multi-cloud client is an open source project meant to enable synchronization files and folders on Linux operating system.

Itu dapat menyinkronkan file dan folder antara sistem lokal dan platform cloud. Pengguna dapat memberi tahu CloudCross hal tertentu yang ingin dia sertakan atau kecualikan yang berbeda dari pencadangan atau sinkronisasi. Ini memberi keuntungan pada file/folder mana yang harus disimpan di penyimpanan lokal atau cloud.

CloudCross dikembangkan murni di QT tanpa menggunakan perpustakaan pihak ketiga mana pun. Penyimpanan cloud yang didukungnya adalah CloudMail, Google Drive, OneDrive, Dropbox, dan Yandex Disk.

Fitur lain dari ClouCross seperti konversi dua arah dari dokumen yang dibuat di MS-office, Libre, format Open Office ke Google Docs; mengelola dan membuat versi baru file di Google Drive, mengunggah dan mengunduh file ke cloud, dan membuat tautan untuk mengunduh file.

CloudCross dapat diinstal di Ubuntu, Redhat, Gentoo & Arch. Di sini kita menggunakan Ubuntu untuk instalasi OS lainnya, Anda dapat melihat halaman resmi untuk instalasi repositori.

Link

Ada CloudCross GUI yang tersedia jadi apa pun yang harus kita lakukan adalah dengan menggunakan terminal command line.

Halaman proyek CloudCross Github juga tersedia untuk mengunduh proyek; jika ada yang ingin menginstal atau mengembangkan lebih lanjut.

Instal dan atur client CloudCross Multi-cloud untuk Linux

Step 1:
Access your Ubuntu  system

Step 2: Open the Command Terminal (CTRL+ALT+T)

Step 3: CloudCross depends on qtbase5 so we need to install along with other dependencies. 

Sesuai platform Anda, jalankan perintah di bawah ini untuk instalasi:

For Ubuntu/Debian/Linux Mint

sudo apt-get install build-essential qt5-default qtbase5-dev qt5-qmake libcurl4-openssl-dev

For RPM Packager (Redhat, CentOS, Fedora, Alt Linux)

yum groupinstall 'Development Tools' yum install qt5-qtbase qt5-qtbase-devel curl-devel

For Arch Linux

pacman -S base-devel qt5-base curl

Step 4: Download CloudCross for Redhat, CentOS, Fedora, Alt Linux, Ubuntu/Debian/Linux Mint or any other Linux.

Proyek CloudCross tersedia di

Github

. Berikut ini tautan untuk mengunduh file ZIP terkompresi dari CloudCross.

Step 5: After downloading, switch to Downloads directory using below command.

cd Downloads

Step 6: Inside the Downloads, you will see the ZIP file with a name CloudCross-mastert.zip

Gunakan perintah ini untuk membuka zip folder terkompresi CloudCross:

unzip CloudCross-master.zip

Step 7: Enter into the Unpack or extracted folder of the CloudCross. 

Perintahnya adalah

cd CloudCross-master

Step 8: Create a build directory where we compile the CloudCross.

Untuk melakukan ini gunakan perintah di bawah ini:

mkdir build

Step 9: Enter in the build directory

cd build

Step 10: Make the CloudCross ready for compiling.

Gunakan perintah di bawah ini:

sudo apt-get install qmake qmake../CloudCross.pro make

output of the above command:

[email protected]:~/Downloads/CloudCross-master$ cd build [email protected]Box:~/Downloads/CloudCross-master/build$ qmake../CloudCross.pro [email protected]:~/Downloads/CloudCross-master/build$ make cd MSHttpRequest/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/h2s/Downloads/CloudCross-master/MSHttpRequest/MSHttpRequest.pro ) && make -f Makefile make[1]: Entering directory '/home/h2s/Downloads/CloudCross-master/build/MSHttpRequest' g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../MSHttpRequest -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs /linux-g++ -o main.o../../MSHttpRequest/main.cpp g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../MSHttpRequest -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mshttprequest.o../../MSHttpRequest/mshttprequest.cpp

Step 12: After the above command run the below two commands:

sudo cp "./ccross-app/ccross" "/usr/bin" sudo cp "./ccross-curl-executor/ccross-curl" "/usr/bin"

Step 11: Now we connect different cloud services with CloudCross.

Seperti yang kita ketahui, CloudCross adalah client multi-cloud sehingga kita dapat menggunakannya terhubung seperti OneDrive, Google Drive, Dropbox atau Yandex Disk dari Cloud Mail.ru. Kita hanya perlu membuka terminal Command dan masuk ke

ccross -a

opsi bersama dengan sintaks –penyedia [nama].

Lihat contoh ini. Misalkan kita ingin menghubungkan Google Drive maka perintahnya adalah

ccross -a --provider google

Saat Anda menambahkan penyedia cloud, tautan akan ditampilkan sebagai output di command terminal Anda. Salin itu dan buka di browser.

Output link in our case

[email protected]:~/Downloads/CloudCross-master/build$ ccross -a --provider google -------------------------------------Please go to this URL and confirm application credentialshttps://accounts.google.com /ServiceLogin?passive=1209600&continue =https://accounts.google.com/o/oauth2/v2/auth?response_type%3Dcode%26redirect_uri%3D http://127.0.0.1:1973 %26client_id%3D834415955748-oq0p2m5dro2bvh3bu0o5bp19ok3qrs3f.apps.googleusercontent.com%26access_type%3Doffline%26scope%3D https://www.googleapis.com/auth/drive%2Bhttps://www.googleapis.com/auth/userinfo. email%2Bhttps://www.googleapis.com/auth/userinfo.profile%2Bhttps://docs.google.com/ feeds/%2Bhttps://docs.googleusercontent.com/%2Bhttps://spreadsheets. google.com/feeds/%26state%3D1%26approval_prompt%3Dforce%26from_login%3D1%26as%3DDz3gIG vQ634pCd0Ts2WqSA&followup=https://accounts.google.com/o/oauth2/v2/auth?response_type% 3Dcode%26redirect_uri%3Dhttp://127.0.0.1:1973%26client_id%3D834415955748-oq0p2m5dr o2bvh3bu0o5bp19ok3qrs3f.apps.googleusercontent.com%26access_type%3Doffline%26scope% 3Dhttps://www.googleapis.com/auth/drive%2Bhttps://www.googleapis.com/auth/userinfo.email%2Bhttps://www.googleapis.com/auth/userinfo.profile%2Bhttps://docs.google.com /feeds/%2Bhttps://docs.googleusercontent.com/%2Bhttps://spreadsheets.google.com /feeds/%26state%3D1%26approval_prompt%3Dforce%26from_login%3D1%26as%3DDz3gIGv Q634pCd0Ts2WqSA&ltmpl=nosignup&oauth=1&sarp=1&scc=1 Token was successfully accepted and saved. To start working with the program run ccross without any options for start full synchronize. 

Step 12: Open the link in the browser

Saat kita membuka tautan di browser, itu akan meminta kredensial untuk masuk dan mengakses service Cloud atas nama kita. Masukkan Nama Pengguna dan password lalu izinkan CloudCross mengakses drive Cloud Anda.

Step 13: How to synchronize a folder between PC and Cloud Drive using CloudCross

Sekarang untuk memulai sinkronisasi folder yang berada di PC Anda dengan cloud drive menggunakan CloudCross. Pertama, masuk ke direktori itu dan jalankan perintah

ccross

tanpa pilihan apapun. Ini akan secara otomatis mengunggah/mengunduh semua yang ada di folder itu ke Cloud. Jika Anda menggunakan beberapa service cloud maka kita perlu menentukan nama service setelah

ccross

memerintah.

Step 14: For more help on the command syntax for CloudCross you can use:

ccross --help

Anda juga dapat melihat halaman useran perintah resmi CloudCross: Berikut adalah tautan halamannya.

Output of the help Command:

[email protected]:~/Downloads$ ccross --help CloudCross v1.4.4 for Linux is a opensource program for sync local files with a many cloud storages. Options: -h [ --help ] Produce help message -v [ --version ] Display CloudCross version -a [ --auth ] Request authorization token -p [ --path ] arg Path to sync directory --dry-run Only detect which files need to be uploaded/downloaded, without actually performing them. -s [ --list ] Print remote cloud file list --use-include Use.include file. Without this option by default use.exclude file. If these files does'nt exists, they are ignore --prefer arg Define sync strategy. It can be a one of "remote" or "local". By default it's "local" --no-hidden Not sync hidden files and folders --no-new-rev Do not create new revisions of files, overwrite their instead --convert-doc Convert office document to Google Doc format when upload and convert him back when download --force arg Forcing upload or download files. It can be a one of "upload" or "download". This option overrides --prefer option value. --provider arg Set cloud provider for current sync operation. On this moment this option can be a "google", "yandex", "mailru", "onedrive" or "dropbox". Default provider is Google Drive --login arg Set login for access to cloud provider. Now it used only for Cloud Mail.ru --password arg Set password for access to cloud provider. Now it used only for Cloud Mail.ru --http-proxy arg Use http proxy server for connection to cloud provider. <arg> must be in a ip_address_or_host_name:port_number format --socks5-proxy arg Use socks5 proxy server for connection to cloud provider. <arg> must be in a ip_address_or_host_name:port_number format --cloud-space Showing total and free space of cloud --filter-type Filter type for.include and.exclude files. Can be set to "regexp" or "wildcard". Ignored if it set in files --single-thread Run as single threaded --low-memory Reduce memory utilization during reading a remote file list. Using of this option may do increase of synchronization time --empty-trash Delete all files from cloud trash bin. --no-sync If this option is set synchronization mechanism will be disabled and remote file list not be a readed. Local files will be uploaded without consideration of existence of this files on remote. Use with carefully [email protected]:~/Downloads$ 

Dengan cara ini, kita dapat menggunakan akses Google drive di Linux termasuk service cloud lainnya untuk sinkronisasi menggunakan client multi-cloud CloudCross. Ingat interface CloudCross GUI yang tersedia, ini murni alat sinkronisasi basis perintah untuk platform Linux.

Other Useful Resources:

  • Cara menambahkan beberapa akun ke Google Backup and Sync untuk mendapatkan lebih banyak penyimpanan gratis
  • Cara menginstal & menggunakan Google Backup and Sync di Ubuntu
  • Google drive di Linux mint 18/19: Cara menginstal & panduan pengaturan