Skip to content

Instantly share code, notes, and snippets.

@xfathurrahman
Last active July 11, 2024 16:49
Show Gist options
  • Save xfathurrahman/27c683d523c5ca0ffbf51447c92a68bc to your computer and use it in GitHub Desktop.
Save xfathurrahman/27c683d523c5ca0ffbf51447c92a68bc to your computer and use it in GitHub Desktop.
My setup on Asus ROG
sudo yum install libusbx-devel libudev-devel
https://github.com/wroberts/rogauracore.git
### Change user shell to zsh ###
its works : sudo usermod --shell /path/to/shell < user >
----------- sudo usermod --shell $(which zsh) $USER ------------
#1. Install Docker
```
rpm-ostree install docker
```
Fixing Docker permissions
Run the following commands to add yourself to the Docker group to run docker commands as your own user.
sudo su -
grep -E '^docker:' /usr/lib/group >> /etc/group
usermod -aG docker <your_user>
exit
docker run hello-world
To create the docker group and add your user:
Create the docker group.
sudo groupadd docker
Add your user to the docker group.
sudo usermod -aG docker ${USER}
You would need to loog out and log back in so that your group membership is re-evaluated or type the following command:
su -s ${USER}
Verify that you can run docker commands without sudo.
docker run hello-world
#2 install tailscale
Installing programs that require a repository are a bit different when installing them on Fedora Silverblue. You don’t have dnf, so you need to add the repo file into Fedora. Then, you can use rpm-ostree to install tailscale.
You will need to modifty the standard Fedora installation instructions found on Tailscale. Open your terminal and follow the instructions below.
Move to the repository directory.
cd /etc/yum.repos.d/
Download the repository file using wget.
sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo
Install the tailscale application with rpm-ostree.
rpm-ostree install tailscale
Reboot Fedora Silverblue.
systemctl reboot
User systemctl to start the service so it will start everytime you boot your machine.
sudo systemctl enable --now tailscaled
Start tailscale and login with your web browser.
sudo tailscale up
You can now confirm you are connected to tailscale.
tailscale ip -4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment