.. _LServerAdmin - Add Linux Client: LServerAdmin - Add Linux Client =============================== .. _Add Linux OS as new Client PC to LServerAdmin: Add new Client - Linux ---------------------- .. |image1a| replace:: image 1a .. _image1a: ../../../_static/screenshots/local_network-lsa-selectaddlinuxclient.png .. |image1b| replace:: image 1b .. _image1b: ../../../_static/screenshots/local_network-lsa-selectnewlinuxclient.png .. |image1c| replace:: image 1c .. _image1c: ../../../_static/screenshots/local_network-lsa-newlinuxclientinstructions.png .. |image1d| replace:: image 1d .. _image1d: ../../../_static/screenshots/local_network-lsa-newwinclientrootpass.png .. |image1e| replace:: image 1e .. _image1e: ../../../_static/screenshots/local_network-lsa-newwinclientselectipmac.png .. |image1f| replace:: image 1f .. _image1f: ../../../_static/screenshots/local_network-ubuntu-newlinuxclientviewip.png .. |image1g| replace:: image 1g .. _image1g: ../../../_static/screenshots/local_network-lsa-newwinclientinputhostnameip.png .. |image1h| replace:: image 1h .. _image1h: ../../../_static/screenshots/local_network-lsa-newlinuxclientdistupgrade.png .. note:: Following instructions concern adding a new client PC. If client PC has 2 OSs installed and has already been added to LServerAdmin with Windows ssh access, we follow instructions in paragraph :ref:`Add Linux as 2nd OS to existing Client PC to LServerAdmin` After configuring ssh to Linux clients, we are ready to proceed adding them to LServerAdmin. We do the following: * We start LServerAdmin application as an administrator. [c16]_ * We go to menu **LAN / Edit PCs - Groups / Edit PCs / Add PC - OS / Add PC - Linux OS** (|image1a|_) * We select **New PC** (|image1b|_) and then the group it belongs. If no group has been created yet, we can select **No Group**. We can always move the client to a group afterwards. * Before proceeding, we make sure ssh is configured (|image1c|_ - see :ref:`Configure ssh server - Linux`) * We wait until required files are fetched. * We enter password for **root user**, that has administrative rights to Linux OS. (|image1d|_) We have specified a password to **root user** during installation (Debian) or after (see :ref:`Activate root account - Ubuntu only`) * Next we are shown a screen with client PCs that were detected on the local network. We choose the PC we want to add, based on the ip address, or network card mac address (|image1e|_). .. note:: To check ip and mac address, we login to client, start a terminal and execute **/sbin/ifconfig** (|image1f|_). * We are asked to select a **hostname** and an **ip address** for the client PC (|image1g|_). We usually select consecutive ips (e.g. *192.168.10.51* for *pc1*, *192.168.10.52* for *pc2* etc..). * We have an option to upgrade distribution of client PC. (|image1h|_) To save time we can skip this procedure. We can always do it later, from **LAN / All Client PCs/ Remote Execution - Linux / Upgrade Distribution**. * Client networking is restarted to get the new ip (e.g. from 192.168.10.110 to 192.168.10.51). * Finally client PC is renamed to the **hostname**, we selected above and OS is restarted. Adding new client PC is finished! We can now manage the client remotely to do various tasks (see :ref:`Adding Client PCs - Introduction`). We continue adding all client PCs one by one. .. tabularcolumns:: |p{160pt}|p{160pt}|p{160pt}| .. list-table:: :header-rows: 0 :widths: 200, 200, 200 :class: center * - .. image:: ../../../_static/screenshots/local_network-lsa-selectaddlinuxclient.png :width: 160pt :height: 100pt :alt: Add Linux Client :target: ../../../_static/screenshots/local_network-lsa-selectaddlinuxclient.png - .. image:: ../../../_static/screenshots/local_network-lsa-selectnewlinuxclient.png :width: 160pt :height: 100pt :alt: New Linux Client :target: ../../../_static/screenshots/local_network-lsa-selectnewlinuxclient.png - .. image:: ../../../_static/screenshots/local_network-lsa-newlinuxclientinstructions.png :width: 160pt :height: 100pt :alt: New Linux Client Instructions :target: ../../../_static/screenshots/local_network-lsa-newlinuxclientinstructions.png * - image 1a - image 1b - image 1c .. tabularcolumns:: |p{160pt}|p{160pt}|p{160pt}| .. list-table:: :header-rows: 0 :widths: 200, 200, 200 :class: center * - .. image:: ../../../_static/screenshots/local_network-lsa-newwinclientrootpass.png :width: 160pt :height: 100pt :alt: Enter Client PC root password :target: ../../../_static/screenshots/local_network-lsa-newwinclientrootpass.png - .. image:: ../../../_static/screenshots/local_network-lsa-newwinclientselectipmac.png :width: 160pt :height: 100pt :alt: Select New Client from ip, mac :target: ../../../_static/screenshots/local_network-lsa-newwinclientselectipmac.png - .. image:: ../../../_static/screenshots/local_network-ubuntu-newlinuxclientviewip.png :width: 160pt :height: 80px :alt: Linux - View ip :target: ../../../_static/screenshots/local_network-ubuntu-newlinuxclientviewip.png * - image 1d - image 1e - image 1f .. tabularcolumns:: |p{160pt}|p{160pt}| .. list-table:: :header-rows: 0 :widths: 200, 200 :class: center * - .. image:: ../../../_static/screenshots/local_network-lsa-newwinclientinputhostnameip.png :width: 160pt :height: 100pt :alt: Input new client hostname, mac :target: ../../../_static/screenshots/local_network-lsa-newwinclientinputhostnameip.png - .. image:: ../../../_static/screenshots/local_network-lsa-newlinuxclientdistupgrade.png :width: 160pt :height: 100pt :alt: Linux Client - distribution upgrade :target: ../../../_static/screenshots/local_network-lsa-newlinuxclientdistupgrade.png * - image 1g - image 1h .. _Add Linux as 2nd OS to existing Client PC to LServerAdmin: Add 2nd OS (Linux) to existing Client ------------------------------------- .. |image2a| replace:: image 2a .. _image2a: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinux.png .. |image2b| replace:: image 2b .. _image2b: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinuxfromlist.png .. note:: Following instructions concern adding access to a 2nd OS to an existing client PC, that we have already added Windows access to LServerAdmin. If we want to add a new client PC with Linux OS, we follow instructions in paragraph :ref:`Add Linux OS as new Client PC to LServerAdmin` Suppose we have dual boot PCs running Windows and Linux, and we have already added the client PC to LServerAdmin from Windows OS. We now want to add a 2nd OS (Linux) to the existing client PC. We should have already configured ssh on Client PC. We do the following: * We start LServerAdmin application as an administrator. [c16]_ * We go to menu **LAN / Edit PCs - Groups / Edit PCs / Add PC - OS / Add PC - Linux OS** (|image2a|_) * We select **Existing Clients List** (|image2a|_) and then the client we already have added in our administration. (|image2b|_) From this point and on, we proceed with a similar way as in :ref:`Add Linux OS as new Client PC to LServerAdmin`. The only difference is that we don't have to supply a hostname and an ip, since we have already specified one when we added the client from Windows OS. .. tabularcolumns:: |p{160pt}|p{160pt}| .. list-table:: :header-rows: 0 :widths: 200, 200 :class: center * - .. image:: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinux.png :width: 160pt :height: 100pt :alt: Select existing client for 2nd OS - Linux :target: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinux.png - .. image:: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinuxfromlist.png :width: 160pt :height: 100pt :alt: Select existing client from list :target: ../../../_static/screenshots/local_network-lsa-selectexistingclientforlinuxfromlist.png * - image 2a - image 2b .. raw:: latex \newpage % hard pagebreak at exactly this position