Skip to content

Commit

Permalink
Update server setup instructions in prerequisites documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
daGscheid committed Apr 24, 2024
1 parent 2630c77 commit e1d6552
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/02-guides/00-prerequisites/01-prerequisites-server-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import TabItem from '@theme/TabItem';

## Ubuntu Setup

### Part 1: Create a Bootable USB Stick {#create-bootable-usb}
### Create a Bootable USB Stick {#create-bootable-usb}

<Tabs
defaultValue="windows"
Expand Down Expand Up @@ -55,7 +55,7 @@ import TabItem from '@theme/TabItem';
</Tabs>


### Part 2: Booting from USB and Installing Ubuntu {#booting-and-installing}
### Booting from USB and Installing Ubuntu {#booting-and-installing}

1. With the machine off, insert your bootable USB.
2. Turn on the machine and immediately press the F11/F12 or Delete key to open the boot menu.
Expand All @@ -67,9 +67,3 @@ import TabItem from '@theme/TabItem';
8. Complete the forms for server name, username, and password. Skip Ubuntu Pro upgrade and additional snaps installation.
9. After installation, select 'Reboot Now'. Once rebooted, use `hostname -i` to note your server's IP address.

### Part 3: Mandatory Configuration {#mandatory-configuration}

1. Log into your server with the credentials created during setup.
2. Run `sudo visudo` and add the following line under `includedir /etc/sudoers.d`: `<username> ALL=(ALL) NOPASSWD: ALL`. Replace `<username>` with your actual username.
3. Verify your passwordless sudo setup by running `sudo -l`. If no password is requested, it's configured correctly and you are ready to use Stereum.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Mandatory Server Configuration {#mandatory-configuration}

## Passwordless Sudo Setup

1. Log into your server with the credentials created during setup.
2. Run `sudo visudo` and add the following line under `includedir /etc/sudoers.d`: `<username> ALL=(ALL) NOPASSWD: ALL`. Replace `<username>` with your actual username.
3. Verify your passwordless sudo setup by running `sudo -l`. If no password is requested, it's configured correctly and you are ready to use Stereum.

0 comments on commit e1d6552

Please sign in to comment.