So installieren Sie Cloudcross unter Linux Ubuntu, Redhat und Arch

Der CloudCross-Multi-Cloud-Client ist ein Open-Source-Projekt, das die Synchronisierung von Dateien und Ordnern auf dem Linux-Betriebssystem ermöglichen soll.Es kann Dateien und Ordner zwischen dem lokalen System und Cloud-Plattformen synchronisieren. Der Benutzer kann dem CloudCross mitteilen, was er bei der Sicherung oder Synchronisierung ein- oder ausschließen möchte. Es gibt einen Vorteil darüber, welche Datei/welcher Ordner im lokalen oder Cloud-Speicher gespeichert werden soll.

Das CloudCross wird ausschließlich auf QT entwickelt, ohne die Verwendung von Bibliotheken Dritter. Die unterstützten Cloud-Speicher sind CloudMail, Google Drive, OneDrive, Dropbox und Yandex Disk.

Weitere Funktionen von ClouCross sind die bidirektionale Konvertierung von Dokumenten, die im MS-Office-, Libre- oder Open-Office-Format erstellt wurden, in Google Docs. Verwalten und Erstellen neuer Versionen von Dateien auf Google Drive, Hoch- und Herunterladen von Dateien in die Cloud und Erstellen von Links zum Herunterladen von Dateien.

Das CloudCross kann auf Ubuntu, Redhat, Gentoo und Arch installiert werden. Hier verwenden wir Ubuntu für die Installation anderer Betriebssysteme. Sie können die offizielle Seite für die Repository-Installation sehen.Link

Da die CloudCross-GUI verfügbar ist, müssen wir nur noch das Befehlszeilenterminal verwenden.

Die Github-Projektseite von CloudCross steht auch zum Herunterladen des Projekts zur Verfügung. falls jemand Lust hat, es zu installieren oder weiterzuentwickeln.

Installieren und richten Sie den CloudCross Multi-Cloud-Client für Linux ein

Schritt 1: Greifen Sie auf Ihr Ubuntu-System zu

Schritt 2: Öffnen Sie das Befehlsterminal (STRG+ALT+T)

Schritt 3: CloudCross ist von qtbase5 abhängig, daher müssen wir es zusammen mit anderen Abhängigkeiten installieren.

Führen Sie entsprechend Ihrer Plattform den folgenden Befehl für die Installation aus:

Für Ubuntu/Debian/Linux Mint

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

Für RPM Packager (Redhat, CentOS, Fedora, Alt Linux)

yum groupinstall 'Development Tools'

yum install qt5-qtbase qt5-qtbase-devel curl-devel

Für Arch Linux

pacman -S base-devel qt5-base curl

Schritt 4: Laden Sie CloudCross für Redhat, CentOS, Fedora, Alt Linux, Ubuntu/Debian/Linux Mint oder jedes andere Linux herunter.

Das CloudCross-Projekt ist verfügbar unterGithub. Hier ist dieLink zum Downloaddie komprimierte ZIP-Datei von CloudCross.

Schritt 5: Wechseln Sie nach dem Herunterladen mit dem folgenden Befehl zum Download-Verzeichnis.

cd Downloads

Schritt 6: In den Downloads sehen Sie die ZIP-Datei mit dem Namen CloudCross-mastert.zip

Verwenden Sie diesen Befehl, um den komprimierten CloudCross-Ordner zu entpacken:

unzip CloudCross-master.zip

Schritt 7: Gehen Sie in den Entpack- oder entpackten Ordner von CloudCross.

Der Befehl lautet

cd CloudCross-master

Schritt 8: Erstellen Sie ein Build-Verzeichnis, in dem wir das CloudCross kompilieren.

Verwenden Sie dazu den folgenden Befehl:

mkdir build

Schritt 9: Geben Sie das Build-Verzeichnis ein

cd build

Schritt 10: Bereiten Sie CloudCross zum Kompilieren vor.

Verwenden Sie die folgenden Befehle:

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

Die Ausgabe des obigen Befehls:

h2s@h2s-VirtualBox:~/Downloads/CloudCross-master$ cd build
h2s@h2s-VirtualBox:~/Downloads/CloudCross-master/build$ qmake ../CloudCross.pro
h2s@h2s-VirtualBox:~/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

Schritt 12: Führen Sie nach dem obigen Befehl die folgenden zwei Befehle aus:

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

Schritt 11: Jetzt verbinden wir verschiedene Cloud-Dienste mit CloudCross.

Wie wir wissen, ist CloudCross ein Multi-Cloud-Client, sodass wir ihn beispielsweise mit OneDrive, Google Drive, Dropbox oder Yandex Disk von Cloud Mail.ru verbinden können. Wir müssen nur das Befehlsterminal öffnen und eingebenKreuz -aOption zusammen mit einer Syntax –provider [name].

Siehe dieses Beispiel. Angenommen, wir möchten Google Drive so verbinden, dass der Befehl lautet

ccross -a --provider google

Wenn Sie den Cloud-Anbieter hinzufügen, wird in Ihrem Befehlsterminal ein Link als Ausgabe angezeigt. Kopieren Sie das und öffnen Sie es im Browser.

Ausgabelink in unserem Fall

h2s@h2s-VirtualBox:~/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
https://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%3Dhttps://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.


Schritt 12: Öffnen Sie den Link im Browser

Wenn wir den Link im Browser öffnen, werden wir nach den Anmeldeinformationen gefragt, um uns anzumelden und in unserem Namen auf den Cloud-Dienst zuzugreifen. Geben Sie den Benutzernamen und das Passwort ein und erlauben Sie dann dem CloudCross den Zugriff auf Ihr Cloud-Laufwerk.

Schritt 13: So synchronisieren Sie mit CloudCross einen Ordner zwischen PC und Cloud Drive

Beginnen Sie nun mit der Synchronisierung der Ordner auf Ihrem PC mit dem Cloud-Laufwerk mithilfe von CloudCross. Geben Sie zunächst dieses Verzeichnis ein und führen Sie einen Befehl ausKreuzohne jede Option. Es wird automatisch alles, was sich in diesem Ordner befindet, in die Cloud hoch-/heruntergeladen. Wenn Sie mehrere Cloud-Dienste nutzen, müssen wir den Dienstnamen nach dem angebenKreuzBefehl.

Schritt 14: Weitere Hilfe zur Befehlssyntax für CloudCross erhalten Sie unter:

ccross --help

Sie können sich auch die offizielle Befehlsverwendungsseite von CloudCross ansehen: Hier ist dieSeitenlink.

Ausgabe des help-Befehls:

h2s@h2s-VirtualBox:~/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
h2s@h2s-VirtualBox:~/Downloads$

Auf diese Weise können wir den Zugriff auf das Google-Laufwerk unter Linux einschließlich anderer Cloud-Dienste für die Synchronisierung mit dem CloudCross-Multi-Cloud-Client nutzen. Denken Sie an die verfügbare CloudCross-GUI-Schnittstelle. Dabei handelt es sich lediglich um ein Befehlsbasis-Synchronisierungstool für Linux-Plattformen.

Weitere nützliche Ressourcen:

Related Posts