Skip to content
Snippets Groups Projects
Commit a84498c7 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

formatting

parent 0a5e36a5
No related branches found
No related tags found
No related merge requests found
Pipeline #28070 passed with warnings
...@@ -43,15 +43,15 @@ First, we need to verify your identity, this is done through the following steps ...@@ -43,15 +43,15 @@ First, we need to verify your identity, this is done through the following steps
1. After successfull login to B2Access: 1. After successfull login to B2Access:
1. **For Non IT4I Users** 1. **For Non IT4I Users**
Sign in to our [AAI][f] through your B2Access account. Sign in to our [AAI][f] through your B2Access account.
You have to set a new password for iRods access. You have to set a new password for iRods access.
1. **For IT4I Users** 1. **For IT4I Users**
Sign in to our [AAI][f] through your B2Access account and link your B2ACCESS identity with your existing account. Sign in to our [AAI][f] through your B2Access account and link your B2ACCESS identity with your existing account.
The IRODS password will be the same as your IT4I LDAP password (i.e. code.it4i.cz password). The IRODS password will be the same as your IT4I LDAP password (i.e. code.it4i.cz password).
![](img/aai.jpg) ![](img/aai.jpg)
![](img/aai2.jpg) ![](img/aai2.jpg)
...@@ -144,35 +144,38 @@ Enter your current PAM password: ...@@ -144,35 +144,38 @@ Enter your current PAM password:
test.4 test.4
``` ```
- upload `iput` , download `iget` Use the command `iput` for upload, `iget` for download, or `ihelp` for help.
- for more help, type `ihelp`
## ***Access to iRods Collection From Other Resource*** ## ***Access to iRods Collection From Other Resource***
- we suppose, you will upload your data from your local pc/vm !!! note
- password from [AAI][f] This guide assumes you are uploading your data from your local PC/VM.
Use the password from [AAI][f].
### You Need a Client to Connect to iRods Server ### You Need a Client to Connect to iRods Server
- There are many iRods clients, but we recommend theese: There are many iRods clients, but we recommend the following:
- Cyberduck - for windows / mac, GUI . - Cyberduck - Windows/Mac, GUI
- Fuse (irodsfs lite) - for linux, cli - Fuse (irodsfs lite) - Linux, CLI
- iCommands - for linux, cli . - iCommands - Linux, CLI.
- for access set PAM passwords at [AAI][f]
For access, set PAM passwords at [AAI][f].
### Cyberduck ### Cyberduck
- download [Cyberduck][i] 1. Download [Cyberduck][i].
- download [connection profile][1] for IT4I irods server 2. Download [connection profile][1] for IT4I iRods server.
- left doubleclick at this file opens connection 3. Left doubleclick this file to open connection.
![](img/irods-cyberduck.jpg) ![](img/irods-cyberduck.jpg)
### Fuse ### Fuse
- work with your irods collection like ordinary directory !!!note "Linux client only"
- this is linux client only, basic knowledge of commandline is neccessary This is Linux client only, basic knowledge of command line is neccessary.
Fuse allows you to work with your iRods collection like an ordinary directory.
```console ```console
cd ~ cd ~
...@@ -183,9 +186,9 @@ wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.i ...@@ -183,9 +186,9 @@ wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.i
sed -i 's,~,'"$HOME"',g' ~/irods/irods_environment.json sed -i 's,~,'"$HOME"',g' ~/irods/irods_environment.json
``` ```
- edit `~/.irods/config.yml` with username from [AAI][f] Edit `~/.irods/config.yml` with username from [AAI][f].
***How to mount your collection:*** #### Mounting Your Collection
```console ```console
[some_user@local_pc ~]$ ./irodsfs -config ~/.irods/config.yml ~/IRODS [some_user@local_pc ~]$ ./irodsfs -config ~/.irods/config.yml ~/IRODS
...@@ -200,7 +203,7 @@ time="2022-07-29 09:51:17.693772" level=info msg="Successfully sent configuratio ...@@ -200,7 +203,7 @@ time="2022-07-29 09:51:17.693772" level=info msg="Successfully sent configuratio
time="2022-07-29 09:51:18.008166" level=info msg="Successfully started background process" function=parentRun package=main time="2022-07-29 09:51:18.008166" level=info msg="Successfully started background process" function=parentRun package=main
``` ```
***How to put your data to iRODS*** #### Putting Your Data to iRODS
```console ```console
[some_use@local_pc ~]$ cp test1G.txt ~/IRODS [some_use@local_pc ~]$ cp test1G.txt ~/IRODS
...@@ -214,7 +217,9 @@ total 0 ...@@ -214,7 +217,9 @@ total 0
-rwx------ 1 some_user some_user 1073741824 Nov 4 2021 test1G.txt -rwx------ 1 some_user some_user 1073741824 Nov 4 2021 test1G.txt
``` ```
***How to stop - unmout your collection:*** #### Unmounting Your Collection
To stop/unmount your collection, use:
```console ```console
[some_user@local_pc ~]$ fusermount -u ~/IRODS [some_user@local_pc ~]$ fusermount -u ~/IRODS
...@@ -222,10 +227,12 @@ total 0 ...@@ -222,10 +227,12 @@ total 0
### iCommands ### iCommands
- this is linux client only, basic knowledge of commandline is neccessary -!!!note "Linux client only"
- we recommend Centos7, ubuntu 20 is optional This is Linux client only, basic knowledge of command line is neccessary.
We recommend Centos7, Ubuntu 20 is optional.
***steps for Ubuntu20:*** #### Steps for Ubuntu 20
```console ```console
LSB_RELEASE="bionic" LSB_RELEASE="bionic"
...@@ -252,10 +259,9 @@ sudo apt install -y irods-icommands ...@@ -252,10 +259,9 @@ sudo apt install -y irods-icommands
mkdir ~/.irods/ && cd "$_" && wget https://docs.it4i.cz/irods_environment.json mkdir ~/.irods/ && cd "$_" && wget https://docs.it4i.cz/irods_environment.json
wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.irods wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.irods
sed -i 's,~,'"$HOME"',g' ~/.irods/irods_environment.json sed -i 's,~,'"$HOME"',g' ~/.irods/irods_environment.json
``` ```
***Steps for centos*** #### Steps for Centos
```console ```console
sudo rpm --import https://packages.irods.org/irods-signing-key.asc sudo rpm --import https://packages.irods.org/irods-signing-key.asc
...@@ -268,7 +274,7 @@ wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.i ...@@ -268,7 +274,7 @@ wget https://pki.cesnet.cz/_media/certs/chain_geant_ov_rsa_ca_4_full.pem -P ~/.i
sed -i 's,~,'"$HOME"',g' ~/.irods/irods_environment.json sed -i 's,~,'"$HOME"',g' ~/.irods/irods_environment.json
``` ```
- edit ***irods_user_name*** in `~/.irods/irods_environment.json` with username from [AAI][f] Edit ***irods_user_name*** in `~/.irods/irods_environment.json` with the username from [AAI][f].
```console ```console
[some_user@local_pc ~]$ pwd [some_user@local_pc ~]$ pwd
...@@ -294,7 +300,7 @@ Enter your current PAM password: ...@@ -294,7 +300,7 @@ Enter your current PAM password:
file.jpg file.jpg
``` ```
***how to put your data to IRODS*** **How to put your data to iRods**
```console ```console
[some_user@local_pc ~]$ iput cesnet.crt [some_user@local_pc ~]$ iput cesnet.crt
...@@ -306,7 +312,7 @@ Enter your current PAM password: ...@@ -306,7 +312,7 @@ Enter your current PAM password:
cesnet.crt cesnet.crt
``` ```
***How to download data*** **How to download data**
```console ```console
[some_user@local_pc ~]$ iget cesnet.crt [some_user@local_pc ~]$ iget cesnet.crt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment