Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Commits
32a84fff
Commit
32a84fff
authored
2 years ago
by
Jan Siwiec
Browse files
Options
Downloads
Plain Diff
Merge branch 'dvo0012-dice-patch' into 'master'
Update dice.md See merge request
!379
parents
2eb34de7
4b85474d
No related branches found
No related tags found
1 merge request
!379
Update dice.md
Pipeline
#27094
passed with warnings
2 years ago
Stage: test
Stage: build
Stage: deploy
Stage: after_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs.it4i/dice.md
+19
-19
19 additions, 19 deletions
docs.it4i/dice.md
with
19 additions
and
19 deletions
docs.it4i/dice.md
+
19
−
19
View file @
32a84fff
...
@@ -90,17 +90,16 @@ lup005@ubuntu20:~$ umount ~/IRODS
...
@@ -90,17 +90,16 @@ lup005@ubuntu20:~$ umount ~/IRODS
#### iCommand
#### iCommand
-
this is only linux client, basic knowledge of command line is neccessary
-
this is linux client only, basic knowledge of command line is neccessary
-
we tested it on centos7 a ubuntu20
-
we tested it on centos7
-
for ubuntu20 - there is
[
http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client
][
j
]
```
console
```
console
wget https://packages.irods.org/irods-signing-key.asc
wget https://packages.irods.org/irods-signing-key.asc
wget -qO - https://packages.irods.org/renci-irods.yum.repo | sudo tee /etc/yum.repos.d/renci-irods.yum.repo
wget -qO - https://packages.irods.org/renci-irods.yum.repo | sudo tee /etc/yum.repos.d/renci-irods.yum.repo
sudo yum install epel-release -y
sudo yum install epel-release -y
sudo yum install irods-icommands
-4.2.11-1.x86_64 -y
sudo yum install irods-icommands
mkdir ~/.irods/
mkdir ~/.irods/
wget https://github.com/Cotagge/irods_addons_rpms/raw/main/irods-auth-plugin-openid-2.2.1-1.x86_64.rpm
sudo yum install irods-auth-plugin-openid-2.2.1-1.x86_64.rpm
```
```
Copy&paste + edit irods_user_name
Copy&paste + edit irods_user_name
...
@@ -112,8 +111,7 @@ Copy&paste + edit irods_user_name
...
@@ -112,8 +111,7 @@ Copy&paste + edit irods_user_name
"irods_port": 1247,
"irods_port": 1247,
"irods_zone_name": "IT4I",
"irods_zone_name": "IT4I",
"irods_user_name": "b2access_username",
"irods_user_name": "b2access_username",
"irods_authentication_scheme": "openid",
"irods_authentication_scheme": "PAM",
"openid_provider": "keycloak_openid",
"irods_ssl_verify_server": "cert"
"irods_ssl_verify_server": "cert"
}
}
```
```
...
@@ -128,7 +126,7 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
...
@@ -128,7 +126,7 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
-rw-r--r--. 1 root root 253 Sep 29 08:14 irods_environment.json
-rw-r--r--. 1 root root 253 Sep 29 08:14 irods_environment.json
```
```
###
How to Start:
**
How to Start:
**
**step 1:**
**step 1:**
...
@@ -138,21 +136,22 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
...
@@ -138,21 +136,22 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
**step 2:**
**step 2:**
Copy the link (second one) which you got from the terminal to the browser or just ctrl+left_mousebutton
```
console
[root@irods-client .irods]#
iinit
example:
Enter your current PAM password:
[root@irods-client .irods]#
ils
```
/IT4I/home/dvo0012:
https://authserver...:8443/auth/realms/IT4i_AAI/protocol/openid-connect/auth?nonce=1cc259e35a0043fb871abb79185d6d838d2b99060baa5bf635515181df9c942b&state=701842d9867655918ca165f6d7635a155723afb4d37afff0cf550e77114bc519&redirect_uri=https://irods-api.it4i.cz:8443/authcallback&client_id=IT4I_IRODS_AUTH&&scope=openid&response_type=code&access_type=offline&prompt=login%20consent
file.jpg
file2.png
file3.test
file4.txt
file5.xlsx
```
```
Click the
`Log in with B2ACCESS`
authorization and continue authentication flow.
For more commands, use the
`ihelp`
command.
You have to see this output
`Successfully authenticated user. The browser tab can be safely closed.`
in the browser.
Current problem: after validating the authorization token, it becomes passed and any new command, such as
`ils`
creates new authorization at keycloak.
[
1
]:
irods.cyberduckprofile
[
1
]:
irods.cyberduckprofile
[
b
]:
http://www.diceproject.eu/
[
b
]:
http://www.diceproject.eu/
[
c
]:
https://irods.org/
[
c
]:
https://irods.org/
[
d
]:
https://b2access.eudat.eu/
[
d
]:
https://b2access.eudat.eu/
...
@@ -160,3 +159,4 @@ Current problem: after validating the authorization token, it becomes passed and
...
@@ -160,3 +159,4 @@ Current problem: after validating the authorization token, it becomes passed and
[
g
]:
https://ds.myaccessid.org/
[
g
]:
https://ds.myaccessid.org/
[
h
]:
https://www.eudat.eu/contact-support-request?Service=B2SAFE
[
h
]:
https://www.eudat.eu/contact-support-request?Service=B2SAFE
[
i
]:
https://cyberduck.io/download/
[
i
]:
https://cyberduck.io/download/
[
j
]:
http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment