Configurando o Rclone no CentOS 7
A maioria dos serviços de armazenamento online (Cloud) não fornecem softwares clientes para a plataforma Linux. O Rclone é um software que veio para resolver esta deficiência. Ele é compatível com a maioria dos serviços online de armazenamento. Neste tutorial, veja como implementar esta ferramenta em ambientes Linux.
[ Hits: 24.658 ]
Por: Ricardo Pardim Claus em 12/10/2016
No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q>Digite um nome para identificar o cloud. Para o Google Drive, eu utilizei o nome: godrive
Type of storage to configure. Choose a number from below, or type in your own value 1 / Amazon Drive \ "amazon cloud drive" 2 / Amazon S3 (also Dreamhost, Ceph, Minio) \ "s3" 3 / Backblaze B2 \ "b2" 4 / Dropbox \ "dropbox" 5 / Encrypt/Decrypt a remote \ "crypt" 6 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 7 / Google Drive \ "drive" 8 / Hubic \ "hubic" 9 / Local Disk \ "local" 10 / Microsoft OneDrive \ "onedrive" 11 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 12 / Yandex Disk \ "yandex" Storage> 7Nos campos client_id e client_secret, deixe ambos em branco, apenas pressione enter.
Google Application Client Id - leave blank normally. client_id> Google Application Client Secret - leave blank normally. client_secret>Em remote config, digite "n" para que seja apresentado o link para gerar o código de ativação do serviço Google Drive:
Remote config Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine or Y didn't work y) Yes n) No y/n> n If your browser doesn't open automatically go to the following link:https://accounts.google.com/o/oauth2/auth?client_id=82022656774.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=78067440a23778561980580f5751 Log in and authorize rclone for access Enter verification code>Clique no link acima ou copie e cole no navegador. Será aberto uma página do Google, informando que o Rclone gostaria de "Ver e gerenciar os arquivos no seu Google Drive".
[godrive] client_id = client_secret = token = {"access_token":"748A3dthb6ewte9Dp74yT-wqstlcn7Nwrervg6iTV1W8dv2Esxj6RMSYP_A","token_type":"Bearer","refresh_token":"1/AhlriophV7H2JFNxQGAEYOcqUuOqCaHS7hsFY","expiry":"2016-09-26T15:42:20.65418263-03:00"} -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> yO repositório foi criado. Para finalizar, na tela abaixo, pressione q (Quit config).
Current remotes: Name Type ==== ==== godrive drive e) Edit existing remote n) New remote d) Delete remote s) Set configuration password q) Quit config e/n/d/s/q> q
Squid - Bloqueando definitivamente o MSN Messenger e Orkut
Nagios no Ubuntu 14.04 - Instalação e configuração
Instalação e configuração do Nagios (versões 3.2.1 e 4.0.8)
Acesso remoto entre GNU/Linux e Windows
Zoneminder: Substituindo um Unifi NVR
Configurando Zabbix 3.4 no CentOS 7
Atualizar o macOS no Mac - Opencore Legacy Patcher
Crie alias para as tarefas que possuam longas linhas de comando - bash e zsh
Criando um gateway de internet com o Debian
Configuração básica do Conky para mostrar informações sobre a sua máquina no Desktop
Aprenda a criar músicas com Inteligência Artificial usando Suno AI
Como instalar o navegador TOR no seu Linux
Instalando Zoom Client no Ubuntu 24.04 LTS
Instalando Zoom Client no Fedora 40
Instalando Navegador Firefox no Debian 12
Bloqueando propagandas no Youtube e outros sites com o uBlocker Origin
Configurar Crontab [RESOLVIDO] (6)
Como substituir pacotes do sistema Linux Mint 21.3 (6)
Dificuldade em ler binário (13)
Configurando static ipv6 em placa de rede eth0[DUVIDA] (4)
excluindo partas e arquivos vazios de pacotes tar[DUVIDA] (1)