Infinity Personal: Difference between revisions

From Infinity Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Documentation]] / [[Activation, Deactivation, and Installation]] / [[Infinity Personal]] __NOEDITSECTION__
[[Documentation]] / [[Activation, Deactivation, and Installation]] / [[Infinity Personal]] __NOEDITSECTION__
----
----
Infinity Personal is a set of tools allowing you to install the Infinity system on your computer, either PC or laptop. The currently supported operating systems are:
<div style="float: right; margin: 5px 0px 5px 5px;">__TOC__</div>
* Ubuntu 22.04 LTS
Infinity Personal is a set of tools allowing you to install the Infinity system on your computer, either PC or laptop. The software modules are downloaded on your computer and can be used offline. In addition, you can monitor and submit computational jobs to supported clusters if you are online. Note: your local account should have the same name as in e-Infra space for reasonable work.
The software modules are downloaded on your computer and can be used offline. In addition, you can monitor and submit computational jobs to supported clusters if you are online. Your local account must have the same name as in e-Infra space for reasonable operation.  


=1. Register=
The currently supported operating systems are:
* Ubuntu 22.04 LTS
 
=Register=


First, you must join the Infinity Personal group. Once the application is approved by the administrator, you can continue.  
First, you must join the Infinity Personal group. Once the application is approved by the administrator, you can continue.  
Line 11: Line 13:
<span class="plainlinks">[https://perun.cesnet.cz/allfed/registrar/?vo=VO_muni_ncbr&group=srv:lcc-infinity-personal&locale=en <span class="mw-ui-button mw-ui-constructive mw-ui-small">Register into Infinity Personal group</span>]</span>
<span class="plainlinks">[https://perun.cesnet.cz/allfed/registrar/?vo=VO_muni_ncbr&group=srv:lcc-infinity-personal&locale=en <span class="mw-ui-button mw-ui-constructive mw-ui-small">Register into Infinity Personal group</span>]</span>


=2. Install Infinity Personal=
=Install Infinity Personal=


The core of Infinity Personal is installed using system packages. You have to activate the NCBR package repository for a given version of OS and then install the specified package.
The core of Infinity Personal is installed by using system packages. You have to activate the NCBR package repository for a given version of OS and then install the package.


1) Activate the NCBR public package repository:
1) Activate the NCBR public package repository:
Line 27: Line 29:
  $ sudo apt-get install ncbr-ams-core-9.0-personal
  $ sudo apt-get install ncbr-ams-core-9.0-personal


=3. Configure Infinity Personal=
=Configure Infinity Personal=


2) Instalace balicku ncbr-ams-core-8.0-personal
At this stage, you will configure Infinity Personal using the ams-personal command, which can be used only by a user in the sudo group. You will generate SSH keys to access the Infinity Personal repository, update the shell environment, and set up your user account to grant access to the local Infinity Personal repository. Each step requires you to re-login your computer.


$ sudo apt-get update
==Basic Setup==
$ sudo apt-get install ncbr-ams-core-8.0-personal ncbr-env-infinity-8.0-personal


Odhlaseni + nove prihlaseni
$ ams-personal envinit
-> logout/login
$ ams-personal useradd
-> logout/login 
$ ams-personal gensshkeys


3) vytvoreni ssh klicu pro Infinity ucet
Confirm that you want to create the new key. The key is composed of the type, key, and user ID.


$ ams-personal  gensshkeys
==Register SSH Key==


4) registrace ssh klice do vaseho e-infra uctu v perunu
Put all the ssh key content into your e-Infra identity in the Perun system. 


https://perun.cesnet.cz/fed/gui
https://perun.cesnet.cz/fed/gui


