on master help sign in
Merge pull request #1974 from urbit/i/1970/setcap-fix

Fix setcap command everywhere

commita8aacc571bf629790d9caea460d9cb4f8d328824 authorZach Alberico <zach@tlon.io> dateWed 18 Jan 2023, 11:50 (4 years ago) parent4e2b805db2fe12
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.