Linux Trying EndeavourOs
Overview
After trying Linux NixOs, Mint and multi flavors of Ubuntu, I wanted to try something different. I have seen different article regarding Arch Linux and I decided to try one distribution related to that one.
First attempt was with CachyOS. It was a complete disaster. I turned to the Official Arch Linux distribution next. Everything was running under the CLI. And I could not make the system boot. Last attempt, EndeavourOS. Surprisingly, this one was way better.
I will use a Beelink mini pc for this one, this is supposed to be my backup Git Repository. It will host a docker system, with Gitea. As things wen well, I decided to also install VS Code, dotnet framework, go and hugo in case I would have to compile on that server too.
Installation
loadkeys fr_CH-latin1 timedatectl set-timezone Europe/Zurich Windows Manager : for this one I choose XFCE which is supposed to be lightweight.
Disk
Disk is an 500 Mb NVMe disk. fdisk -l fdisk /dev/nvme0n1
Partion 1 : Boot Partition
- Size: 1 Go
- Type EFI System (1)
- Filesystem: FAT32
- Mount point: /boot
- lags: boot
Partition 2 : OS
- Size: 54 GiB
- Type: Linux FileSystem (20)
- Filesystem: XFS
- Mount point: /
- Flags: -
Partition 3 : Home
- Size: 390 GiB
- Type Linux Home (42)
- Filesystem: ext4
- Mount point: /home
- Flags: -
Partition 4 : Swap
- Size: 20 GiB
- Type EFI System (19)
- Filesystem: linuxswap
- Mount point: -
- Flags: -
Docker
|
|
Docker - Portainer
|
|
The Volume portainer_data should be linked to /var/lib/docker/volumes/portainer_data
. For ease of access I am creating a folder portainer
in my home folder then I create a symlink to the portainer folder.
|
|
Samba - Network File Access
This one has been a pain. On Laptop and on the mini PC.
|
|
[share]
path = /srv/samba/share
browsable = yes
writable = yes
guest ok = yes
read only = no
[global]
workgroup = RIVA
server string = Samba Server %v
netbios name = computername
security = user
map to guest = bad user
dns proxy = no
hosts allow = 1xx.1xx.xx 127.
[homes]
comment = Home Directories
browseable = no
writable = no
[public]
path = /srv/smb
browseable = yes
writable = yes
guest ok = yes
host allows
lists the range of ip addressess that I want to let access the share folders from the mini-PC. 127.
for everything local, and 1xx.1xx.xxx
to let all the machine from my network to have access. The values must be replaced with proper values.
For security reason I ve created a specific user to let the server access the NAS folder.
Mount the NAS Share :
|
|
Replace your_username
, your_password
, NAS_IP_ADDRESS
, and share_name
with your actual NAS details.
Automate Mounting at Boot :
To automatically mount the share at boot, add the following line to your /etc/fstab
file:
|
|
Package Installer improvement
|
|
This will provide a GUI tool to select packages to install.
Utilities
|
|
oh-my-posh
|
|
Download themes.
Edit ~/.bashrc
Virtualization
This I have only done on the laptop. I wanted to try to install the VMWare tools to test the use of VM.
|
|
Installation complete, the gui is running. Will test creating VM soon.
Conclusion
So far, I m very pleased. The installation has been tougher than I was expected. But at the end it s working properly. Both installations were really reactive. The only complain I could do is related to the Laptop screen. Because it s a 4K screen on a 15" screen, at some point, the text was really hard to read. I managed to solve the issue by setting the display zoom to 1.75. I was also very surprised on how long the battery life was lasting on the laptop, I ve spent 3 hours on it and battery was still a bit over 50%. Quite surprising for a 7 year old laptop.