C2110 UNIX and programming Lesson 3 -1C2110 UNIX and programming Petr Kulhanek kulhanek@chemi.muni.cz National Center for Biomolecular Research, Faculty of Science Masaryk University, Kamenice 5, CZ-62500 Brno Lesson 3 PS / 2020 Distance form of teaching: Rev3 C2110 UNIX and programming Lesson 3 -2- Revision ➢ Kerberos ➢ Documentation (manual pages) ➢ File System ➢ Copying Remote File C2110 UNIX and programming Lesson 3 -3- Workflow PC node02 node03 nodeXX login between cluster nodes without having to re-enter the password with password (your local account) with password (eINFRA for the WOLF cluster) without password for the period of validity of krb5 tickets(the password is entered each time) PC kinit or equivalent (password required once) A) Default state for your personal computers regardless of OS. B) Recommended mode for your personal computers (see homework) regardless of OS. C) WOLF cluster (where PC is a cluster node), personal computer with Linux OS (recommended configuration for serious work), details C2115 PC (pam_krb5) A) B) C) !!! In an environment that uses krb authentication, ssh keys are NOT RECOMMENDED !!! WOLF cluster C2110 UNIX and programming Lesson 3 -4Command Help Manuals sites (or what to do, when I get lost): man lists manual page of given command $ man [section_number] stoker Available sections: ❑ Section 1 user commands ❑ Section 2 system calls ❑ Section 3 library functions ❑ Section 4 special files ❑ Section 5 file formats name of command, function, topic, chapter etc. ❑ Section 6 games ❑ Section 7 conventions and miscellany ❑ Section 8 administration and privileged commands ❑ Section L math library functions ❑ Section N tcl functions C2110 UNIX and programming Lesson 3 -5File System on the WOLF cluster wolf01 /scratch wolf02 /scratch wolf03 /scratch wolf04 /scratch /home ........ Shared content on all nodes of the WOLF cluster. Data are backed up. Backups are available in form of snapshots in the directory /backup//WOLF/wolf.ncbr.muni.cz/home Capacity per user is limited by quota 1.5 GB. Different content on each node. Data on volume /scratch up are not backed up and can be deleted at any time without prior notice. Capacity is not limited by quota per user. C2110 UNIX and programming Lesson 3 -6Remote Access user local session user local session Remote Access (ssh, putty) Remote File Transfer (scp, WinSCP) web server Remote File Transfer (wget) C2110 UNIX and programming Lesson 3 -7Next Subject ➢ Basic Work with Linux C2110 UNIX and programming Lesson 3 -8- Content ➢ Processes • process, multitasking, monitoring • process startup, PATH variable • signály ➢ Communication of Process with Environment • standard input and output, error output, redirection • pipes, commands ➢ Virtualization • what is virtualization, typical use, overview of hypervisors, installation of Ubuntu OS