on master help sign in
Fix setcap command everywhere

Fixes: #1970 The previous commit only made this fix in the upgrade section. This commit moves the setcap instructions to the proper place and changes the command from being run on the binary to .run.

commitdb2fe1291bc64cff606a10416438e8f064dd3d43 authorZach Alberico <zach@tlon.io> dateWed 18 Jan 2023, 11:32 (4 years ago) parent4e2b805
1 file changed+16−16
content/getting-started/cli.md+16−16
content/getting-started/cli.md+16−16
@@ -47,14 +47,6 @@ it, and runs the binary with no arguments to show you the help output:
4747curl -L https://urbit.org/install/linux-x86_64/latest | tar xzk --transform='s/.*/urbit/g' && ./urbit
4848```
4949
50−> Linux users need to run this command in another terminal window to access
51−> your urbit on port 80, otherwise it'll default to port 8080:
52−>
53−> ```shell
54−> sudo apt-get install libcap2-bin
55−> sudo setcap 'cap_net_bind_service=+ep' ./urbit
56−> ```
57−
5850{% /tab %}
5951
6052{% tab label="Linux AArch64" %}
@@ -63,14 +55,6 @@ curl -L https://urbit.org/install/linux-x86_64/latest | tar xzk --transform='s/.
6355curl -L https://urbit.org/install/linux-aarch64/latest | tar xzk --transform='s/.*/urbit/g' && ./urbit
6456```
6557
66−> Linux users need to run this command in another terminal window to access
67−> your urbit on port 80, otherwise it'll default to port 8080:
68−>
69−> ```shell
70−> sudo apt-get install libcap2-bin
71−> sudo setcap 'cap_net_bind_service=+ep' ./urbit
72−> ```
73−
7458{% /tab %}
7559
7660{% tab label="macOS x86_64" %}
@@ -151,6 +135,14 @@ folder, so you can start it up again by doing:
151135```bash
152136./mycomet/.run
153137```
138+> Linux users need to run this command in another terminal window to access
139+> your urbit on port 80 every time you upgrade your runtime (otherwise it'll
140+> default to port 8080):
141+>
142+> ```shell
143+> sudo apt-get install libcap2-bin
144+> sudo setcap 'cap_net_bind_service=+ep' <pier>/.run
145+> ```
154146
155147Since comets are often used temporarily and then discarded, kernel updates are
156148not enabled by default. If you plan to use your comet for a while, it's a good
@@ -210,6 +202,14 @@ folder, so you can start it up again by doing:
210202```bash
211203./sampel-palnet/.run
212204```
205+> Linux users need to run this command in another terminal window to access
206+> your urbit on port 80 every time you upgrade your runtime (otherwise it'll
207+> default to port 8080):
208+>
209+> ```shell
210+> sudo apt-get install libcap2-bin
211+> sudo setcap 'cap_net_bind_service=+ep' <pier>/.run
212+> ```
213213
214214Most people use their urbit via Landscape, the browser-based UI.
215215In order to access Landscape, you need your web login code.