Skip to content

Instantly share code, notes, and snippets.

@khiemdoan
Last active December 18, 2019 12:36
Show Gist options
  • Save khiemdoan/a0e9d069921ba4f1ec53be58068aa3e7 to your computer and use it in GitHub Desktop.
Save khiemdoan/a0e9d069921ba4f1ec53be58068aa3e7 to your computer and use it in GitHub Desktop.

Manjaro Setup

This note is about softwares, configs in my Manjaro.

Update mirrorlist with the fastest mirrors

sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

Snap

sudo pacman -S snapd
sudo systemctl enable --now snapd.socket

Docker

sudo pacman -S docker
sudo systemctl enable docker.service
sudo systemctl start docker.service
sudo groupadd docker
sudo gpasswd -a $USER docker

Unikey

sudo pacman -S ibus-unikey
sudo reboot
ibus-setup
General>Next input method> Change from Super to Ctrl
Input method tab > add Vietnamese key
ibus restart

Teamviewer

sudo systemctl enable teamviewerd
sudo systemctl start teamviewerd

KVM

Install

sudo pacman -S qemu virt-manager
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service

Config

Edit /etc/libvirt/libvirtd.conf:

unix_sock_group = "libvirt" # around line 81
unix_sock_rw_perms = "0770" # around line 104

Add your user account to libvirt group

sudo usermod -a -G libvirt $(whoami)
newgrp libvirt
sudo systemctl restart libvirtd.service

Enable Nested Virtualization

sudo modprobe -r kvm_intel
sudo modprobe kvm_intel nested=1
echo "options kvm-intel nested=1" | sudo tee /etc/modprobe.d/kvm-intel.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment