Skip to main content
  1. Blogs/
  2. Desktop Linux for Enterprise Development: Bluefin/

Bluefin Installation

·690 words·4 mins
Shampan
Author
Shampan
Security Minded FOSS Dev and Homelabber
Bluefin - This article is part of a series.
Part 2: This Article

Hardware
#


Now Bluefin will run on most anything, but if you’re planning on using it for Enterprise work you should heed the System Requirements. We used AMD Thinkbooks. Cover all the bullet points in the All Users section to make sure you got all your bases covered. No need to read further, we’ll cover the rest here.

Bluefin Bootable USB
#


  1. Navigate to the Try Out section on the bluefin website
  2. Select x86_64 for Architecture
  3. Select Amd | Intel for GPU
  4. Select Bluefin GTS for update cadence
  5. Click Download the ISO

Update BIOS Settings
#


On the laptop that will have Bluefin installed on it:

  1. Insert the bootable Bluefin USB
  2. Enter BIOS, This is typically done by repeatedly pressing F2 or DEL on startup but varies from machine to machine
  3. Turn off secure boot and fast boot.
    • Location in the BIOS UI will vary from machine to machine, you may have to consult manufacturer documentation to find these settings. Typically they can be found under the boot or security sections.
  4. Go to the boot hierarchy and drag the bootable USB all the way to the top.
    • If there is an option to boot directly from USB, choose that.
  5. Click Save and Exit

Install Bluefin
#


The Bluefin installation is currently undergoing a revamp. The installer may look different for you.
  1. Select Install Bluefin
  2. Follow the instructions until you get to installation summary
  3. Go to Time and Date under Localization and set it to Chicago, return to main menu
  4. Click “Installation Destination” under System
  5. Select the target hard drive if it isn’t already selected and then press done
  6. If it asks you whether to delete or keep pre-existing partitions, select delete all
  7. Click Begin installation
  8. Once it’s finished click reboot/restart
  9. When booted into the new system you’ll see a pop up to walk you through setting up the machine
  10. Skip Wifi configuration
  11. Select your desired privacy preferences
  12. Enable third-party repositories
  13. Create a local account
  14. Complete Installation
  15. Enable secure boot
  16. Reboot

Configure Realm
#


Kerberos
#

Create a Kerberos configuration file at /etc/krb5.conf and fill it with the following:

[libdefaults]
default_realm = <REALM_DOMAIN_IN_ALL_CAPS>
dns_lookup_realm = true
dns_lookup_kdc = true

NTP
#

Add the IP of your NTP (Network Time Protocol) server with echo "NTP=<NTP IP>">> /etc/systemd/timesyncd.conf and then run the following:

timedatectl set-ntp true
systemctl restart systemd-timesyncd.service
timedatectl --adjust-system-clock

Realmd
#

Create /etc/realmd.conf and add:

[users]
default-home = /home/%U@%D
default-shell = /bin/bash

[active-directory]
default-client = sssd
os-name = Bluefin Workstation
os-version = <Version_Number>

[service]
automatic-install = no

[<domain_name_in_lower_case>]
fully-qualified-names = yes
automatic-id-mapping = no
user-principal = yes
manage-system = yes

Hosts
#

Add the IP of any on premise servers you’d want to access to /etc/hosts

<Server IP> <Alias>
<Server IP2> <Alias2>
...

PAM
#

Make home directory creation on first login optional.

echo "session optional pam_mkhomedir.so">> /etc/pam.d/common-session

Hostname
#

The Ublue menu may have a different icon on different machines. On Frameworks for example, it’s a gear instead of the Ublue icon.
  1. Open the Ublue menu in the top left corner of the screen.
  2. Click About my System
  3. Edit Device Name to the desired name

Alternatively you can use sudo hostnamectl set-hostname <new-hostname>

Join Realm
#


Now you can join the machine to the realm

realm join --verbose --user=<admin user> <domain_in_lower_case>

SSSD
#

Add the following line to the end of /etc/sssd/sssd.conf. This resolves a possible bug where users are unable to login to a domain account while connected to the internet.

ad_gpo_ignore_unreadable = True

Sudoers
#

Create a file with all the users that should have sudo perms in /etc/sudoers.d/.

echo 'user_name@domain_lower_case ALL=(ALL:ALL) ALL' | sudo tee /etc/sudoers.d/<file_name>

Save and exit then restart the machine.

Creating SMB Credentials
#


Storing these credentials will allow us to set up automounting network shares in the user account. Create a file .smbcredentials in the home folder. Add the following lines:

USERNAME=<USERNAME@lower_case_domain_name>
PASSWORD=<PASSWORD>

Make sure that only root may access this file:

sudo chown root .smbcredentials
sudo chmod 600 .smbcredentials

Reboot the machine.

systemctl reboot
Bluefin - This article is part of a series.
Part 2: This Article