Skip to content

Instantly share code, notes, and snippets.

@valorad
Last active September 29, 2024 17:27
Show Gist options
  • Save valorad/a0c7d670eed679c124655e0f5ba3806d to your computer and use it in GitHub Desktop.
Save valorad/a0c7d670eed679c124655e0f5ba3806d to your computer and use it in GitHub Desktop.
Fedora Core OS post installation steps

Podman sucks at this stage. Please enable docker

  1. Enable docker
systemctl enable docker
  1. Add yourself to docker group. Log out and log back in to take effect
usermod -aG docker valorad
  1. Download docker-compose standalone

Follow the instructions on installation page

With exception that you should not copy the file to /bin, as it is not writable in FCOS.

Remeber to mark as executable with chmod +x

  1. Download buildx

Follow the instructions on installation page

Copy the executable to where you can write.

Remeber to mark as executable with chmod +x

Change SE Linux policy to allow container read/write

chcon -R -t svirt_sandbox_file_t /var/workspace

Use the fish shell in SSH

  1. Visit the fish AppImage release page to get the latest link
# Note: change the link
curl -L https://github.com/mliszcz/fish-shell/releases/download/fish-3.6.1-x86_64/fish-3.6.1-x86_64.AppImage --output ./fish-3.6.1-x86_64.AppImage
  1. grant execution privilege
sudo chmod +x fish-3.6.1-x86_64.AppImage 
  1. As of roughly FCOS 40.20240825.3.0, AppImage no longer mounts properly.

fuse: failed to exec fusermount: No such file or directory

Workaround: Extract and run.

./fish-3.6.1-x86_64.AppImage --appimage-extract
mv squashfs-root fish-3.6.1
./fish-3.6.1/AppRun
  1. Update the section of the local SSH config on your computer (Not FCOS here)

The SSH config is usually located at ~/.ssh/config

Host my-fcos
  HostName my-fcos.lan
  User valorad
  Port 22
  IdentityFile /home/valorad/.ssh/my-fcos.pem
  RequestTTY yes
  RemoteCommand /path/to/appImage/AppRun/of/fish -l
  1. Next time connecting to FCOS, simply type
ssh my-fcos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment