The server will eventually be headless, but to install the Operating System the device needs to be connected to a HDMI monitor or TV, a keyboard, an ethernet connection, and of course a power supply.
The server will have one storage device to receive the Operating System for which a micro SD card for
a Raspberry Pi 4b, or eMMC card for an Odroid N2, is recommended. It is recommended that the
micro SD or eMMC card be 16GB or more. A second storage device is used to hold all the data for which an external USB SSD enclosure is recommended.
Installing A Headless Server
On an operational Arch Linux (or derivative) computer:
Connect a micro SD card or eMMC card, as appropriate, to the computer’s USB port or SD slot.
Launch your favorite Terminal and maximize the window or make it at least 130 x 30
Make a temporary directory and cd into that directory.
Make the script executable
chmod 754 ARM-install-server-image.sh
Then execute the script and answer the prompts.
The script will now install a RPi 4b headless server image on the uSD card for a RPi 4b, or
on a eMMC card for an Odroid N2. When finished:
Unmount the uSD and connect it to a RPi 4b with a Monitor, keyboard, and mouse, or
unmount the eMMC card and connect it to an Odroid N2 with a Monitor, keyboard, and mouse.
On boot up, only the OS can be installed and the data storage device manually installed later.
Or the installer can partition, format, and configure the USB SSD to mount at boot up.
If you opt for the installer to partition, format, and configure the USB SSD,
the USB SSD should be connected before booting the device.
Connect a USB 3 SSD to a USB 3 port on the RPi 4b or Odroid N2 if you want to partition, format,
create mount points, and modify the /etc/fstab file on the DATA SSD.
Boot up the RPi 4b or Odroid N2 and it will automatically ask for the information required to configure
your server. When finished, the RPi will reboot and your headless server is ready to use.
You can now optionally remove the monitor, keyboard, and mouse and run the server headless.
Administration of the server can now be done remotely using ssh.
At the ARM section of EndeavourOS Discovery are instructions for further enhancing your new LAN server. The suggested order of use:
Homeserver 1 – Set up a linux client computer
Homeserver 2 – Use FUSE and SSHFS to view server data in a client file manager
Homeserver 3 – Automatically mount the server upon Client user login
Homeserver 4 – Install and setup a SAMBA server
Homeserver 5 – Setup and configure a Windows client computer for SAMBA
Homeserver 6 – Install and setup a miniDLNA media server
Homeserver 7 – Backing up enosServer
Enjoy your new LAN server.