Leva zalozka "User" -> Zvolit uzivatele -> Horni zalozka
a) Left tab "User" -> Select identity -> Top tab "Authentication" -> Kerberos & SSH keys
"Authentication" -> Kerberos & SSH keys, vytvorit novy (plusko) v
b) Create a new key in the section "Public ssh Key:" (a green button with a plus sign)
casti "Public ssh Key:", a vlozit ssh klic z bodu 3
c) Insert the key
Nezapomenout ulozit! Tlacitko "Save" pod "Kerberos & SSH keys"
d) Press the "Save" button.
 
You need to wait up to 1 hour to complete the propagation.
 
==Install Core Software Modules==
 
$ ams-personal coremods
-> logout/login
 
=Install Software Modules=
 
The list of all software modules is provided online at iSoftRepo service:
 
<span class="plainlinks">[https://infinity.ncbr.muni.cz/isoftrepo/fcgi-bin/isoftrepo.fcgi <span class="mw-ui-button mw-ui-constructive mw-ui-small">iSoftRepo</span>]</span>
 
The modules can be installed by the ams-personal command. For example, you can install the VMD module by:
 
$ ams-personal install vmd
 
See ams-personal -h for other options.
 
=Additional Computer Tweaks=
The packages described below are authoritative. Once the setup is changed, it is difficult to undo it!
 
==Kerberos==
Install the '''ncbr-krb5-einfra''' package for general Kerberos support in the META and EINFRA realms. This provides the '''kinit''' and '''klist''' commands. To employ the ssh command Kerberos tickets, install the '''ncbr-ssh-client-config''' package. If you have a local account with the same '''*name*''' and '''*password*''' as in e-Infra space, you can benefit from the '''ncbr-personal-authc-einfra''' package. You will get a Kerberos ticket if online during the local authentication. In offline mode, your identity will be validated locally.


5) podani prihlasky k pristupu k Infinity repozitari
{| class="wikitable"
! Package
! Purpose
|-
| ncbr-krb5-einfra
| general support for Kerberos (META realm)
|-
| ncbr-ssh-client-config
| configure ssh client to employ Kerberos
|-
| ncbr-personal-authc-einfra
| install and configure pam_krb5
|}


https://perun.cesnet.cz/allfed/registrar/?vo=VO_muni_ceitec&group=Services:Infinity+Personal+Site&locale=en
$ sudo apt-get install ncbr-krb5-einfra
$ sudo apt-get install ncbr-ssh-client-config
$ sudo apt-get install ncbr-personal-authc-einfra


pri vyplnovani nezadejte o prodlouzeni clenstvi ve VO
==MetaCentrum Storages==


po schvaleni budete muset chvilku pockat, nez se klic prenese na
{| class="wikitable"
repozitar infinity
! Package
! Purpose
|-
| ncbr-metanfs4-krb5i-metastorage
| MetaCentrum storages
|-
| ncbr-metanfs4-keytab
| generate nfs keytab
|}


6) instalace zakladnich buildu
===Install Packages===


$ ams-personal addcorebuilds
$ sudo apt-get install ncbr-metanfs4-krb5i-metastorage
$ sudo apt-get install ncbr-metanfs4-keytab


7) instalace vlastnich buildu nebo balicku, napr.:
===Generate NFS Keytab===
You must be in the sudo group to generate the NFS keytab. First, get the valid Kerberos tickets and then generate the keytab.


$ ams-personal addmodule vmd
$ kinit
$ gen-metanfs4-keytab


nebo
===Reboot===
You must reboot the computer to start using the storages.


$ ams-personal addbuilds orca:4.0.0:x86_64:para      # akolo 10 GB!!!
==Remote Desktop==


Seznam buildu je dostupny v iSoftrepo:
{| class="wikitable"
https://lcc.ncbr.muni.cz/whitezone/development/infinity/isoftrepo/fcgi-bin/isoftrepo.fcgi
! Package
! Purpose
|-
| ncbr-tigervnc
| native tigervnc server and client
|}

Latest revision as of 15:13, 6 February 2024

Documentation / Activation, Deactivation, and Installation / Infinity Personal


