ubuntu.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .. _installation-ubuntu:
  2. ======
  3. Ubuntu
  4. ======
  5. .. _installation-ubuntu-repo:
  6. Installation from the Official SaltStack Repository
  7. ===================================================
  8. Packages for Ubuntu 20.04 (Focal), Ubuntu 18.04 (Bionic), and Ubuntu 16
  9. (Xenial) are available in the SaltStack repository.
  10. Instructions are at https://repo.saltstack.com/#ubuntu.
  11. .. note::
  12. Archived builds from unsupported branches:
  13. - `Archive 1 <https://archive.repo.saltstack.com/py3/ubuntu/>`__
  14. - `Archive 2 <https://archive.repo.saltstack.com/apt/ubuntu/>`__
  15. If looking to use archives, the same directions from the `Ubuntu install
  16. directions <https://repo.saltstack.com/#ubuntu>`__ can be used by replacing
  17. the URL paths with the appropriate archive location. The
  18. repository configuration endpoint also needs to be adjusted to point to the
  19. archives. Here is an example ``sed`` command:
  20. .. code-block:: bash
  21. # Salt repo configurations are found in the /etc/apt/sources.list.d/saltstack.list directory
  22. sed -i 's/repo.saltstack.com/archive.repo.saltstack.com/g' /etc/apt/sources.list.d/saltstack.list
  23. .. _ubuntu-install-pkgs:
  24. Install Packages
  25. ================
  26. Install the Salt master, minion or other packages from the repository with
  27. the `apt-get` command. These examples each install one of Salt components, but
  28. more than one package name may be given at a time:
  29. - ``apt-get install salt-api``
  30. - ``apt-get install salt-cloud``
  31. - ``apt-get install salt-master``
  32. - ``apt-get install salt-minion``
  33. - ``apt-get install salt-ssh``
  34. - ``apt-get install salt-syndic``
  35. .. _ubuntu-config:
  36. Post-installation tasks
  37. =======================
  38. Now go to the :ref:`Configuring Salt<configuring-salt>` page.