找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 13735|回复: 0

使用Alist程序搭建123云盘直链教程

[复制链接]
发表于 2021-12-17 16:19:02 | 显示全部楼层 |阅读模式
<p style="box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);">最近冒出一个123云盘,注册送2T容量,下载不限速,分享无需登录,简直是业界良心。看了下Alist的作者适配了123云盘,可以直接搭建直链使用。<span style="box-sizing: border-box; color: rgb(0, 0, 255);">搭建仅供学习研究,不建议用于生产环境大容量下载,毕竟123云盘是小公司,且无广告无VIP,容易薅倒闭。</span></p><p style="box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; color: rgb(51, 51, 51);">虽然之前写过Alist相关的<a href="http://www&#46;dwf135&#46;cn/1632&#46;html" target="_blank" rel="noopener" style="box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s;">教程</a>,但是版本升级了,安装教程也不太一样了,本次重新写。<br style="box-sizing: border-box;" />首先准备一个VPS,宝塔环境最好,新建站点</span></p><p style="box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);">打开项目地址<a href="https://github&#46;com/Xhofe/alist/releases" target="_blank" rel="noopener" style="box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s;">https://github&#46;com/Xhofe/alist/releases</a><br style="box-sizing: border-box;" />下载程序 一般都是X86架构的 选择alist_linux—amd64&#46;tar&#46;gz进行下载<br style="box-sizing: border-box;" /><a href="http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102405&#46;png" class="highslide-image" style="box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;"><img loading="lazy" class="alignnone size-full wp-image-2475" src="http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102405&#46;png" alt="" width="983" height="558" srcset="http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102405&#46;png 983w, 300w, 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />下载好解压,上传到宝塔站点根目录<br style=\"box-sizing: border-box;\" /><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_111622&#46;png\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2476\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_111622&#46;png\" alt=\"\" width=\"687\" height=\"439\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_111622&#46;png 687w, 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />然后SSH登录服务器<br style=\"box-sizing: border-box;\" />cd程序目录  <span style=\"box-sizing: border-box; color: rgb(0, 0, 255);\">cd /www/wwwroot/你的域名</span><br style=\"box-sizing: border-box;\" />赋予程序执行权限:<span style=\"box-sizing: border-box; color: rgb(0, 0, 255);\">chmod +x alist-linux-amd64</span><br style=\"box-sizing: border-box;\" />运行程序<span style=\"box-sizing: border-box; color: rgb(0, 0, 255);\">&#46;/alist-linux-amd64</span></p><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\"><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102440&#46;png\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2477\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102440&#46;png\" alt=\"\" width=\"839\" height=\"278\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_102440&#46;png 839w, 300w, 768w\" sizes=\"(max-width: 839px) 100vw, 839px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />运行后就可以通过服务器IP:5244打开了,如果腾讯云阿里云这些无法访问可能是端口没开,打不开也先别管<br style=\"box-sizing: border-box;\" />打开站点管理,反代以下,这样就可以用域名直接打开了<br style=\"box-sizing: border-box;\" /><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_103248&#46;png\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2479\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_103248&#46;png\" alt=\"\" width=\"875\" height=\"789\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_103248&#46;png 875w, 300w, 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />打开网址后默认密码是<span style=\"box-sizing: border-box; color: rgb(0, 0, 255);\">alist</span><br style=\"box-sizing: border-box;\" />进去点账号,添加 选择123pan  输入账号密码即可挂载</p><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\"><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105357&#46;png\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2480\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105357&#46;png\" alt=\"\" width=\"1654\" height=\"640\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105357&#46;png 1654w, 300w, 1024w, 768w, 1536w\" sizes=\"(max-width: 1654px) 100vw, 1654px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />返回首页 就可以看到挂载成功了  试下速度,基本满速。<br style=\"box-sizing: border-box;\" /><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105431&#46;png\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2481\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105431&#46;png\" alt=\"\" width=\"1141\" height=\"795\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-11-23_105431&#46;png 1141w, 300w, 1024w, 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" /><strong style=\"box-sizing: border-box;\">设置进程守护和开机自启</strong></p><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\"> </p><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\">SSH执行命令</p><div class=\"enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-linenumbers \" style=\"box-sizing: border-box; font-family: &quot;Source Code Pro&quot;, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, Courier, monospace; font-size: 12px; line-height: 1&#46;35em; overflow: hidden; white-space: pre-wrap; overflow-wrap: break-word; margin: 0px 0px 20px; padding: 0px; position: relative; direction: ltr; color: rgb(147, 147, 147); border-radius: 8px; border: 1px solid rgb(224, 224, 224); background-color: rgb(255, 255, 255);\"><div class=\"enlighter\" style=\"box-sizing: border-box; display: table; width: 778px; border-collapse: collapse; border-spacing: 0px; empty-cells: show; min-width: 100%; font-size: 1em; margin: 0px; padding: 0px; counter-reset: enlighter 0;\"><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170); border-radius: 0px 0px 8px 8px;\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">vim /usr/lib/systemd/system/alist&#46;service</span></div></div></div></div><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\">按i键进入编辑模式  输入以下命令  把里面的/www/wwwroot/d7&#46;d6&#46;cx 改成自己的路径</p><div class=\"enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-linenumbers \" style=\"box-sizing: border-box; font-family: &quot;Source Code Pro&quot;, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, Courier, monospace; font-size: 12px; line-height: 1&#46;35em; overflow: hidden; white-space: pre-wrap; overflow-wrap: break-word; margin: 0px 0px 20px; padding: 0px; position: relative; direction: ltr; color: rgb(147, 147, 147); border-radius: 8px; border: 1px solid rgb(224, 224, 224); background-color: rgb(255, 255, 255);\"><div class=\"enlighter\" style=\"box-sizing: border-box; display: table; width: 778px; border-collapse: collapse; border-spacing: 0px; empty-cells: show; min-width: 100%; font-size: 1em; margin: 0px; padding: 0px; counter-reset: enlighter 0;\"><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170); border-radius: 8px 8px 0px 0px;\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">[</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Unit</span><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">]</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Description=alist</span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">After=network&#46;target</span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"> </span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">[</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Service</span><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">]</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Type=simple</span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">WorkingDirectory=/www/wwwroot/d</span><span class=\"enlighter-x13\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 134, 179);\">7&#46;</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">d</span><span class=\"enlighter-x13\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 134, 179);\">6&#46;cx</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">ExecStart=/www/wwwroot/d</span><span class=\"enlighter-x13\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 134, 179);\">7&#46;</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">d</span><span class=\"enlighter-x13\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 134, 179);\">6&#46;cx</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">/alist-linux-amd</span><span class=\"enlighter-x13\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 134, 179);\">64</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"> -conf data/config&#46;json</span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Restart=on-failure</span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"> </span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170);\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">[</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">Install</span><span class=\"enlighter-g1\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(119, 119, 119);\">]</span><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\"></span></div></div><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170); border-radius: 0px 0px 8px 8px;\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">WantedBy=multi-user&#46;target</span></div></div></div></div><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\"><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200125&#46;jpg\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2520\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200125&#46;jpg\" alt=\"\" width=\"696\" height=\"288\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200125&#46;jpg 696w, 300w\" sizes=\"(max-width: 696px) 100vw, 696px\" style=\"box-sizing: border-box; height: auto; max-width: 100%;\" /></a><br style=\"box-sizing: border-box;\" />按esc退出编辑模式 再按两下大写的Z 保存退出<br style=\"box-sizing: border-box;\" />执行刷新命令</p><div class=\"enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-linenumbers \" style=\"box-sizing: border-box; font-family: &quot;Source Code Pro&quot;, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, Courier, monospace; font-size: 12px; line-height: 1&#46;35em; overflow: hidden; white-space: pre-wrap; overflow-wrap: break-word; margin: 0px 0px 20px; padding: 0px; position: relative; direction: ltr; color: rgb(147, 147, 147); border-radius: 8px; border: 1px solid rgb(224, 224, 224); background-color: rgb(255, 255, 255);\"><div class=\"enlighter\" style=\"box-sizing: border-box; display: table; width: 778px; border-collapse: collapse; border-spacing: 0px; empty-cells: show; min-width: 100%; font-size: 1em; margin: 0px; padding: 0px; counter-reset: enlighter 0;\"><div class=\"\" style=\"box-sizing: border-box; display: table-row; margin: 0px; border: 0px solid rgb(255, 255, 255); list-style: none; font-size: inherit; line-height: 1&#46;35em; min-height: 14px; color: rgb(170, 170, 170); border-radius: 0px 0px 8px 8px;\"><div style=\"box-sizing: border-box; display: table-cell; padding-left: 10px;\"><span class=\"enlighter-text\" style=\"box-sizing: border-box; margin: 0px; padding: 0px; line-height: inherit; font-size: 1em; font-family: inherit; color: rgb(0, 0, 0);\">systemctl daemon-reload</span></div></div></div></div><p style=\"box-sizing: border-box; margin-bottom: 1&#46;5em; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; color: rgb(86, 86, 86); line-height: 30px; font-size: 16px; background-color: rgb(255, 255, 255);\"><a href=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200201&#46;jpg\" class=\"highslide-image\" style=\"box-sizing: border-box; background-color: transparent; color: rgb(230, 116, 116); outline: none; transition: color 0&#46;2s ease-out 0s, border 0&#46;2s ease-out 0s, opacity 0&#46;2s ease-out 0s; cursor: url(&quot;graphics/zoomin&#46;cur&quot;), pointer;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-2521\" src=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200201&#46;jpg\" alt=\"\" width=\"679\" height=\"109\" srcset=\"http://www&#46;dwf135&#46;cn/wp-content/uploads/2021/11/2021-12-08_200201&#46;jpg 679w, 300w" sizes="(max-width: 679px) 100vw, 679px" style="box-sizing: border-box; height: auto; max-width: 100%;" /></a></p><ul style="box-sizing: border-box; margin: 0px 0px 1&#46;5em; list-style-position: initial; list-style-image: initial; padding: 5px 10px 5px 50px; color: rgb(130, 130, 130); border: 1px solid rgb(221, 221, 221); border-radius: 5px; font-family: miranafont, &quot;Hiragino Sans GB&quot;, STXihei, &quot;Microsoft YaHei&quot;, SimSun, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><li style="box-sizing: border-box; padding: 15px 0px; border-top: none;">启动: systemctl start alist</li><li style="box-sizing: border-box; padding: 15px 0px; border-top: 1px solid rgb(221, 221, 221);">关闭: systemctl stop alist</li><li style="box-sizing: border-box; padding: 15px 0px; border-top: 1px solid rgb(221, 221, 221);">自启: systemctl enable alist</li><li style="box-sizing: border-box; padding: 15px 0px; border-top: 1px solid rgb(221, 221, 221);">状态: systemctl status alist</li><li style="box-sizing: border-box; padding: 15px 0px; border-top: 1px solid rgb(221, 221, 221);">重启: systemctl restart alist</li></ul>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|腾飞在线 ( 冀ICP备05002530号 )

GMT+8, 2026-2-13 21:16 , Processed in 0.072685 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表