Skip to content

Commit

Permalink
Update guide_code-server.rst
Browse files Browse the repository at this point in the history
Forgot to actually replace x86 with amd everywhere and also fixed a typo.
  • Loading branch information
Tschoepler authored Dec 2, 2022
1 parent ad32a56 commit 322e301
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source/guide_code-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ Then extract the files in the current folder with ``tar``. Don't forget ``--stri

.. code-block:: console
[isabell@stardust code-server]$ tar -xzf code-server-x.x.x-linux-x86_64.tar.gz --strip-components=1
[isabell@stardust code-server]$ tar -xzf code-server-x.x.x-linux-amd64.tar.gz --strip-components=1
[isabell@stardust code-server]$
You can now delete the archive:

.. code-block:: console
[isabell@stardust code-server]$ rm code-server-x.x.x-linux-x86_64.tar.gz
[isabell@stardust code-server]$ rm code-server-x.x.x-linux-amd64.tar.gz
[isabell@stardust code-server]$
Configuration
Expand Down Expand Up @@ -133,28 +133,28 @@ Switch into code-server's folder we created when installing code-server.
[isabell@stardust code-server]$
Then download the latest release_ for x86_64. Make sure to the ``x.x.x`` with the current version in all following snippets.
Then download the latest release_ for amd64. Make sure to replace the ``x.x.x`` with the current version in all following snippets.

.. code-block:: console
[isabell@stardust code-server]$ wget https://github.com/cdr/code-server/releases/download/x.x.x/code-server-x.x.x-linux-x86_64.tar.gz
[isabell@stardust code-server]$ wget https://github.com/cdr/code-server/releases/download/x.x.x/code-server-x.x.x-linux-amd64.tar.gz
[...]
‘code-server-x.x.x-linux-x86_64.tar.gz’ saved
‘code-server-x.x.x-linux-amd64.tar.gz’ saved
[isabell@stardust code-server]$
Then extract the files in the current folder with ``tar``. Don't forget ``--strip-components=1`` to remove the ``code-server-x.x.x-linux-x86_64`` prefix from the path.
Then extract the files in the current folder with ``tar``. Don't forget ``--strip-components=1`` to remove the ``code-server-x.x.x-linux-amd64`` prefix from the path.

.. code-block:: console
[isabell@stardust code-server]$ tar -xzf code-server-x.x.x-linux-x86_64.tar.gz --strip-components=1
[isabell@stardust code-server]$ tar -xzf code-server-x.x.x-linux-amd64.tar.gz --strip-components=1
[isabell@stardust code-server]$
You can now delete the archive and start code-server again:

.. code-block:: console
[isabell@stardust code-server]$ rm code-server-x.x.x-linux-x86_64.tar.gz
[isabell@stardust code-server]$ rm code-server-x.x.x-linux-amd64.tar.gz
[isabell@stardust code-server]$ supervisorctl start code-server
code-server: started
[isabell@stardust code-server]$
Expand Down

0 comments on commit 322e301

Please sign in to comment.