Infinity Personal is a set of tools allowing you to install the Infinity system on your computer, either PC or laptop. The software modules are downloaded on your computer and can be used offline. In addition, you can monitor and submit computational jobs to supported clusters if you are online. Note: your local account should have the same name as in e-Infra space for reasonable work.

The currently supported operating systems are:

  • Ubuntu 22.04 LTS

Register

First, you must join the Infinity Personal group. Once the application is approved by the administrator, you can continue.

Register into Infinity Personal group

Install Infinity Personal

The core of Infinity Personal is installed by using system packages. You have to activate the NCBR package repository for a given version of OS and then install the package.

1) Activate the NCBR public package repository:

https://einfra.ncbr.muni.cz/ > User support > Ubuntu Packages > NCBR PUBLIC (LCC and WOLF mirrors available)

NCBR PUBLIC Repository (WOLF mirror)

Follow Instructions in the section How to activate access to the package repository.

2) Install the core package with AMS:

$ sudo apt-get install ncbr-ams-core-9.0-personal

Configure Infinity Personal

At this stage, you will configure Infinity Personal using the ams-personal command, which can be used only by a user in the sudo group. You will generate SSH keys to access the Infinity Personal repository, update the shell environment, and set up your user account to grant access to the local Infinity Personal repository. Each step requires you to re-login your computer.

Basic Setup

$ ams-personal envinit
-> logout/login
$ ams-personal useradd
-> logout/login  
$ ams-personal gensshkeys

Confirm that you want to create the new key. The key is composed of the type, key, and user ID.

Register SSH Key

Put all the ssh key content into your e-Infra identity in the Perun system.

https://perun.cesnet.cz/fed/gui

a) Left tab "User" -> Select identity -> Top tab "Authentication" -> Kerberos & SSH keys b) Create a new key in the section "Public ssh Key:" (a green button with a plus sign) c) Insert the key d) Press the "Save" button.

You need to wait up to 1 hour to complete the propagation.

Install Core Software Modules

$ ams-personal coremods
-> logout/login

Install Software Modules

The list of all software modules is provided online at iSoftRepo service:

iSoftRepo

The modules can be installed by the ams-personal command. For example, you can install the VMD module by:

$ ams-personal install vmd

See ams-personal -h for other options.

Additional Computer Tweaks

The packages described below are authoritative. Once the setup is changed, it is difficult to undo it!

Kerberos

Install the ncbr-krb5-einfra package for general Kerberos support in the META and EINFRA realms. This provides the kinit and klist commands. To employ the ssh command Kerberos tickets, install the ncbr-ssh-client-config package. If you have a local account with the same *name* and *password* as in e-Infra space, you can benefit from the ncbr-personal-authc-einfra package. You will get a Kerberos ticket if online during the local authentication. In offline mode, your identity will be validated locally.

Package Purpose
ncbr-krb5-einfra general support for Kerberos (META realm)
ncbr-ssh-client-config configure ssh client to employ Kerberos
ncbr-personal-authc-einfra install and configure pam_krb5
$ sudo apt-get install ncbr-krb5-einfra
$ sudo apt-get install ncbr-ssh-client-config
$ sudo apt-get install ncbr-personal-authc-einfra

MetaCentrum Storages

Package Purpose
ncbr-metanfs4-krb5i-metastorage MetaCentrum storages
ncbr-metanfs4-keytab generate nfs keytab

Install Packages

$ sudo apt-get install ncbr-metanfs4-krb5i-metastorage
$ sudo apt-get install ncbr-metanfs4-keytab

Generate NFS Keytab

You must be in the sudo group to generate the NFS keytab. First, get the valid Kerberos tickets and then generate the keytab.

$ kinit
$ gen-metanfs4-keytab

Reboot

You must reboot the computer to start using the storages.

Remote Desktop

Package Purpose
ncbr-tigervnc native tigervnc server and client