{"id":462845,"date":"2025-06-11T09:00:19","date_gmt":"2025-06-11T09:00:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=462845"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2025-06-11T09:00:19","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=462845","title":{"rendered":"<span>Setting up Fedora: \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442 \u0441\u043d\u043e\u0432\u0430. \u042f olzoomer, \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043d\u0430\u0447\u043d\u0443 \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 Fedora \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<blockquote>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f (\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438) \u0432\u0435\u0440\u0441\u0438\u0435\u0439 <a href=\"https:\/\/github.com\/oldzoomer-ru\/setting-up-linux\" rel=\"noopener noreferrer nofollow\">\u0433\u0438\u0442\u0445\u0430\u0431-\u0433\u0430\u0439\u0434\u0430<\/a>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0432 \u043b\u0438\u0447\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445.<\/p>\n<\/blockquote>\n<h2>\u0421\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0441\u0430\u043c\u043e\u0439 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/h2>\n<pre><code class=\"bash\">#!\/bin\/bash -eu  if [ \"$(id -u)\" -ne 0 ]; then         echo 'This script must be run by root' &gt;&amp;2         exit 1 fi  # \u0424\u0438\u043a\u0441 \u0434\u043b\u044f Realtek RTL8821CE (\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0430\u0439\u0444\u0430\u0439, \u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c!) rtw88() {   echo \"options rtw88_core disable_lps_deep=y\" &gt;&gt; \/etc\/modprobe.d\/rtw88.conf }  # \u0423\u0441\u043a\u043e\u0440\u044f\u0435\u043c DNF dnf() {   FILE=\"\/etc\/dnf\/dnf.conf\"      echo \"max_parallel_downloads=10\" &gt;&gt; $FILE   echo \"minrate=500k\" &gt;&gt; $FILE   echo \"timeout=10\" &gt;&gt; $FILE }  # \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u043b\u043e\u0433\u043e\u0432 \u0434\u043e 50 \u041c\u0411 journald_limit() {   FILE=\"\/etc\/systemd\/journald.conf\"   CONFIG_HEADER=\"[Journal]\"      if ! grep -Fxq \"$CONFIG_HEADER\" $FILE   then       echo \"$CONFIG_HEADER\" &gt;&gt; $FILE   fi      echo \"SystemMaxUse=50M\" &gt;&gt; $FILE   systemctl restart systemd-journald.service }  # \u0421\u0442\u0430\u0432\u0438\u043c \u043a\u043e\u0434\u0435\u043a\u0438 codecs() {   dnf install -y https:\/\/mirrors.rpmfusion.org\/free\/fedora\/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https:\/\/mirrors.rpmfusion.org\/nonfree\/fedora\/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm   dnf install rpmfusion-\\*-appstream-data -y   dnf swap ffmpeg-free ffmpeg --allowerasing -y   dnf update @multimedia --setopt=\"install_weak_deps=False\" --exclude=PackageKit-gstreamer-plugin -y      # \u0421\u0442\u0430\u0432\u0438\u043c openh264 \u0434\u043b\u044f Firefox (\u043d\u043e \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e)   # dnf install mozilla-openh264 -y    # \u0422\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f AMD. \u041d\u0430\u0441\u0447\u0451\u0442 Intel \u0438 NVIDIA, \u0442\u043e   # https:\/\/rpmfusion.org\/Howto\/Multimedia   # dnf swap mesa-va-drivers mesa-va-drivers-freeworld -y   # dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld -y }  # \u0428\u0440\u0438\u0444\u0442 Times New Roman, Arial, \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 ms_fonts() {   dnf install curl cabextract xorg-x11-font-utils fontconfig -y   rpm -i https:\/\/downloads.sourceforge.net\/project\/mscorefonts2\/rpms\/msttcore-fonts-installer-2.6-1.noarch.rpm }  # \u0427\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0433\u043d\u043e\u043c\u043e\u0432\u0441\u043a\u0438\u0445 \u0443\u0442\u0438\u043b\u0438\u0442 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 gnome_tools() {   dnf install gnome-tweaks seahorse -y }  # podman-compose \u0438 podman-docker podman() {   dnf install podman-compose podman-docker -y }  # \u0414\u043e\u043a\u0435\u0440 - \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 # \u041f\u043e\u0434\u043c\u0430\u043d, \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e # # \u0412\u044b\u0437\u043e\u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u044e\u0437\u0435\u0440\u0430! docker() {   curl -fsSL https:\/\/get.docker.com | bash   sudo usermod -aG docker $1   sudo systemctl enable docker.service   sudo systemctl enable containerd.service }  # virt-manager # # \u0412\u044b\u0437\u043e\u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u044e\u0437\u0435\u0440\u0430! virt-manager() {   sudo dnf install virt-manager   sudo usermod -aG libvirt $1 }<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0451 \u044d\u0442\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044b \u0432\u0437\u044f\u043b \u043e\u0442\u0441\u044e\u0434\u0430, \u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"bash\">source .\/copied_script.sh  # \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c dnf() \u0438 codecs() - \u0440\u0435\u0448\u0438\u043c # \u0434\u0432\u0435 \u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0444\u0435\u0434\u043e\u0440\u043e\u044e\u0437\u0435\u0440\u0430 dnf codecs<\/code><\/pre>\n<h2>\u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/h2>\n<ol>\n<li>\n<p><code>rtw88()<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 Wi-Fi-\u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430 \u043e\u0442 Realtek, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0441 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u0437\u0430\u0441\u043e\u0440\u0435\u043d\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u043e\u0434\u0435 \u0435\u0433\u043e \u043f\u043e\u0444\u0438\u043a\u0441\u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u043d\u043e \u0441\u043d\u043e\u0432\u0430 \u0432\u044b\u043b\u0435\u0437\u0430\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<\/li>\n<li>\n<p><code>dnf()<\/code> &#8212; \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 DNF. DNF \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u0442\u0430\u0432\u043b\u044e \u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 (\u043e\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u043c\u0435\u0434\u043b\u0438\u0442 \u0431\u0443\u0434\u044c \u0437\u0434\u043e\u0440\u043e\u0432 &#8212; \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e 50 \u041a\u0431\u0430\u0439\u0442\/\u0441\u0435\u043a, \u0430 \u0442\u043e \u0438 20-30 \u0434\u0430\u0436\u0435, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043c \u0437\u0435\u0440\u043a\u0430\u043b\u0430).<\/p>\n<\/li>\n<li>\n<p><code>journald_limit()<\/code> &#8212; \u043c\u0435\u043d\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 4 \u0413\u0411 \u043f\u043e\u0434 \u0436\u0443\u0440\u043d\u0430\u043b \u043d\u0430 50 \u041c\u0411.<\/p>\n<\/li>\n<li>\n<p><code>codecs()<\/code> &#8212; \u043a\u043e\u0434\u0435\u043a\u0438 &#8212; \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0437\u0430\u043d\u043e\u0437\u0430 \u0432 \u0424\u0435\u0434\u043e\u0440\u0435. \u0421\u0432\u044f\u0437\u0430\u043d\u043e \u044d\u0442\u043e \u0441 \u043f\u0430\u0442\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0430 \u043d\u0438\u0445 (\u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u043e\u043d\u0438 <strong>\u043d\u0435<\/strong> \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f). \u0420\u0435\u0448\u0430\u0435\u0442\u0441\u044f RPM Fusion&#8217;\u043e\u043c. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u043c \u0435\u0433\u043e &#8212; \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u043e\u0447\u043a\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p><code>ms_fonts()<\/code> &#8212; \u0448\u0440\u0438\u0444\u0442\u044b Microsoft, \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 &#171;\u0441\u0442\u0430\u0440\u044b\u0445 \u0430\u043f\u0434\u0435\u0439\u0442\u043e\u0432&#187; \u0434\u043b\u044f Windows, \u0438 \u0432\u044c\u044e\u0432\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043e\u0444\u0438\u0441\u0430. \u0420\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0442\u0435\u043f\u0435\u0440\u044c \u0447\u0435\u0440\u0435\u0437 Sourceforge \u0441\u0438\u043b\u0430\u043c\u0438 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432. \u0414\u0430, \u0431\u044b\u043b\u0438 \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u043b\u0430\u0437\u0435\u0439\u043a\u0438 \u0434\u043b\u044f \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0438\u0434\u043e\u0432&#8230;<\/p>\n<\/li>\n<li>\n<p><code>gnome_tools()<\/code> &#8212; \u0441\u0442\u0430\u0432\u0438\u043c GNOME Tweaks, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0449\u0438\u043a \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 GNOME Keyrings (\u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0443\u0436\u0435\u043d).<\/p>\n<\/li>\n<li>\n<p><code>podman()<\/code> &#8212; \u0430\u0434\u0434\u043e\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u0434\u043c\u0430\u043d\u0430, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 (\u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e) \u0432 \u0434\u043e\u043a\u0435\u0440\u0430. \u0414\u0430, \u043a\u0443\u0447\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432, \u0437\u0430\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0435\u0433\u043e.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0418\u0442\u043e\u0433<\/h2>\n<p>\u041c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u041e\u0421, \u043d\u043e \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0430\u043b\u043e. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u044b \u043b\u044e\u0431\u0438\u043c &#8212; \u0441\u0440\u0435\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041d\u043e \u044d\u0442\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437&#8230;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/917400\/\"> https:\/\/habr.com\/ru\/articles\/917400\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442 \u0441\u043d\u043e\u0432\u0430. \u042f olzoomer, \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043d\u0430\u0447\u043d\u0443 \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 Fedora \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<blockquote>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f (\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438) \u0432\u0435\u0440\u0441\u0438\u0435\u0439 <a href=\"https:\/\/github.com\/oldzoomer-ru\/setting-up-linux\" rel=\"noopener noreferrer nofollow\">\u0433\u0438\u0442\u0445\u0430\u0431-\u0433\u0430\u0439\u0434\u0430<\/a>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0432 \u043b\u0438\u0447\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445.<\/p>\n<\/blockquote>\n<h2>\u0421\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0441\u0430\u043c\u043e\u0439 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/h2>\n<pre><code class=\"bash\">#!\/bin\/bash -eu  if [ \"$(id -u)\" -ne 0 ]; then         echo 'This script must be run by root' &gt;&amp;2         exit 1 fi  # \u0424\u0438\u043a\u0441 \u0434\u043b\u044f Realtek RTL8821CE (\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0430\u0439\u0444\u0430\u0439, \u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c!) rtw88() {   echo \"options rtw88_core disable_lps_deep=y\" &gt;&gt; \/etc\/modprobe.d\/rtw88.conf }  # \u0423\u0441\u043a\u043e\u0440\u044f\u0435\u043c DNF dnf() {   FILE=\"\/etc\/dnf\/dnf.conf\"      echo \"max_parallel_downloads=10\" &gt;&gt; $FILE   echo \"minrate=500k\" &gt;&gt; $FILE   echo \"timeout=10\" &gt;&gt; $FILE }  # \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u043b\u043e\u0433\u043e\u0432 \u0434\u043e 50 \u041c\u0411 journald_limit() {   FILE=\"\/etc\/systemd\/journald.conf\"   CONFIG_HEADER=\"[Journal]\"      if ! grep -Fxq \"$CONFIG_HEADER\" $FILE   then       echo \"$CONFIG_HEADER\" &gt;&gt; $FILE   fi      echo \"SystemMaxUse=50M\" &gt;&gt; $FILE   systemctl restart systemd-journald.service }  # \u0421\u0442\u0430\u0432\u0438\u043c \u043a\u043e\u0434\u0435\u043a\u0438 codecs() {   dnf install -y https:\/\/mirrors.rpmfusion.org\/free\/fedora\/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https:\/\/mirrors.rpmfusion.org\/nonfree\/fedora\/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm   dnf install rpmfusion-\\*-appstream-data -y   dnf swap ffmpeg-free ffmpeg --allowerasing -y   dnf update @multimedia --setopt=\"install_weak_deps=False\" --exclude=PackageKit-gstreamer-plugin -y      # \u0421\u0442\u0430\u0432\u0438\u043c openh264 \u0434\u043b\u044f Firefox (\u043d\u043e \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e)   # dnf install mozilla-openh264 -y    # \u0422\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f AMD. \u041d\u0430\u0441\u0447\u0451\u0442 Intel \u0438 NVIDIA, \u0442\u043e   # https:\/\/rpmfusion.org\/Howto\/Multimedia   # dnf swap mesa-va-drivers mesa-va-drivers-freeworld -y   # dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld -y }  # \u0428\u0440\u0438\u0444\u0442 Times New Roman, Arial, \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 ms_fonts() {   dnf install curl cabextract xorg-x11-font-utils fontconfig -y   rpm -i https:\/\/downloads.sourceforge.net\/project\/mscorefonts2\/rpms\/msttcore-fonts-installer-2.6-1.noarch.rpm }  # \u0427\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0433\u043d\u043e\u043c\u043e\u0432\u0441\u043a\u0438\u0445 \u0443\u0442\u0438\u043b\u0438\u0442 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 gnome_tools() {   dnf install gnome-tweaks seahorse -y }  # podman-compose \u0438 podman-docker podman() {   dnf install podman-compose podman-docker -y }  # \u0414\u043e\u043a\u0435\u0440 - \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 # \u041f\u043e\u0434\u043c\u0430\u043d, \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e # # \u0412\u044b\u0437\u043e\u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u044e\u0437\u0435\u0440\u0430! docker() {   curl -fsSL https:\/\/get.docker.com | bash   sudo usermod -aG docker $1   sudo systemctl enable docker.service   sudo systemctl enable containerd.service }  # virt-manager # # \u0412\u044b\u0437\u043e\u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u044e\u0437\u0435\u0440\u0430! virt-manager() {   sudo dnf install virt-manager   sudo usermod -aG libvirt $1 }<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0451 \u044d\u0442\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044b \u0432\u0437\u044f\u043b \u043e\u0442\u0441\u044e\u0434\u0430, \u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"bash\">source .\/copied_script.sh  # \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c dnf() \u0438 codecs() - \u0440\u0435\u0448\u0438\u043c # \u0434\u0432\u0435 \u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0444\u0435\u0434\u043e\u0440\u043e\u044e\u0437\u0435\u0440\u0430 dnf codecs<\/code><\/pre>\n<h2>\u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/h2>\n<ol>\n<li>\n<p><code>rtw88()<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 Wi-Fi-\u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430 \u043e\u0442 Realtek, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0441 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u0437\u0430\u0441\u043e\u0440\u0435\u043d\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u043e\u0434\u0435 \u0435\u0433\u043e \u043f\u043e\u0444\u0438\u043a\u0441\u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u043d\u043e \u0441\u043d\u043e\u0432\u0430 \u0432\u044b\u043b\u0435\u0437\u0430\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<\/li>\n<li>\n<p><code>dnf()<\/code> &#8212; \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 DNF. DNF \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u0442\u0430\u0432\u043b\u044e \u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 (\u043e\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u043c\u0435\u0434\u043b\u0438\u0442 \u0431\u0443\u0434\u044c \u0437\u0434\u043e\u0440\u043e\u0432 &#8212; \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e 50 \u041a\u0431\u0430\u0439\u0442\/\u0441\u0435\u043a, \u0430 \u0442\u043e \u0438 20-30 \u0434\u0430\u0436\u0435, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043c \u0437\u0435\u0440\u043a\u0430\u043b\u0430).<\/p>\n<\/li>\n<li>\n<p><code>journald_limit()<\/code> &#8212; \u043c\u0435\u043d\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 4 \u0413\u0411 \u043f\u043e\u0434 \u0436\u0443\u0440\u043d\u0430\u043b \u043d\u0430 50 \u041c\u0411.<\/p>\n<\/li>\n<li>\n<p><code>codecs()<\/code> &#8212; \u043a\u043e\u0434\u0435\u043a\u0438 &#8212; \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0437\u0430\u043d\u043e\u0437\u0430 \u0432 \u0424\u0435\u0434\u043e\u0440\u0435. \u0421\u0432\u044f\u0437\u0430\u043d\u043e \u044d\u0442\u043e \u0441 \u043f\u0430\u0442\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0430 \u043d\u0438\u0445 (\u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u043e\u043d\u0438 <strong>\u043d\u0435<\/strong> \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f). \u0420\u0435\u0448\u0430\u0435\u0442\u0441\u044f RPM Fusion&#8217;\u043e\u043c. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u043c \u0435\u0433\u043e &#8212; \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u043e\u0447\u043a\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p><code>ms_fonts()<\/code> &#8212; \u0448\u0440\u0438\u0444\u0442\u044b Microsoft, \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 &#171;\u0441\u0442\u0430\u0440\u044b\u0445 \u0430\u043f\u0434\u0435\u0439\u0442\u043e\u0432&#187; \u0434\u043b\u044f Windows, \u0438 \u0432\u044c\u044e\u0432\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043e\u0444\u0438\u0441\u0430. \u0420\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0442\u0435\u043f\u0435\u0440\u044c \u0447\u0435\u0440\u0435\u0437 Sourceforge \u0441\u0438\u043b\u0430\u043c\u0438 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432. \u0414\u0430, \u0431\u044b\u043b\u0438 \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u043b\u0430\u0437\u0435\u0439\u043a\u0438 \u0434\u043b\u044f \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0438\u0434\u043e\u0432&#8230;<\/p>\n<\/li>\n<li>\n<p><code>gnome_tools()<\/code> &#8212; \u0441\u0442\u0430\u0432\u0438\u043c GNOME Tweaks, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0449\u0438\u043a \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 GNOME Keyrings (\u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0443\u0436\u0435\u043d).<\/p>\n<\/li>\n<li>\n<p><code>podman()<\/code> &#8212; \u0430\u0434\u0434\u043e\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u0434\u043c\u0430\u043d\u0430, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 (\u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e) \u0432 \u0434\u043e\u043a\u0435\u0440\u0430. \u0414\u0430, \u043a\u0443\u0447\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432, \u0437\u0430\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0435\u0433\u043e.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0418\u0442\u043e\u0433<\/h2>\n<p>\u041c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u041e\u0421, \u043d\u043e \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0430\u043b\u043e. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u044b \u043b\u044e\u0431\u0438\u043c &#8212; \u0441\u0440\u0435\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041d\u043e \u044d\u0442\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437&#8230;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/917400\/\"> https:\/\/habr.com\/ru\/articles\/917400\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-462845","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=462845"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462845\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=462845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=462845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=462845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}