-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(GITBOOK#147): Installation Refactor for NoPorts Desktop
- Loading branch information
1 parent
34037f4
commit eaecffb
Showing
52 changed files
with
913 additions
and
450 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: activate-cli-client-unix | ||
--- | ||
|
||
{% hint style="warning" %} | ||
If you've activated your **client** atSign on another device already, this step will not work. Instead, follow this guide: [reuse-your-client-atsign-on-another-machine.md](../../installation-faq/reuse-your-client-atsign-on-another-machine.md "mention") | ||
{% endhint %} | ||
|
||
This command activates your atSign and prompts you to enter an OTP. This is only done during the setup of a brand new atsign. | ||
|
||
``` | ||
~/.local/bin/at_activate -a @<REPLACE>_client | ||
``` | ||
|
||
### Enter the One Time Password (OTP) & Check your SPAM/PROMOTIONS folders | ||
|
||
at\_activate will pause and wait for the input of a one time pin (OTP) sent to your email or phone number.\ | ||
\ | ||
Once activated, the master keys will save at `~/.atsign/keys`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: activate-cli-device-unix | ||
--- | ||
|
||
This command activates your atSign and prompts you to enter an OTP. This is only done during the setup of a brand new atsign. | ||
|
||
``` | ||
~/.local/bin/at_activate -a @<REPLACE>_device | ||
``` | ||
|
||
### Enter the One Time Password (OTP) & Check your SPAM/PROMOTIONS folders | ||
|
||
at\_activate will pause and wait for the input of a one time pin (OTP) sent to your email or phone number. | ||
|
||
Once activated, the management keys will be saved in `~/.atsign/keys`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: apkam-1-unix | ||
--- | ||
|
||
Run the following command. It should output a 6-character passcode. | ||
|
||
```bash | ||
~/.local/bin/at_activate otp -a @<REPLACE>_device | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: apkam-2-unix | ||
--- | ||
|
||
<pre class="language-bash"><code class="lang-bash"><strong>~/.local/bin/at_activate enroll -a @<REPLACE>_device \ | ||
</strong><strong> -s <PASSCODE> \ | ||
</strong><strong> -p noports \ | ||
</strong><strong> -k ~/.atsign/keys/@<REPLACE>_device_key.atKeys \ | ||
</strong><strong> -d <DEVICE_NAME> \ | ||
</strong><strong> -n "sshnp:rw,sshrvd:rw" | ||
</strong></code></pre> | ||
|
||
### Once you see this text, you're ready to continue to the next step. | ||
|
||
``` | ||
Submitting enrollment request | ||
Enrollment ID: --------------------- | ||
Waiting for approval; will check every 10 seconds | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: apkam-3-unix | ||
--- | ||
|
||
Run the following command | ||
|
||
```bash | ||
~/.local/bin/at_activate approve -a @<REPLACE>_device \ | ||
--arx noports \ | ||
--drx <DEVICE_NAME> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: client-installation complete | ||
--- | ||
|
||
{% hint style="success" %} | ||
Your client machine software installation is completed. Now, on to the device/server! | ||
{% endhint %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Dart Binary Releases Table | ||
--- | ||
|
||
| Platform | Linux | macOS | Windows | | ||
| -------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | ||
| x64 | [sshnp-linux-x64.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-x64.tgz) | [sshnp-macos-x64.zip](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-x64.zip) (intel) | [sshnp-windows-x64.zip](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-windows-x64.zip) | | ||
| arm64 | [sshnp-linux-arm64.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm64.tgz) | [sshnp-macos-arm64.zip](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-arm64.zip) (apple) | | | ||
| arm | [sshnp-linux-arm.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm.tgz) | | | | ||
| risc-v | [sshnp-linux-riscv.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-riscv.tgz) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Desktop App Release Table | ||
--- | ||
|
||
<table><thead><tr><th>Operating System</th><th>Download Location</th><th data-hidden></th></tr></thead><tbody><tr><td>Windows</td><td><a href="https://apps.microsoft.com/detail/9n69scrrgv6r">Windows Store</a></td><td></td></tr><tr><td>MacOS</td><td><a href="https://apps.apple.com/ca/app/noports-desktop/id6737338881">App Store</a></td><td></td></tr><tr><td>Linux</td><td><a href="https://github.com/atsign-foundation/noports">Build from Source</a></td><td></td></tr></tbody></table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: device-activate-preamble | ||
--- | ||
|
||
{% hint style="info" %} | ||
Even though this atSign is for the device, we recommend activating it from your client. | ||
|
||
More info: [why-activate-the-device-atsign-on-the-client.md](../../installation-faq/why-activate-the-device-atsign-on-the-client.md "mention") | ||
{% endhint %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: device-warning setup client first | ||
--- | ||
|
||
{% hint style="danger" %} | ||
If you don't already have a NoPorts client setup, start there before setting up the device. | ||
{% endhint %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: full-install-overview | ||
--- | ||
|
||
# Overview of the Process | ||
|
||
Before you begin, you may want an overview of the guide. | ||
|
||
<details> | ||
|
||
<summary><- Click the arrow to open the overview</summary> | ||
|
||
**Step 1**: Client machine setup | ||
|
||
* This process will involve installing the client and activation software on the client machine (1.1 & 1.2) | ||
* Then we will activate the management keys on your client machine (1.3 & 1.4) | ||
* The management keys allow you to administer more keys for other devices and should be kept in a safe place | ||
|
||
**Step 2**: Device setup | ||
|
||
* This process looks similar to step one, but will be done on the device | ||
* This step will install the device and activation installer on the device (2.1 & 2.2) | ||
|
||
**Step 3**: Activating the device | ||
|
||
* Since we created the management keys on the client, we will now authorize a set of keys for the device. | ||
* These new keys for the device will be cut on the device and have limited access to improve your device's security | ||
* First we will generate an authorized pass code from the client (3.1) | ||
* We will use that passcode to generate an authorization request on the device (3.2) | ||
* Then we will approve the authorization request from the device (3.3) | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: get-atsigns-from-reg-warning | ||
--- | ||
|
||
{% hint style="danger" %} | ||
If you don't own a pair of atSigns/addresses, please visit [the registrar](https://my.noports.com/no-ports-invite/14dayfreetrial) before continuing | ||
{% endhint %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Installation Complete - visit usage | ||
--- | ||
|
||
{% hint style="success" %} | ||
Installation Complete!\ | ||
\ | ||
You are ready to use No Ports, visit [usage](../../usage/ "mention")! | ||
{% endhint %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Installation legend | ||
--- | ||
|
||
| Legend | Meaning | | ||
| ---------- | ------------------------- | | ||
| :desktop: | Client side | | ||
| :printer: | Device side | | ||
| \<REPLACE> | Fill in with your details | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Linux/MacOS release table | ||
--- | ||
|
||
| Platform | Linux | macOS | | ||
| -------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | ||
| x64 | [sshnp-linux-x64.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-x64.tgz) | [sshnp-macos-x64.zip](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-x64.zip) (intel) | | ||
| arm64 | [sshnp-linux-arm64.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm64.tgz) | [sshnp-macos-arm64.zip](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-arm64.zip) (apple) | | ||
| arm | [sshnp-linux-arm.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm.tgz) | | | ||
| risc-v | [sshnp-linux-riscv.tgz](https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-riscv.tgz) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Mac/Linux full install video | ||
--- | ||
|
||
{% embed url="https://player.vimeo.com/video/1004237823?amp;app_id=58479&autopause=0&badge=0&byline=0&player_id=0&portrait=0&title=0" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: universal.sh download command | ||
--- | ||
|
||
```bash | ||
curl -L https://github.com/atsign-foundation/noports/releases/latest/download/universal.sh -o universal.sh | ||
``` | ||
|
||
To check if the installation downloaded correctly: | ||
|
||
```bash | ||
ls | grep -w "universal.sh" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: universal.sh execute - activate only | ||
--- | ||
|
||
Type in `client` when asked for what type of install. You can either complete the install to have full client support, or press `ctrl + c` when it asks for more information to skip the rest of the client installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: universal.sh execute - device detail | ||
--- | ||
|
||
The script will guide you through the installation process. It will prompt you for the information you need. Make sure you type in `device` when it asks what type of installation.\ | ||
\ | ||
**You will need the client atSign, device atSign and the device name. making sure they match your earlier choices.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: universal.sh execute | ||
--- | ||
|
||
Make the script executable and run the script. | ||
|
||
```bash | ||
chmod u+x universal.sh | ||
./universal.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: universal.sh preamble | ||
--- | ||
|
||
First, make sure that you have [curl](https://curl.se) available on your system, curl is a common shell utility. | ||
|
||
The following command will download the `universal.sh` bash installer into your current directory: |
13 changes: 13 additions & 0 deletions
13
docs/.gitbook/includes/unversal.sh-execute-client-details.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: unversal.sh execute - client details | ||
--- | ||
|
||
Type in **`client`** when asked for what type of install. Continue following along with the instructions provided with the installer until the installation is complete. | ||
|
||
### Useful tips when answering the client installation | ||
|
||
Your client atSign should look like : `@sshnp_client` | ||
|
||
Your device atSign should look like: `@sshnp_device` | ||
|
||
[Device name](../../installation-faq/installation-details.md#device-names) should look like: `my_host, pi3, home_server_2` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Installation FAQ | ||
|
||
Here are some helpful guides which may aid you if you get stuck during the installation process | ||
|
||
{% content-ref url="activating-your-atsigns.md" %} | ||
[activating-your-atsigns.md](activating-your-atsigns.md) | ||
{% endcontent-ref %} | ||
|
||
{% content-ref url="reuse-your-client-atsign-on-another-machine.md" %} | ||
[reuse-your-client-atsign-on-another-machine.md](reuse-your-client-atsign-on-another-machine.md) | ||
{% endcontent-ref %} | ||
|
||
{% content-ref url="installation-details.md" %} | ||
[installation-details.md](installation-details.md) | ||
{% endcontent-ref %} | ||
|
||
{% content-ref url="how-to-generate-ssh-keys.md" %} | ||
[how-to-generate-ssh-keys.md](how-to-generate-ssh-keys.md) | ||
{% endcontent-ref %} | ||
|
||
{% content-ref url="why-activate-the-device-atsign-on-the-client.md" %} | ||
[why-activate-the-device-atsign-on-the-client.md](why-activate-the-device-atsign-on-the-client.md) | ||
{% endcontent-ref %} | ||
|
Oops, something went wrong.