--- title: Authenticate to Cockpit from anywhere subtitle: author: Martin Pitt <> email: mpitt@redhat.com date: DevConv.CZ 2020 theme: Singapore header-includes: - \usepackage{wasysym}\usepackage{pgfpages}\setbeameroption{show notes} - \newcommand{\fullsizeimg}[1]{\makebox[\linewidth]{\includegraphics[width=\paperwidth]{#1}}} ... # Cockpit what? - Interactive Server admin web interface - Easy setup and troubleshooting for one or a few machines - Included in all major distros \note[item]{Conceptually: Linux session running in a web browser; technically very similar to ssh/VT/GNOME login} \note[item]{Aimed at admins who are new to Linux, e. g. coming from the Windows world and familiar with the concepts, but not Linux terminology} \note[item]{but also to experienced ones for infrequent tasks; not just setup, but also investigating “what is wrong with this machine”} # Extending LVM ```sh pvcreate /dev/sdb2 vgextend vg0 /dev/sdb2 lvresize --extents '+100%FREE' vg0/data1 resize2fs /dev/vg0/data1 ``` \note[item]{for example, adding a new PV to an LV and resizing the file system you can spend some time coming up with these commands} \note[item]{lots of possibilities for screwing up} \note[item]{you can do it simply and safely with Cockpit like this → go to local browser} \note[item]{Storage page, vg0 in Devices (top right), + in Physical Volumes, add sdb2} \note[item]{expand data1 table line, click grow} # Contact - `#cockpit` on Freenode - https://cockpit-project.org \note[item]{Home page leads to mailing lists, documentation} \note[item]{thanks for your attention; Q+A}