on master help sign in
fix windows command, update server.md & misc tweaks
commitcf8a18e5ecab969827cc19ebd225f8db52edc5de authorTinnus Napbus <admin@tinnus-napbus.xyz> dateThu 23 Jun 2022, 17:34 (4 years ago) parent5b8d232
2 files changed+14−23
content/getting-started/cli.md+2−2 content/getting-started/server.md+12−21
content/getting-started/cli.md+2−2
@@ -99,10 +99,10 @@ When your comet is finished booting, you will see `~sampel_marzod:dojo>` (Dojo:
9999
100100To exit Urbit, use `Ctrl-D` or enter `|exit` into Dojo.
101101
102−To start your comet up again, run the following (note the lack of `-c` argument):
102+To start your comet up again, run the following command:
103103
104104```sh
105−./urbit mycomet
105+./mycomet/.run
106106```
107107
108108### Using the web interface
content/getting-started/server.md+12−21
@@ -72,11 +72,7 @@ Download Urbit with the following commands:
7272{% tab label="MacOS" %}
7373
7474```bash
75−mkdir ~/urbit
76−cd ~/urbit
77−curl -JLO https://urbit.org/install/mac/latest
78−tar zxvf ./darwin.tgz --strip=1
79−~/urbit/urbit
75+curl -L https://urbit.org/install/mac/latest | tar xzk --strip=1 && ./urbit
8076```
8177
8278{% /tab %}
@@ -84,30 +80,22 @@ tar zxvf ./darwin.tgz --strip=1
8480{% tab label="Linux" %}
8581
8682```shell
87−mkdir ~/urbit
88−cd ~/urbit
89−wget --content-disposition https://urbit.org/install/linux64/latest
90−tar zxvf ./linux64.tgz --strip=1
91−~/urbit/urbit
83+curl -L https://urbit.org/install/linux64/latest | tar xzk --strip=1 && ./urbit
9284```
9385
9486Linux users may need to run this command in another terminal window to access your Urbit on port 80:
9587
9688```shell
9789sudo apt-get install libcap2-bin
98−sudo setcap 'cap_net_bind_service=+ep' ~/urbit/urbit
90+sudo setcap 'cap_net_bind_service=+ep' ./urbit
9991```
10092
10193{% /tab %}
10294
10395{% tab label="Windows" %}
10496
105−```winbatch
106−mkdir %USERPROFILE%\urbit
107−cd %USERPROFILE%\urbit
108−curl -JLO https://urbit.org/install/windows/latest
109−tar zxvf .\windows.tgz --strip=1
110−%USERPROFILE%\urbit\urbit
97+```shell
98+curl.exe -L https://urbit.org/install/windows/latest | tar xzk --strip=1 && ./urbit
11199```
112100
113101> Windows 10 build 17063 and later includes the familiar `curl` and `tar` command-line tools.
@@ -116,12 +104,12 @@ tar zxvf .\windows.tgz --strip=1
116104
117105{% /tabs %}
118106
119−Next, transfer `your-keyfile.key` to your server using scp or an FTP client, then move it to the `~/urbit` directory you created in the last step.
107+Next, transfer `your-keyfile.key` to your server using scp or an FTP client.
120108
121109Now you can run Urbit for the first time. Run the below command, replacing ames_port with a public port number between 49152 to 65535, sampel-palnet with the name of your planet, and sampel-palnet.key with the name of your keyfile.
122110
123111```sh
124−./urbit -p ames_port -w sampel-palnet -k ./sampel-palnet.key
112+./urbit -p ames_port -w sampel-palnet -k sampel-palnet.key
125113```
126114
127115Arvo, the Urbit OS, now creates a directory called `sampel-palnet/` and begins booting your planet and establishing connections with the P2P network. When that's finished, you'll see Dojo, the Urbit command line:
@@ -138,14 +126,17 @@ Check out the [cloud hosting guide](/using/running/hosting) for tips on improvin
138126
139127Shut down your planet by typing Ctrl+D into Dojo.
140128
141−To boot your planet up again, run the following command, once again replacing `ames_port` with the port you used previously, and now referencing your planet's folder.
129+The `urbit` binary will have automatically "docked" with your pier, copying
130+itself inside so a separate binary isn't necessary. To boot your planet up
131+again, run `./sampel-palnet/.run -p ames_port`, once again replacing
132+`ames_port` with the port you used previously.
142133
143134Your planet's folder, `sampel-palnet/`, is called your pier, and it holds all your data. If you want to migrate your data from one system to another, you must bring your pier.
144135
145136You should also delete your keyfile from your remote system to prevent yourself from using the same key twice, which will cause communication problems with other planets.
146137
147138```sh
148−rm ./your-keyfile.key
139+rm your-keyfile.key
149140```
150141
151142### 5. Log in