<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5">
    <title>如何在 Fedora Linux 中安装多媒体编码器 | 云图网</title>
    <meta name="keywords" content="# 浏览器,Fedora,FireFox,GitHub,go,https">
<meta name="description" content="作者： Sk 译者： LCTT&nbsp;郑 | 2022-05-27 11:28&nbsp;&nbsp; 评论: 1&nbsp;&nbsp;&nbsp;&nbsp; 在新安装 Fedora后，安装多媒体编码器来播放音频和视频是第一件要事。 在这篇简单的教程中，我们将看到如何在 Fedora 36 工作站中从 RPM …">
<meta property="og:type" content="article">
<meta property="og:url" content="https://blog.ytso.com/tech/pnotes/262812.html">
<meta property="og:site_name" content="云图网">
<meta property="og:title" content="如何在 Fedora Linux 中安装多媒体编码器">
<meta property="og:image" content="http://ytso-blog-oss-img.oss-accelerate.aliyuncs.com/wp-content/uploads/2022/10/16/20221016163313542.svg">
<meta property="og:description" content="作者： Sk 译者： LCTT&nbsp;郑 | 2022-05-27 11:28&nbsp;&nbsp; 评论: 1&nbsp;&nbsp;&nbsp;&nbsp; 在新安装 Fedora后，安装多媒体编码器来播放音频和视频是第一件要事。 在这篇简单的教程中，我们将看到如何在 Fedora 36 工作站中从 RPM …">
<link rel="canonical" href="https://blog.ytso.com/tech/pnotes/262812.html">
<meta name="applicable-device" content="pc,mobile">
<meta http-equiv="Cache-Control" content="no-transform">
<link rel="shortcut icon" href="https://imgcdn.ytso.com/wp-content/uploads/2024/10/20241015181503433.jpg">
<link rel='dns-prefetch' href='//cdnjs.cloudflare.com' />
<style id='wp-img-auto-sizes-contain-inline-css' type='text/css'>
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
</style>
<link rel='stylesheet' id='stylesheet-css' href='https://blog.ytso.com/wp-content/themes/justnews/css/style.css?ver=6.21.5' type='text/css' media='all' />
<link rel='stylesheet' id='material-icons-css' href='https://blog.ytso.com/wp-content/themes/justnews/themer/assets/css/material-icons.css?ver=6.21.5' type='text/css' media='all' />
<link rel='stylesheet' id='remixicon-css' href='https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.min.css?ver=6.9.4' type='text/css' media='all' />
<link rel='stylesheet' id='font-awesome-css' href='https://blog.ytso.com/wp-content/themes/justnews/themer/assets/css/font-awesome.css?ver=6.21.5' type='text/css' media='all' />
<style id='wp-block-library-inline-css' type='text/css'>
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*wp_block_styles_on_demand_placeholder:69c6b49c797f2*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id='classic-theme-styles-inline-css' type='text/css'>
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
/*# sourceURL=/wp-includes/css/classic-themes.min.css */
</style>
<link rel='stylesheet' id='wpcom-member-css' href='https://blog.ytso.com/wp-content/plugins/wpcom-member/css/style.css?ver=1.7.19' type='text/css' media='all' />
<script type="text/javascript" src="https://blog.ytso.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script>
<script type="text/javascript" src="https://blog.ytso.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://blog.ytso.com/xmlrpc.php?rsd" />
<meta name='description' content='作者： Sk 译者：LCTT&nbsp;郑 | 2022-05-27 11:28&nbsp;&nbsp;评论: 1&nbsp;&nbsp;&nbsp;&nbsp; 在新安装 Fedora后，安装多媒体编码器来播放音频和视频是第一件要事。 在这篇简单的教程中，我们将看到如何在 Fedor…' />
<meta name='keywords' content='# 浏览器,Fedora,FireFox,GitHub,go,https' />
<style>:root{--theme-color: #08c; --theme-hover: #07c; --logo-height: 32px; --logo-height-mobile: 26px; --menu-item-gap: 28px; --member-login-bg: url('https://blog.ytso.com/loginwall.jpg'); --header-bg-color: #fff; --header-bg-image: none; --theme-border-radius-s: 3px; --theme-border-radius-m: 5px; --theme-border-radius-l: 8px; --theme-border-radius-xl: 12px; --thumb-ratio-default: 480 / 300; --thumb-ratio-post: 480 / 300; --post-video-ratio: 860 / 482;}</style>
<link rel="icon" href="https://imgcdn.ytso.com/wp-content/uploads/2024/10/20241015181503433.jpg" sizes="32x32" />
<link rel="icon" href="https://imgcdn.ytso.com/wp-content/uploads/2024/10/20241015181503433.jpg" sizes="192x192" />
<link rel="apple-touch-icon" href="https://imgcdn.ytso.com/wp-content/uploads/2024/10/20241015181503433.jpg" />
<meta name="msapplication-TileImage" content="https://imgcdn.ytso.com/wp-content/uploads/2024/10/20241015181503433.jpg" />
    <!--[if lte IE 11]><script src="https://blog.ytso.com/wp-content/themes/justnews/js/update.js"></script><![endif]-->
</head>
<body class="wp-singular post-template-default single single-post postid-262812 single-format-standard wp-theme-justnews lang-cn el-boxed header-fixed">
<header class="header header-fluid">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse" aria-label="menu">
                <span class="icon-bar icon-bar-1"></span>
                <span class="icon-bar icon-bar-2"></span>
                <span class="icon-bar icon-bar-3"></span>
            </button>
                        <div class="logo">
                <a href="https://blog.ytso.com/" rel="home">
                    <img src="https://imgcdn.ytso.com/wp-content/uploads/2021/12/20211207181156143.png" alt="云图网">
                </a>
            </div>
        </div>
        <div class="collapse navbar-collapse mobile-style-0">
            <nav class="primary-menu"><ul id="menu-justnews-footer-menu" class="nav navbar-nav wpcom-adv-menu"><li class="menu-item"><a href="https://blog.ytso.com/category/industrynews">业界资讯</a></li>
<li class="menu-item current-post-ancestor active menu-item-style menu-item-style-1 dropdown"><a target="_blank" href="https://blog.ytso.com/category/tech" class="dropdown-toggle">技术专区</a>
<ul class="dropdown-menu menu-item-wrap menu-item-col-5">
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/cloud">云计算</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/ai">人工智能</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/safety">信息安全</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/bigdata">大数据</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/dev">研发管理</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/webdev">大前端</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/opensource">开源</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/aiops">智能运维</a></li>
	<li class="menu-item current-post-ancestor current-post-parent active"><a href="https://blog.ytso.com/category/tech/pnotes">编程笔记</a></li>
	<li class="menu-item"><a href="https://blog.ytso.com/category/tech/wp">WordPress</a></li>
</ul>
</li>
<li class="menu-item"><a href="https://blog.ytso.com/category/enterprise-strategic-planning">企业战略规划</a></li>
<li class="menu-item"><a href="https://blog.ytso.com/category/download">下载专区</a></li>
<li class="menu-item"><a href="https://blog.ytso.com/category/it%e6%b1%9f%e6%b9%96%e5%8f%b2">江湖史</a></li>
<li class="menu-item"><a href="https://blog.ytso.com/category/notes">随笔记录</a></li>
</ul></nav>            <div class="navbar-action">
                <div class="navbar-search-icon j-navbar-search"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-search"></use></svg></i></div><form class="navbar-search" action="https://blog.ytso.com/" method="get" role="search"><div class="navbar-search-inner"><i class="wpcom-icon wi navbar-search-close"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i><input type="text" name="s" class="navbar-search-input" autocomplete="off" maxlength="100" placeholder="输入关键词搜索..." value=""><button class="navbar-search-btn" type="submit" aria-label="搜索"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-search"></use></svg></i></button></div></form>                    <div id="j-user-wrap">
                        <a class="login" href="https://blog.ytso.com/login">登录</a>
                        <a class="login register" href="https://blog.ytso.com/register">注册</a>
                    </div>
                                            <a class="wpcom-btn btn-primary btn-xs publish" href="https://blog.ytso.com/contribute">
                            <i class="fa fa-edit"></i> 投稿                        </a>
                                </div>
        </div>
    </div><!-- /.container -->
</header>

<div id="wrap">    <div class="wrap container">
        <ol class="breadcrumb" vocab="https://schema.org/" typeof="BreadcrumbList"><li class="home" property="itemListElement" typeof="ListItem"><a href="https://blog.ytso.com" property="item" typeof="WebPage"><span property="name" class="hide">云图网</span>首页</a><meta property="position" content="1"></li><li property="itemListElement" typeof="ListItem"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-3"></use></svg></i><a href="https://blog.ytso.com/category/tech" property="item" typeof="WebPage"><span property="name">技术专区</span></a><meta property="position" content="2"></li><li property="itemListElement" typeof="ListItem"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-3"></use></svg></i><a href="https://blog.ytso.com/category/tech/pnotes" property="item" typeof="WebPage"><span property="name">编程笔记</span></a><meta property="position" content="3"></li></ol>        <main class="main">
                            <article id="post-262812" class="post-262812 post type-post status-publish format-standard hentry category-pnotes tag-11563 tag-fedora tag-firefox tag-github tag-go tag-https entry">
                    <div class="entry-main">
                                                                        <div class="entry-head">
                            <h1 class="entry-title">如何在 Fedora Linux 中安装多媒体编码器</h1>
                            <div class="entry-info">
                                                                <time class="entry-date published" datetime="2022-10-17T00:34:40+08:00" pubdate>
                                    2022年10月17日 00:34                                </time>
                                <span class="dot">•</span>
                                <a href="https://blog.ytso.com/category/tech/pnotes" rel="category tag">编程笔记</a>                                                            </div>
                        </div>
                        
                                                <div class="entry-content text-indent text-justify">
                            <div id="toc">
<p class="toc-title"><strong>文章目录</strong><span class="toc-controller toc-controller-show">[隐藏]</span></p>
<ul>
<li class="toc-level3"><a href="#%E4%BB%8B%E7%BB%8D">介绍</a></li>
<li class="toc-level3"><a href="#%E5%9C%A8-fedora-linux-%E4%B8%AD%E5%AE%89%E8%A3%85%E5%A4%9A%E5%AA%92%E4%BD%93%E7%BC%96%E7%A0%81%E5%99%A8">在 Fedora Linux 中安装多媒体编码器</a>
<ul>
<li class="toc-level4"><a href="#%E5%AE%89%E8%A3%85%E5%A4%9A%E5%AA%92%E4%BD%93%E6%92%AD%E6%94%BE%E5%99%A8">安装多媒体播放器</a></li>
<li class="toc-level4"><a href="#%E5%8F%AF%E9%80%89-%E5%AE%89%E8%A3%85-ffmpeg">可选 - 安装 FFmpeg</a></li>
</ul>
</li>
</ul>
</div>
<div class="ph" id="article_copyright">
<span>作者： </p>
<p>    		    			<span class="textcut"><a href="https://ostechnix.com/how-to-install-multimedia-codecs-in-fedora-linux/" target="_blank" rel="noopener">Sk</a></span><br />    		    	    	<span>译者：<br /><a href="https://linux.cn/lctt/" target="_blank" rel="noopener">LCTT</a>&nbsp;<a href="https://linux.cn/lctt/robsean" target="_blank" rel="noopener">郑</a></span></p>
<p id="article_date">| 2022-05-27 11:28&nbsp;&nbsp;<br />评论: <a href="https://linux.cn/portal.php?mod=comment&id=14642&idtype=aid" title="查看全部评论"><em id="_commentnum">1</em></a>&nbsp;&nbsp;&nbsp;&nbsp;</p>
</div>
<blockquote>
<p>在新安装 Fedora后，安装多媒体编码器来播放音频和视频是第一件要事。</p>
</blockquote>
<p>在这篇简单的教程中，我们将看到如何在 Fedora 36 工作站中从 RPM Fusion 软件包存储库安装多媒体编码器。</p>
<h3 class="mume-header" id="%E4%BB%8B%E7%BB%8D">介绍</h3>
<p>很多多媒体编码器要么是闭源的，要么是非自由的，因此出于法律的原因，它们没有包含在 Fedora Linux 的默认存储库中。</p>
<p>幸运的是，一些第三方存储库提供了受限的和非自由的多媒体编码器、软件包和库。一个流行的社区驱动的第三方存储库是&nbsp;<strong>RPM Fusion</strong>。</p>
<p>如果你想在你的 Fedora 桌面环境中播放大多数的音频或视频格式的文件，你应该从 RPM Fusion 中安装必要的多媒体编码器，如下所述。</p>
<h3 class="mume-header" id="%E5%9C%A8-fedora-linux-%E4%B8%AD%E5%AE%89%E8%A3%85%E5%A4%9A%E5%AA%92%E4%BD%93%E7%BC%96%E7%A0%81%E5%99%A8">在 Fedora Linux 中安装多媒体编码器</h3>
<p>确保你已经在你的 Fedora 机器中安装了 RPM Fusion 存储库。如果你尚未添加它，参考下面的链接来在 Fedora 中启用 RPM Fusion 存储库：</p>
<ul>
<li><a href="https://ostechnix.com/how-to-enable-rpm-fusion-repository-in-fedora-rhel/">如何在 Fedora、RHEL 中启用 RPM Fusion 存储库</a></li>
</ul>
<p>在启用 RPM Fusion 存储库后，在你的 Fedora 系统中依次运行下面的命令来安装多媒体编码器：</p>
<pre class="prettyprint linenums"><code>$ sudo dnf install gstreamer1-plugins-{bad-/*,good-/*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
</code></pre>
<p>如果上面的命令不工作，尝试下面的命令：</p>
<pre class="prettyprint linenums"><code>$ sudo dnf install gstreamer1-plugins-{bad-*,good-*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
</code></pre>
<pre class="prettyprint linenums"><code>$ sudo dnf install lame* --exclude=lame-devel
</code></pre>
<pre class="prettyprint linenums"><code>$ sudo dnf group upgrade --with-optional Multimedia
</code></pre>
<p>这三个命令安装了非常多的东西，可以在你的 Fedora 系统中播放所有的音频和视频格式的文件。</p>
<h4 class="mume-header" id="%E5%AE%89%E8%A3%85%E5%A4%9A%E5%AA%92%E4%BD%93%E6%92%AD%E6%94%BE%E5%99%A8">安装多媒体播放器</h4>
<p>一些流行的媒体播放器，诸如 VLC、Celluloid、SMplayer 和 Plex-media-palyer 等等，将提供所有需要的编码器。你不需要将它们全部都安装，只要任意一两个就足够了。下面给出安装这些播放器的命令：</p>
<pre class="prettyprint linenums"><code>$ sudo dnf install vlc
</code></pre>
<p>VLC 预装在很多 Linux 发行版中，它是一个标准的用于播放各种媒体类型文件的媒体播放器。</p>
<p>SMplayer 是 Mplayer 的前端，它被认为是 VLC 的最佳替代品。</p>
<pre class="prettyprint linenums"><code>$ sudo dnf install smplayer
</code></pre>
<p>如果你想要更强大是多媒体体验，安装 Plex-media-player。</p>
<pre class="prettyprint linenums"><code>$ sudo dnf install plex-media-player
</code></pre>
<p>这将不仅为你提供 H264、H265、VP8 和 VP9 编码器（均带硬件支持），它也将启用一种更高效的编码器 AV1（又名 AV01）。你可以使用&nbsp;<a href="https://www.youtube.com/playlist?list=PLyqf6gJt7KuHBmeVzZteZUlNUQAVLwrZS">AV1 Beta Launch Playlist</a>&nbsp;来测试你的浏览器是否支持这个编码器。</p>
<p>它们中的一些播放器也可以作为&nbsp;<strong>flatpak</strong>&nbsp;格式的应用程序来使用。如果与传统的软件包管理器相比，你更喜欢 flatpak 格式的应用程序，你可以安装它们。现在大多数的 Linux 发行版都支持开箱即用的 flatpak 格式的应用程序</p>
<p>为安装 VLC 的 flatpak 版本，运行：</p>
<pre class="prettyprint linenums"><code>$ flatpak install vlc
</code></pre>
<h4 class="mume-header" id="%E5%8F%AF%E9%80%89-%E5%AE%89%E8%A3%85-ffmpeg">可选 - 安装 FFmpeg</h4>
<p><strong>FFmpeg</strong>&nbsp;是一个功能强大的多媒体框架，它可用于编码、解码、转码、混流、解混流、录制、音轨、过滤等，以及播放各种类型的媒体文件。你可以通过在你的系统上安装 FFmpeg 来获取相应的解码器。</p>
<ul>
<li><a href="https://ostechnix.com/install-ffmpeg-linux/">如何在 Linux 中安装 FFmpeg</a></li>
</ul>
<p>希望这有帮助。</p>
<p><strong>相关阅读：</strong></p>
<ul>
<li><a href="https://ostechnix.com/enable-h264-on-chromium-and-firefox-in-fedora-silverblue/">在 Fedora Silverblue 中的 Chromium 和 Firefox 上启用 H264</a></li>
<li><a href="https://ostechnix.com/how-to-install-multimedia-codecs-in-opensuse/">如何在 OpenSUSE 中安装多媒体解码器</a></li>
</ul>
<hr />
<p>via:&nbsp;<a href="https://ostechnix.com/how-to-install-multimedia-codecs-in-fedora-linux/">https://ostechnix.com/how-to-install-multimedia-codecs-in-fedora-linux/</a></p>
<p>作者：<a href="https://ostechnix.com/author/sk/">sk</a>&nbsp;选题：<a href="https://github.com/lkxed">lkxed</a>&nbsp;译者：<a href="https://github.com/robsean">robsean</a>&nbsp;校对：<a href="https://github.com/wxy">wxy</a></p>
<p>本文由&nbsp;<a href="https://github.com/LCTT/TranslateProject">LCTT</a>&nbsp;原创编译，<a href="https://linux.cn/">Linux中国</a>&nbsp;荣誉推出</p>
<section><noscript><img decoding="async" style="width:24px;height: 24px;float: right;" alt="如何在 Fedora Linux 中安装多媒体编码器" src="http://ytso-blog-oss-img.oss-accelerate.aliyuncs.com/wp-content/uploads/2022/10/16/20221016163313542.svg"></noscript><img decoding="async" style="width:24px;height: 24px;float: right;" class="j-lazy" alt="如何在 Fedora Linux 中安装多媒体编码器" src="https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png" data-original="http://ytso-blog-oss-img.oss-accelerate.aliyuncs.com/wp-content/uploads/2022/10/16/20221016163313542.svg"><br class="clear"></section>
<div class="entry-readmore"><div class="entry-readmore-btn"></div></div>                                                        <div class="entry-copyright"><p>原创文章，作者：ItWorker，如若转载，请注明出处：https://blog.ytso.com/tech/pnotes/262812.html</p></div>                        </div>

                        <div class="entry-tag"><a href="https://blog.ytso.com/tag/%e6%b5%8f%e8%a7%88%e5%99%a8" rel="tag"># 浏览器</a><a href="https://blog.ytso.com/tag/fedora" rel="tag">Fedora</a><a href="https://blog.ytso.com/tag/firefox" rel="tag">FireFox</a><a href="https://blog.ytso.com/tag/github" rel="tag">GitHub</a><a href="https://blog.ytso.com/tag/go" rel="tag">go</a><a href="https://blog.ytso.com/tag/https" rel="tag">https</a></div>
                        <div class="entry-action">
                            <div class="btn-zan" data-id="262812"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up-fill"></use></svg></i> 赞 <span class="entry-action-num">(0)</span></div>
                                                    </div>

                        <div class="entry-bar">
                            <div class="entry-bar-inner">
                                                                <div class="entry-bar-info entry-bar-info2">
                                    <div class="info-item meta">
                                                                                    <a class="meta-item j-heart" href="javascript:;" data-id="262812"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-star"></use></svg></i> <span class="data">0</span></a>                                        <a class="meta-item" href="#comments"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i> <span class="data">0</span></a>                                                                            </div>
                                    <div class="info-item share">
                                                                                    <a class="meta-item mobile j-mobile-share" href="javascript:;" data-id="262812" data-qrcode="https://blog.ytso.com/tech/pnotes/262812.html">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> 生成海报                                            </a>
                                                                                    <a class="meta-item wechat" data-share="wechat" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item weibo" data-share="weibo" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item qq" data-share="qq" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item qzone" data-share="qzone" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qzone"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item douban" data-share="douban" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-douban"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item linkedin" data-share="linkedin" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-linkedin"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item facebook" data-share="facebook" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-facebook"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item twitter" data-share="twitter" target="_blank" rel="nofollow noopener noreferrer" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-twitter"></use></svg></i>                                            </a>
                                                                            </div>
                                    <div class="info-item act">
                                        <a href="javascript:;" id="j-reading"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-article"></use></svg></i></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                                            <div class="entry-page">
                    <div class="entry-page-prev entry-page-nobg">
                <a href="https://blog.ytso.com/tech/pnotes/291211.html" title="远程连接mysql8，报错10061 解决办法" rel="prev">
                    <span>远程连接mysql8，报错10061 解决办法</span>
                </a>
                <div class="entry-page-info">
                    <span class="pull-left"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-left-double"></use></svg></i> 上一篇</span>
                    <span class="pull-right">2022年10月16日 23:26</span>
                </div>
            </div>
                            <div class="entry-page-next j-lazy" style="background-image: url('https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png');" data-original="http://ytso-blog-oss-img.oss-accelerate.aliyuncs.com/wp-content/uploads/2022/10/16/20221016193313689.png">
                <a href="https://blog.ytso.com/tech/pnotes/288232.html" title="如何在 Linux Mint 中创建和切换工作区" rel="next">
                    <span>如何在 Linux Mint 中创建和切换工作区</span>
                </a>
                <div class="entry-page-info">
                    <span class="pull-right">下一篇 <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-double"></use></svg></i></span>
                    <span class="pull-left">2022年10月17日 00:49</span>
                </div>
            </div>
            </div>
                                                                <div class="entry-related-posts">
                            <h3 class="entry-related-title">相关推荐</h3><ul class="entry-related cols-3 post-loop post-loop-list"><li class="item">
    <a href="https://blog.ytso.com/tech/wp/245855.html" target="_blank" rel="bookmark">
        <span>网站规划－企业网站应该规划的内容</span>
    </a>
    <span class="date">2022年4月18日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/15173.html" target="_blank" rel="bookmark">
        <span>异常详解编程语言</span>
    </a>
    <span class="date">2021年7月19日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/261285.html" target="_blank" rel="bookmark">
        <span>网站建设之如何降低网站跳出率，降低网站进入障碍的方法</span>
    </a>
    <span class="date">2022年5月24日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/255417.html" target="_blank" rel="bookmark">
        <span>Logreduce：用 Python 和机器学习去除日志噪音</span>
    </a>
    <span class="date">2022年5月18日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/258287.html" target="_blank" rel="bookmark">
        <span>Linux基金会确认开源技术不受美国出口管制</span>
    </a>
    <span class="date">2022年5月20日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/252122.html" target="_blank" rel="bookmark">
        <span>倒排索引是翻译错误？一起来看翻车现场！</span>
    </a>
    <span class="date">2022年5月4日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/254989.html" target="_blank" rel="bookmark">
        <span>如何从命令行同时移动多种文件类型</span>
    </a>
    <span class="date">2022年5月18日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/pnotes/251868.html" target="_blank" rel="bookmark">
        <span>Spring Boot WebFlux Bootstrap 文件上传</span>
    </a>
    <span class="date">2022年5月3日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/download/165301.html" target="_blank" rel="bookmark">
        <span>Stellarium &#8211; 观星、拍银河，在电脑上模拟本地星空 [Win/macOS/Linux]</span>
    </a>
    <span class="date">2021年9月20日</span>
</li><li class="item">
    <a href="https://blog.ytso.com/tech/aiops/251306.html" target="_blank" rel="bookmark">
        <span>Bulma 响应式布局</span>
    </a>
    <span class="date">2022年5月2日</span>
</li></ul>                        </div>
                    
<div id="comments" class="entry-comments">
    <error>
    <code>wp_die</code>
    <title><![CDATA[WordPress &amp;rsaquo; Error]]></title>
    <message><![CDATA[&lt;h1&gt;Error establishing a Redis connection&lt;/h1&gt;
&lt;p&gt;To disable Redis, delete the &lt;code&gt;object-cache.php&lt;/code&gt; file in the &lt;code&gt;/wp-content/&lt;/code&gt; directory.&lt;/p&gt;
]]></message>
    <data>
        <status>500</status>
    </data>
</error>
<!--
Performance optimized by Redis Object Cache. Learn more: https://wprediscache.com

Retrieved 2212 objects (329 KB) from Redis using Predis (v2.4.0).
-->
