This method should work on every ARM device once Archlinux ARM base is installed. The script lets you choose to do a desktop install or a headless server install. In this case we will be doing a headless server install.
The following is a basic list of instructions to install EndeavourOS as a headless Server.
https://github.com/endeavouros-arm/manuals has more in depth manuals. Click on the desired manual and it will come up in a basic Github viewer. Click on the ‘Download’ button and the manual comes up a PDF viewer that will allow you to print or save the PDF.
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 is recommended. A second storage device is used to hold all the data for which an external USB SSD enclosure is recommended. Only the OS can be installed and the data storage device installed later. Or the installer can partition, format, and configure the USB SSD enclosure to mount at boot up.
By default, the ‘Automated Base Install’ has created a user named ALARM (ArchLinux ARM) with password ALARM. It also has created a root account named root with a password root, to make things easier. In this step, we’re going to use the root account and not the ALARM account.
Boot up your ARM device and once booted login as root and enter root as password.
Check for network connectivity.
# ping -c 4 endeavouros.com
If the ping does not work, enter the following:
# systemctl enable dhcpcd.service # systemctl start dhcpcd.service # ping -c 4 endeavouros.com
Now we’re going to change the mirror settings to the ones near to your location. you can use either vi or nano to edit the file, in this example you see nano.
# nano /etc/pacman.d/mirrorlist
Then find the following lines:
## Geo-IP based mirror selection and load balancing Server = http://mirror.archlinuxarm.org/$arch/$repo add # to the beginning of the second line to comment it out like this ## Geo-IP based mirror selection and load balancing # Server = http://mirror.archlinuxarm.org/$arch/$repo Then uncomment (remove the leading #) from the 'Server =' line(s) for servers near you and close and save the file.
Type the following commands to create the GPG keys, update the installed image, and install git and libnewt:
# pacman-key --init # pacman-key --populate archlinuxarm # pacman -Syu git libnewt wget
The install script will be installing Numerous Packages, to make the downloading go faster: # vi /etc/pacman.conf Scroll down to #ParallelDownloads = 5 Uncomment this line by removing the leading # and if desired, change 5 to 8 or however many parallel downloads you want to run. For my ISP 8 works well. Save the file, then # systemctl reboot
Then log back in again with root.
We’re almost there, now we’re going to install a headless server on the device by typing the following commands:
# git clone https://github.com/endeavouros-arm/install-script.git # cd install-script # ls -l
If endeavour-ARM-install-V2.X.sh is not executable, use chmod to alter it by doing this:
# chmod 774 endeavour-ARM-install-V2.X.sh
When the script is executable, run this command:
# sh endeavour-ARM-install-V2.X.sh
You will be greeted with the last steps and to finalize the install just fill in the info on the screen as shown below:
Next, enter a user name that will be used to access enosServer. pshare = public share Use what you want.
Use of ssh port 22 is discouraged. Pick a port number between 8000 and 48000 and consider this to be a PIN
The use of a static IP address for a LAN server is highly recommended. Enter last octet of desired IP address
The script will install a headless server on your device.
Now a headless server is installed on your ARM device. The HDMI monitor or TV and the keyboard, can be removed and the LAN server can be accessed via 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.Connect with us: