Skip to content

Instantly share code, notes, and snippets.

@valorad
Last active August 19, 2023 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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.

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. 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/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