cs:navody:object_storage:cesnet_s3:start

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
Následující verze Obě strany příští revize
cs:navody:object_storage:cesnet_s3:start [27.09.2019 12:47]
bauer@cesnet.cz
cs:navody:object_storage:cesnet_s3:start [09.10.2019 12:32]
Lukáš Strnad
Řádek 35: Řádek 35:
   gpg_passphrase = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   gpg_passphrase = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     
-Alternativně lze konfigurační soubor získat použitím interaktivního průvodce:+**Alternativně lze konfigurační soubor získat použitím interaktivního průvodce:** 
 + 
 + 
 + 
 +<hidden **s3cmd --configure**>​  
 +   
 +  \\ 
 +   
 +  $ s3cmd --configure
     
-<​​code>​​$ s3cmd --configure +  ​Enter new values or accept defaults in brackets with Enter. 
- s3cmd --configure +  Refer to user manual for detailed description of all options.
-   +
- Enter new values or accept defaults in brackets with Enter. +
- Refer to user manual for detailed description of all options.+
    
- Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables. +  ​Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables. 
- ​Access Key: xxxxxxxxxxxxxxxxxxxxxx +  Access Key: xxxxxxxxxxxxxxxxxxxxxx 
- ​Secret Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +  Secret Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
- ​Default Region [US]: cze +  Default Region [US]: cze 
- S3 Endpoint [s3.amazonaws.com]:​​ s3.cl1.du.cesnet.cz +  S3 Endpoint [s3.amazonaws.com]:​​ s3.cl1.du.cesnet.cz 
- ​DNS-style bucket+hostname:​​port template for accessing a bucket [%(bucket)s.s3.amazonaws.com]:​ ​ +  DNS-style bucket+hostname:​​port template for accessing a bucket [%(bucket)s.s3.amazonaws.com]:​ ​ 
- ​Encryption password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +  Encryption password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
- Path to GPG program [/​​usr/​​bin/​​gpg]:​​ +  Path to GPG program [/​​usr/​​bin/​​gpg]:​​ 
- Use HTTPS protocol [Yes]: +  Use HTTPS protocol [Yes]: 
- Test access with supplied credentials?​​ [Y/n] y +  Test access with supplied credentials?​​ [Y/n] y 
- Save settings? [y/N] y +  Save settings? [y/N] y 
- ​Configuration saved to '​​~/​​.s3cfg'​​ +  Configuration saved to '​​~/​​.s3cfg'​​ 
-</​code>+ 
 +</hidden> 
 + 
 + 
 +\\
  
  
Řádek 101: Řádek 110:
  
 Upload zašifrovaných souborů ​ Upload zašifrovaných souborů ​
-<​code>​​$ s3cmd put -e file.txt s3://​​newbucket/​​ ​</​​code>​​ ​+  ​$ s3cmd put -e file.txt s3://​​newbucket/​​ 
  
-Uploud ​složek+Upload ​složek
 <​code>​$ s3cmd put -r directory s3://​newbucket/​ </​code>​ <​code>​$ s3cmd put -r directory s3://​newbucket/​ </​code>​
 Ujistěte se, že nepřidáváte koncové lomítko v adresáři (např .: directory/​),​ jinak nahraje pouze obsah adresáře. \\ \\ Ujistěte se, že nepřidáváte koncové lomítko v adresáři (např .: directory/​),​ jinak nahraje pouze obsah adresáře. \\ \\
Poslední úprava:: 12.04.2024 18:11