Skip to content

Instantly share code, notes, and snippets.

@oleggrishechkin
Last active October 26, 2021 20:48
Show Gist options
  • Save oleggrishechkin/04cd4214cd0be00e1dc026f4621b2411 to your computer and use it in GitHub Desktop.
Save oleggrishechkin/04cd4214cd0be00e1dc026f4621b2411 to your computer and use it in GitHub Desktop.
  • nvidia (manually)

    enable repo in software center

    sudo dnf update --refresh
    sudo dnf install gcc kernel-headers kernel-devel akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686
    

    wait 5-10 minutes

    sudo akmods --force
    sudo dracut --force
    

    wait 3-5 minutes and reboot

  • node

curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
sudo dnf install -y nodejs
sudo dnf install gcc-c++ make
  • ssh

    1. generate
    ssh-keygen -t ed25519 -C "oleggrishechkin@gmail.com"
    cat ~/.ssh/id_ed25519.pub
    
    1. add to keys
  • git

    1. setup
    git config --global user.email oleggrishechkin@gmail.com
    git config --global user.name "Oleg Grishechkin"
    git config --global core.editor gedit
    
    1. add aliases
    gedit ~/.bashrc
    
  • inotify watches limit

    1. create inotify config:
    sudo gedit /etc/sysctl.d/idea.conf
    
    1. add this:
    fs.inotify.max_user_watches = 524288
    
    1. apply inotify config:
    sudo sysctl -p --system
    
  • yarn

sudo npm install -g yarn
sudo dnf install wireguard-tools
sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
wg-quick up <path to config>
  • grub
sudo gedit /etc/default/grub
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment