|
1 |
| -Coder publishes the following system packages [in GitHub releases](https://github.com/coder/coder/releases): |
| 1 | +1. Download and install one of the following system packages from [GitHub releases](https://github.com/coder/coder/releases): |
2 | 2 |
|
3 |
| -- .deb (Debian, Ubuntu) |
4 |
| -- .rpm (Fedora, CentOS, RHEL, SUSE) |
5 |
| -- .apk (Alpine) |
| 3 | + - .deb (Debian, Ubuntu) |
| 4 | + - .rpm (Fedora, CentOS, RHEL, SUSE) |
| 5 | + - .apk (Alpine) |
6 | 6 |
|
7 |
| -Once installed, you can run Coder as a system service. |
| 7 | +1. Run Coder as a system service. |
8 | 8 |
|
9 |
| -```sh |
10 |
| -# Set up an access URL or enable CODER_TUNNEL |
11 |
| -sudo vim /etc/coder.d/coder.env |
| 9 | + ```sh |
| 10 | + # Set up an access URL or enable CODER_TUNNEL |
| 11 | + sudo vim /etc/coder.d/coder.env |
12 | 12 |
|
13 |
| -# To systemd to start Coder now and on reboot |
14 |
| -sudo systemctl enable --now coder |
| 13 | + # To systemd to start Coder now and on reboot |
| 14 | + sudo systemctl enable --now coder |
15 | 15 |
|
16 |
| -# View the logs to see Coder's URL and ensure a successful start |
17 |
| -journalctl -u coder.service -b |
18 |
| -``` |
| 16 | + # View the logs to see Coder's URL and ensure a successful start |
| 17 | + journalctl -u coder.service -b |
| 18 | + ``` |
19 | 19 |
|
20 |
| -> Set `CODER_ACCESS_URL` to the external URL that users and workspaces will use to |
21 |
| -> connect to Coder. This is not required if you are using the tunnel. Learn more |
22 |
| -> about Coder's [configuration options](../admin/configure.md). |
| 20 | + > Set `CODER_ACCESS_URL` to the external URL that users and workspaces will use to |
| 21 | + > connect to Coder. This is not required if you are using the tunnel. Learn more |
| 22 | + > about Coder's [configuration options](../admin/configure.md). |
23 | 23 |
|
24 |
| -Visit the Coder URL in the logs to set up your first account, or use the CLI: |
| 24 | +1. Visit the Coder URL in the logs to set up your first account, or use the CLI: |
25 | 25 |
|
26 |
| -```sh |
27 |
| -coder login <access-url> |
28 |
| -``` |
| 26 | + ```sh |
| 27 | + coder login <access-url> |
| 28 | + ``` |
29 | 29 |
|
30 | 30 | ## Restarting Coder
|
31 | 31 |
|
|
0 commit comments