zhenxun_bot/assets/js/37.a64202ca.js
2021-11-24 10:22:34 +08:00

1 line
2.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{570:function(s,t,a){"use strict";a.r(t);var e=a(8),n=Object(e.a)({},(function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("h1",{attrs:{id:"恭喜-经历困难之后到了最后一步-那就是持久化运行-0v"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#恭喜-经历困难之后到了最后一步-那就是持久化运行-0v"}},[s._v("#")]),s._v(" 恭喜!经历困难之后到了最后一步,那就是持久化运行 0v<")]),s._v(" "),a("div",{staticClass:"custom-block warning"},[a("p",{staticClass:"title"}),a("p",[s._v("本节教程为Linux持久化运行教程Windows可直接跳过")])]),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"title"}),a("p",[s._v("教程中使用的是较为简单的Screen如果你有其他工具的使用经验可以跳过本节。")])]),a("h1",{attrs:{id:"即刻开始-以ubuntu为例"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#即刻开始-以ubuntu为例"}},[s._v("#")]),s._v(" 即刻开始以Ubuntu为例")]),s._v(" "),a("p",[s._v("1.安装screen")]),s._v(" "),a("div",{staticClass:"language- line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[s._v("sudo apt install screen\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("p",[s._v("2.创建会话")]),s._v(" "),a("div",{staticClass:"language- line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[s._v("screen -S zhenxun\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("p",[s._v("3.进入真寻目录")]),s._v(" "),a("div",{staticClass:"language- line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[s._v("cd .....\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("p",[s._v("4.启动!")]),s._v(" "),a("div",{staticClass:"language- line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[s._v("python3 bot.py\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("h1",{attrs:{id:"如果退出或关闭后"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#如果退出或关闭后"}},[s._v("#")]),s._v(" 如果退出或关闭后")]),s._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"title"}),a("p",[s._v("使用以下命令恢复会话")]),s._v(" "),a("div",{staticClass:"language- line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[s._v("screen -r zhenxun\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])])])])}),[],!1,null,null,null);t.default=n.exports}}]);