Skip to content

Instantly share code, notes, and snippets.

@oshanz
Last active February 16, 2022 05:14
Show Gist options
  • Save oshanz/78b5bfa7fed68285f8356754cde70c3d to your computer and use it in GitHub Desktop.
Save oshanz/78b5bfa7fed68285f8356754cde70c3d to your computer and use it in GitHub Desktop.
opensuse tumbleweed after installation
  • zypper dup

  • zypper in podman inotify-tools curl git

  • zypper in --type pattern devel_basis

  • zypper in libopenssl-devel libyaml-devel libffi-devel readline-devel

  • zypper in gnome-extentions

  • then install pop shell

  • install ohmyzsh

  • ~/.gemrc no doc

  • git set user and email

@oshanz
Copy link
Author

oshanz commented Mar 3, 2021

sudo usermod --add-subuids 200000-201000 --add-subgids 200000-201000 $USER

id
uid=1000(user) gid=1000(user) groups=1000(user)

grep $USER /etc/subuid
user:1000000:65536

grep $USER /etc/subgid
user:1000000:65536

sudo echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf

install crun
https://software.opensuse.org/package/crun

enable cgroup v2 using kernel param, then restart
systemd.unified_cgroup_hierarchy=1

  1. check
    podman unshare cat /proc/self/uid_map
    0 1000 65536

cat /etc/containers/storage.conf
sudo rm -rf ~/.local/share/containers/
podman system migrate

podman login docker.io
podman pull docker.io/library/hello-world:latest
podman run docker.io/library/hello-word:latest

@oshanz
Copy link
Author

oshanz commented Mar 8, 2021

  • zypper parallel download

@oshanz
Copy link
Author

oshanz commented Apr 12, 2021

Packages notifications
You have notifications from the following packages:
mariadb
This message will be available at /var/adm/update-messages/mariadb-10.5.9-1.1-something
You have just installed MariaDB server for the first time.
You can start it via:
systemctl start mariadb
or
rcmysql start
During the first start, empty database will be created for you automatically.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER!
To do so, start the server and run the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

@oshanz
Copy link
Author

oshanz commented Jun 13, 2021

dnf
install_weak_deps=False
allow_vendor_change=True
max_parallel_downloads=20, fastestmirror=true

  • reduce grub timeout

  • install pacman-essential
    dnf in ffmpeg-3 lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libavdevice57 libdvdcss2 vlc-codecs --allowerasing

  • zypper add http://download.opensuse.org/factory/repo/non-oss/

  • install discord, brave, flatpak, vscode

  • dnf in flameshot

btrfs property set /usr compression zstd
btrfs filesystem defragment -r -v -czstd /usr
compsize /usr
btrfs property set /usr compression ""

@oshanz
Copy link
Author

oshanz commented Sep 30, 2021

balooctl disable

@oshanz
Copy link
Author

oshanz commented Oct 21, 2021

  • to make kde file picker defualt
    firefox => about:config => widget.use-xdg-desktop-portal => true

@oshanz
Copy link
Author

oshanz commented Feb 15, 2022

zyp in cni-plugin-dnsname dnsmasq
podman network create podman
sudo systemctl status dnsmasq.service
containers/dnsname#33 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment