.. _LAN Remote Linux Commands: Remote Linux Commands ===================== .. |image1| replace:: image 1 .. _image1: ../../../_static/screenshots/el/local_network-remote_linux_commands.png .. |image2| replace:: image 2 .. _image2: ../../../_static/screenshots/el/local_network-remote_linux_cmd_input.png .. |image3| replace:: image 3 .. _image3: ../../../_static/screenshots/el/local_network-overview.png .. |image4| replace:: image 4 .. _image4: ../../../_static/screenshots/el/local_network-remote_linux_packages.png In Linux installations, we can install a software package, execute any arbitrary command, or even upgrade distribution on all client PCs. We do the following: * We start LServerAdmin application as an administrator. [c16]_ * We go to menu :menuselection:`LAN` and select a group of PCs or all PCs. * We select :menuselection:`Remote Linux Commands` and then the type of command we want. (|image1|_) Execute Command --------------- * To execute a command to all Linux client PCs we select :menuselection:`Execute command`. (|image1|_) * On the next dialog we type a console command that would be executed on all clients. (|image2|_) * Next we select the client PCs running Linux. (|image3|_) * The screen divides on 2 sections so we can manage our running remote commands (see :ref:`Remote Command Execution Mode`) Install Software ---------------- * To execute a command to all Linux client PCs we select :menuselection:`Install Software`. (|image1|_) * On the next dialog we type any software packages we want to install, divided by space. (|image4|_) * Next we select the client PCs running Linux. (|image3|_) * The screen divides on 2 sections so we can manage our running remote commands (see :ref:`Remote Command Execution Mode`) Distribution Upgrade -------------------- A very usefull feature of LServerAdmin is remote Distribution Upgrade on client PCs. This is something we would want to do on a regular basis. * To upgrade distribution on all Linux client PCs we select :menuselection:`Distribution upgrade`. (|image1|_) * Next we select the client PCs running Linux. (|image3|_) * The screen divides on 2 sections so we can manage our running remote commands (see :ref:`Remote Command Execution Mode`) .. note:: The upgrading process is viewed as a nice progress dialog. However, if we want better handling of the upgrading using a terminal, we can use instead :menuselection:`Execute Command` feature with command : **apt-get update && apt-get dist-upgrade -y** .. change LServerAdmin to provide a menu to select gui or terminal upgrade .. tabularcolumns:: |p{160pt}|p{160pt}|p{160pt} .. list-table:: :header-rows: 0 :widths: 200, 200, 200 :class: center * - .. image:: ../../../_static/screenshots/el/local_network-remote_linux_commands.png :width: 160pt :height: 100pt :alt: Remote Linux Commands :target: ../../../_static/screenshots/el/local_network-remote_linux_commands.png - .. image:: ../../../_static/screenshots/el/local_network-remote_linux_cmd_input.png :width: 160pt :height: 100pt :alt: Command Input :target: ../../../_static/screenshots/el/local_network-remote_linux_cmd_input.png - .. image:: ../../../_static/screenshots/el/local_network-overview.png :width: 160pt :height: 100pt :alt: Network Overview :target: ../../../_static/screenshots/el/local_network-overview.png * - image 1 - Remote Linux Commands - image 2 - Command Input - image 3 - Network Overview .. tabularcolumns:: |p{160pt} .. list-table:: :header-rows: 0 :widths: 200 :class: center * - .. image:: ../../../_static/screenshots/el/local_network-remote_linux_packages.png :width: 160pt :height: 100pt :alt: Software Packages :target: ../../../_static/screenshots/el/local_network-remote_linux_packages.png * - image 4 - Software Packages .. raw:: latex \newpage % hard pagebreak at exactly this position