index.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="shortcut icon" href="../img/favicon.ico">
  9. <title>Installation des programmes de base - Les Tutoriels du Yojik</title>
  10. <link rel="stylesheet" href="../css/theme.css" />
  11. <link rel="stylesheet" href="../css/theme_extra.css" />
  12. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" />
  13. <script>
  14. // Current page data
  15. var mkdocs_page_name = "Installation des programmes de base";
  16. var mkdocs_page_input_path = "Programmes-de-base.md";
  17. var mkdocs_page_url = null;
  18. </script>
  19. <script src="../js/jquery-2.1.1.min.js" defer></script>
  20. <script src="../js/modernizr-2.8.3.min.js" defer></script>
  21. <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
  22. <script>hljs.initHighlightingOnLoad();</script>
  23. </head>
  24. <body class="wy-body-for-nav" role="document">
  25. <div class="wy-grid-for-nav">
  26. <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
  27. <div class="wy-side-scroll">
  28. <div class="wy-side-nav-search">
  29. <a href=".." class="icon icon-home"> Les Tutoriels du Yojik</a>
  30. <div role="search">
  31. <form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
  32. <input type="text" name="q" placeholder="Search docs" title="Type search term here" />
  33. </form>
  34. </div>
  35. </div>
  36. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  37. <p class="caption"><span class="caption-text">Installation d'un VPS</span></p>
  38. <ul class="current">
  39. <li class="toctree-l1"><a class="reference internal" href="..">Résumé</a>
  40. </li>
  41. <li class="toctree-l1"><a class="reference internal" href="../Pr%C3%A9sentation/">Présentation</a>
  42. </li>
  43. <li class="toctree-l1"><a class="reference internal" href="../Commande-vps/">Commande du VPS</a>
  44. </li>
  45. <li class="toctree-l1"><a class="reference internal" href="../Premi%C3%A8re-connexion/">Première connexion</a>
  46. </li>
  47. <li class="toctree-l1 current"><a class="reference internal current" href="./">Installation des programmes de base</a>
  48. <ul class="current">
  49. </ul>
  50. </li>
  51. <li class="toctree-l1"><a class="reference internal" href="../Premi%C3%A8re-configuration/">Première configuration</a>
  52. </li>
  53. <li class="toctree-l1"><a class="reference internal" href="../S%C3%A9curisation-ssh/">Sécurisation ssh</a>
  54. </li>
  55. </ul>
  56. </div>
  57. </div>
  58. </nav>
  59. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  60. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  61. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  62. <a href="..">Les Tutoriels du Yojik</a>
  63. </nav>
  64. <div class="wy-nav-content">
  65. <div class="rst-content">
  66. <div role="navigation" aria-label="breadcrumbs navigation">
  67. <ul class="wy-breadcrumbs">
  68. <li><a href="..">Docs</a> &raquo;</li>
  69. <li>Installation d'un VPS &raquo;</li>
  70. <li>Installation des programmes de base</li>
  71. <li class="wy-breadcrumbs-aside">
  72. </li>
  73. </ul>
  74. <hr/>
  75. </div>
  76. <div role="main">
  77. <div class="section">
  78. <h1 id="installation-des-programmes-de-base">Installation des programmes de base</h1>
  79. <p>Un fois logué sur votre VPS, procédons à l'installation de nos 2 premiers programmes.</p>
  80. <ul>
  81. <li>
  82. <p>mise à jour des listes de paquets;</p>
  83. <pre><code>debian@vps-0c47118c:~$ sudo apt update &amp;&amp; sudo apt upgrade
  84. ...
  85. Running hooks in /etc/ca-certificates/update.d...
  86. done.
  87. debian@vps-0c47118c:~$
  88. </code></pre>
  89. <p>Je vois que le noyau a été mis à jour, je vais donc redémarrer mon vps.</p>
  90. <pre><code>debian@vps-0c47118c:~$ sudo systemctl reboot
  91. debian@vps-0c47118c:~$ Connection to ns1.yojik.eu closed by remote host.
  92. Connection to ns1.yojik.eu closed.
  93. eric@aldebaran:~$
  94. </code></pre>
  95. </li>
  96. <li>
  97. <p>installation de <strong>vim</strong> et <strong>mc</strong>. </p>
  98. <p>Nous nous re-connectons au vps, et poursuivons nos installations.</p>
  99. <pre><code>eric@aldebaran:~$ ssh ns1
  100. Linux vps-0c47118c 4.19.0-14-cloud-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64
  101. ...
  102. Last login: Tue Mar 9 07:46:49 2021 from 82.65.37.204
  103. debian@vps-0c47118c:~$ sudo apt install mc vim
  104. Reading package lists... Done
  105. Building dependency tree
  106. ...
  107. debian@vps-0c47118c:~$
  108. </code></pre>
  109. <p>Voilà nos programmes installés.</p>
  110. </li>
  111. </ul>
  112. </div>
  113. </div>
  114. <footer>
  115. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  116. <a href="../Premi%C3%A8re-configuration/" class="btn btn-neutral float-right" title="Première configuration">Next <span class="icon icon-circle-arrow-right"></span></a>
  117. <a href="../Premi%C3%A8re-connexion/" class="btn btn-neutral" title="Première connexion"><span class="icon icon-circle-arrow-left"></span> Previous</a>
  118. </div>
  119. <hr/>
  120. <div role="contentinfo">
  121. <!-- Copyright etc -->
  122. </div>
  123. Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  124. </footer>
  125. </div>
  126. </div>
  127. </section>
  128. </div>
  129. <div class="rst-versions" role="note" aria-label="versions">
  130. <span class="rst-current-version" data-toggle="rst-current-version">
  131. <span><a href="../Premi%C3%A8re-connexion/" style="color: #fcfcfc;">&laquo; Previous</a></span>
  132. <span style="margin-left: 15px"><a href="../Premi%C3%A8re-configuration/" style="color: #fcfcfc">Next &raquo;</a></span>
  133. </span>
  134. </div>
  135. <script>var base_url = '..';</script>
  136. <script src="../js/theme.js" defer></script>
  137. <script src="../search/main.js" defer></script>
  138. <script defer>
  139. window.onload = function () {
  140. SphinxRtdTheme.Navigation.enable(true);
  141. };
  142. </script>
  143. </body>
  144. </html>