updated DIY install instructions

This commit is contained in:
naturallaw77 2024-09-12 13:34:39 -07:00
parent f4ec53ab19
commit 10ad420d84

View File

@ -1,4 +1,4 @@
# Sovran Systems offers little support of a DIY install of Sovran_SystemsOS. You can reach out to others in the matrix room https://matrix.to/#/#DIY_Sovran_SystemsOS:anarchyislove.xyz. Good Luck!
# Sovran Systems offers limited support of a DIY install of Sovran_SystemsOS. You can reach out to others in the matrix room https://matrix.to/#/#DIY_Sovran_SystemsOS:anarchyislove.xyz.
# These instructions will change over time due to new software development and Sovran Systems creator finding more efficient ways to install Sovran_SystemsOS. 2-1-2024
@ -10,18 +10,18 @@
1. First machine with Linux OS already installed (like NixOS, Ubuntu, Arch, etc.) to download and burn the NixOS image to a USB thumb drive.
2. USB thumb drive 16GB or larger
3. Second machine that is ready to have Sovran_SystemsOS installed (Safe Boot turned off in the UEFI[BIOS] and be prepared for the entire storage drive to be ERASED).
3. Second machine that is ready to have Sovran_SystemsOS installed (Safe Boot turned off in the UEFI[BIOS] and be prepared for the entire storage drive to be ERASED!).
4. Second machine needs the following hardware specs:
- Intel or AMD processor (NO ARM processors)
- 16GB of RAM or Larger
- First main internal drive to install Sovran_SystemsOS (NVME 500GB or larger)
- Second internal drive to store the Bitcoin blockchain and the automatic backups (SSD or NVME 2TB or larger)
- Also, the Second internal drive needs to be be installed FIRST into an USB enclosure. If the second drive is SSD, you need a SSD USB enclosure. If the second drive is NVME, you need a NVME USB enclosure. The USB enclosure will be plugged into the first Linux machine.
- 32GB of RAM or Larger
- First main NVME internal drive to install Sovran_SystemsOS (500GB or larger)
- Second NVME internal drive to store the Bitcoin blockchain and the automatic backups (NVME 4TB or larger)
- Also, the second NVME internal drive needs to be be installed FIRST into a USB enclosure. You will need a NVME USB enclosure. The USB enclosure will be plugged into the first Linux machine.
1. Working Internet connection for both machines
2. Personalized Domain names already purchased from Njal.la. See the explanation here: https://sovransystems.com/how-to-setup/
3. Your Router with ports open (Port Forwarding) to your second machine's internal IP address. This will usually be `192.168.1.(some number)` You will complete this at the end.
5. Working Internet connection for both machines
6. Personalized Domain names already purchased from Njal.la. See the explanation here: https://sovransystems.com/how-to-setup/
7. Your Router with ports open (Port Forwarding) to your second machine's internal IP address. This will usually be `192.168.1.(some number)` You will complete this at the end.
- Port 80
- Port 443
@ -31,8 +31,8 @@
## Preparing the Second Internal Drive
1. Install the second internal drive (NVME or SSD) into its appropriate USB enclosure, NOT into the Second machine yet.
2. Plug in the USB enclosure with the second drive installed into the first machine with Linux installed into one of its available USB ports.
1. Install the second NVME internal drive into the USB enclosure, NOT into the Second machine yet.
2. Plug in the USB enclosure into the first machine with Linux installed into one of its available USB ports.
3. Open a terminal in the first Linux machine and log in as root.
4. Type in or copy and paste:
@ -43,8 +43,8 @@ wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/ma
then press enter.
1. Now, type `bash sdpsp.sh` then press enter.
2. Then the screen will ask for "what block..." which will be the drive in the list that is not mounted,which will be the drive you just plugged in. It might be labeled `sda`, `sdb`, `sdc`, or if it is a NVME it will be `nvme0n1`, or `nvme0n2` etc.
3. Then the screen will ask for "what partition...,"which will be whatever you typed into the first prompt, but with a "1" on it. For example `sda1`, `sdb1`, `sdc1`, or `nvme0n1p1` or `nvme0n2p1`.
2. Then the screen will ask for "what block..." which will be the drive in the list that is not mounted, which will be the drive you just plugged in. It might be labeled `nvme0n1`, or `nvme0n2` etc. Type in the drive name and press `enter`.
3. Then the screen will ask for "what partition...,"which will be whatever you typed into the first prompt, but with a "1" on it. For example, `nvme0n1p1` or `nvme0n2p1`. Type it into the terminal and press `enter`.
4. Since the script is made to copy the blockchain from another Sovran Pro that already has the full blockchain installed it will throw an error. However, it should complete the setup just fine.
5. Once complete, remove the second drive from the USB enclosure and install it into your second machine in which you are installing Sovran_SystemsOS.
@ -54,7 +54,7 @@ then press enter.
1. On the first machine download the latest NixOS <u>minimal</u> (64-bit Intel/AMD) image from here: https://nixos.org/download
2. Burn that ISO image onto the USB thumb drive.
3. Insert the newly created USB thumb drive with the ISO image burned onto it into the second machine (the one you are installing Sovran_SystemsOS).
3. Insert the newly created USB thumb drive with the ISO image into the second machine (the one you are installing Sovran_SystemsOS).
4. Reboot the second machine while the USB thumb drive is inserted and boot into the USB thumb drive. This may require you to press the F7 or F12 key at boot. (Also, make sure the second machine has "safe boot" turned off in the UEFI[BIOS]).
5. Proceed with the NixOS boot menu
6. Once at the command prompt type in `sudo su` to move to the root user
@ -63,18 +63,17 @@ then press enter.
9. Now, that you are logged in as the root user type in or copy and paste:
```bash
curl https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/main/for_new_sovran_pros/psp.sh -o psp.sh
curl https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/main/for_new_sovran_pros/psp_physical_ram.sh -o psp_physical_ram.sh
```
the command to install the base NixOS and press enter.
10. Now, type `bash psp.sh` then press enter.
11. The script will ask for name of first main internal drive. Type that in and hit enter. It usually will be `nvme0n1` if it is an NVME drive. Basically, it will be the drive without any data and it will not be mounted per the list on the screen.
12. Then the script will ask for the 'root' partition. Type it in and press enter. It will be the LARGER partition and usually named `nvme0n1p1` if it is an NVME drive.
13. Then it will ask for the 'boot' partition. Type it in and press enter. It will be the SMALLER partition usually named `nvme0n1p2`.
14. Then it will ask for the 'swap' partition. Type it in and press enter. It will be the drive that is close to 16GB partition usually named `nvme0n1p3`.
15. The script will finish installing the base NixOS. At the end it will ask for a root password. Type `a` and press enter and type `a` again to confirm and press enter.
16. Remove the USB thumb drive from the second machine.
17. The machine will reboot into a very basic install of NixOS command prompt.
11. The script will ask for name of first main internal drive. Type that in and hit enter. It usually will be `nvme0n1`. Basically, it will be the drive without any data and it will not be mounted per the list on the screen.
12. Then the script will ask for the 'Boot' partition. Type it in and press enter. It will be the SMALLER partition and usually named `nvme0n1p1`.
13. Then it will ask for the 'Primary' partition. Type it in and press enter. It will be the LARGER partition usually named `nvme0n1p2`.
14. The script will finish installing the base NixOS. At the end it will ask for a root password. Type `a` and press enter and type `a` again to confirm and press enter.
15. Remove the USB thumb drive from the second machine.
16. The machine will reboot into a very basic install of NixOS command prompt.
### Procedure Two - Installing Sovran_SystemsOS
@ -104,7 +103,7 @@ then press enter.
1. Log into your [njal.la](https://njal.la) account
2. Make a "dynamic" record for each subdomain and copy the `curl` commands after each sub-domain.
3. Paste `curl` command from njal.la website into `/var/lib/njalla/njalla.sh` . For example:
3. Paste the `curl` command from njal.la's website into `/var/lib/njalla/njalla.sh` . For example:
```bash
curl "https://njal.la/update/?h=test.testsovransystems.com&k=8n7vk3afj-jkyg37&a=${IP}"
@ -202,4 +201,4 @@ and press enter.
### Everything now will be installed regarding Sovran_SystemsOS. The remaining setup will be only for the front-end user account creations for BTCpayserver, Vaultwarden, connecting the node to Sparrow wallet and Bisq.
### Congratulations! 🎉
### Congratulations! 🎉