{"id":52783,"date":"2024-10-09T05:39:14","date_gmt":"2024-10-08T21:39:14","guid":{"rendered":"https:\/\/server.hk\/cnblog\/52783\/"},"modified":"2024-11-14T10:37:27","modified_gmt":"2024-11-14T02:37:27","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-ubuntu-18-04%e3%80%8116-04-%e4%b8%ad%e5%ae%89%e8%a3%9d-rednotebook-2-5","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/52783\/","title":{"rendered":"\u5982\u4f55\u5728 Ubuntu 18.04\u300116.04 \u4e2d\u5b89\u88dd RedNotebook 2.5"},"content":{"rendered":"<h1 id=\"%e5%a6%82%e4%bd%95%e5%9c%a8-ubuntu-18-04%e3%80%8116-04-%e4%b8%ad%e5%ae%89%e8%a3%9d-rednotebook-2-5-qJSPYOBYPh\">\u5982\u4f55\u5728 Ubuntu 18.04\u300116.04 \u4e2d\u5b89\u88dd RedNotebook 2.5<\/h1>\n<p>RedNotebook \u662f\u4e00\u6b3e\u529f\u80fd\u5f37\u5927\u7684\u65e5\u8a18\u61c9\u7528\u7a0b\u5f0f\uff0c\u5141\u8a31\u7528\u6236\u8f15\u9b06\u5730\u8a18\u9304\u65e5\u5e38\u751f\u6d3b\u3001\u60f3\u6cd5\u548c\u4e8b\u4ef6\u3002\u5b83\u63d0\u4f9b\u4e86\u8c50\u5bcc\u7684\u529f\u80fd\uff0c\u5305\u62ec\u6a19\u7c64\u3001\u65e5\u66c6\u8996\u5716\u548c\u641c\u7d22\u529f\u80fd\uff0c\u8b93\u7528\u6236\u80fd\u5920\u65b9\u4fbf\u5730\u7ba1\u7406\u548c\u67e5\u627e\u904e\u53bb\u7684\u689d\u76ee\u3002\u5728\u9019\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5011\u5c07\u4ecb\u7d39\u5982\u4f55\u5728 Ubuntu 18.04 \u548c 16.04 \u4e2d\u5b89\u88dd RedNotebook 2.5\u3002<\/p>\n<h2 id=\"%e7%b3%bb%e7%b5%b1%e9%9c%80%e6%b1%82-qJSPYOBYPh\">\u7cfb\u7d71\u9700\u6c42<\/h2>\n<p>\u5728\u5b89\u88dd RedNotebook \u4e4b\u524d\uff0c\u78ba\u4fdd\u60a8\u7684\u7cfb\u7d71\u7b26\u5408\u4ee5\u4e0b\u8981\u6c42\uff1a<\/p>\n<ul>\n<li>Ubuntu 16.04 \u6216 18.04<\/li>\n<li>Python 2.7 \u6216 3.x<\/li>\n<li>GTK+ 3.0<\/li>\n<\/ul>\n<h2 id=\"%e5%ae%89%e8%a3%9d%e6%ad%a5%e9%a9%9f-qJSPYOBYPh\">\u5b89\u88dd\u6b65\u9a5f<\/h2>\n<h3 id=\"1-%e6%9b%b4%e6%96%b0%e7%b3%bb%e7%b5%b1-qJSPYOBYPh\">1. \u66f4\u65b0\u7cfb\u7d71<\/h3>\n<p>\u5728\u958b\u59cb\u5b89\u88dd\u4e4b\u524d\uff0c\u5efa\u8b70\u5148\u66f4\u65b0\u60a8\u7684\u7cfb\u7d71\uff0c\u4ee5\u78ba\u4fdd\u6240\u6709\u7684\u5305\u90fd\u662f\u6700\u65b0\u7684\u3002\u6253\u958b\u7d42\u7aef\u6a5f\uff0c\u8f38\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<h3 id=\"2-%e5%ae%89%e8%a3%9d%e5%bf%85%e8%a6%81%e7%9a%84%e4%be%9d%e8%b3%b4%e5%8c%85-qJSPYOBYPh\">2. \u5b89\u88dd\u5fc5\u8981\u7684\u4f9d\u8cf4\u5305<\/h3>\n<p>RedNotebook \u9700\u8981\u4e00\u4e9b\u4f9d\u8cf4\u5305\u624d\u80fd\u6b63\u5e38\u904b\u884c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88dd\u9019\u4e9b\u4f9d\u8cf4\u5305\uff1a<\/p>\n<pre><code>sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0<\/code><\/pre>\n<h3 id=\"3-%e4%b8%8b%e8%bc%89-rednotebook-qJSPYOBYPh\">3. \u4e0b\u8f09 RedNotebook<\/h3>\n<p>\u63a5\u4e0b\u4f86\uff0c\u60a8\u9700\u8981\u4e0b\u8f09 RedNotebook \u7684\u6700\u65b0\u7248\u672c\u3002\u60a8\u53ef\u4ee5\u5f9e\u5b98\u65b9\u7db2\u7ad9\u6216\u4f7f\u7528 wget \u547d\u4ee4\u76f4\u63a5\u4e0b\u8f09\uff1a<\/p>\n<pre><code>wget https:\/\/github.com\/jendrikseipp\/rednotebook\/releases\/download\/2.5\/RedNotebook-2.5.tar.gz<\/code><\/pre>\n<h3 id=\"4-%e8%a7%a3%e5%a3%93%e7%b8%ae%e4%b8%8b%e8%bc%89%e7%9a%84%e6%aa%94%e6%a1%88-qJSPYOBYPh\">4. \u89e3\u58d3\u7e2e\u4e0b\u8f09\u7684\u6a94\u6848<\/h3>\n<p>\u4e0b\u8f09\u5b8c\u6210\u5f8c\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u58d3\u7e2e\u6a94\u6848\uff1a<\/p>\n<pre><code>tar -xvzf RedNotebook-2.5.tar.gz<\/code><\/pre>\n<h3 id=\"5-%e5%ae%89%e8%a3%9d-rednotebook-qJSPYOBYPh\">5. \u5b89\u88dd RedNotebook<\/h3>\n<p>\u9032\u5165\u89e3\u58d3\u7e2e\u5f8c\u7684\u76ee\u9304\uff0c\u7136\u5f8c\u904b\u884c\u5b89\u88dd\u547d\u4ee4\uff1a<\/p>\n<pre><code>cd RedNotebook-2.5\nsudo python3 setup.py install<\/code><\/pre>\n<h3 id=\"6-%e5%95%9f%e5%8b%95-rednotebook-qJSPYOBYPh\">6. \u555f\u52d5 RedNotebook<\/h3>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u53ef\u4ee5\u901a\u904e\u7d42\u7aef\u6a5f\u555f\u52d5 RedNotebook\uff0c\u8f38\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>rednotebook<\/code><\/pre>\n<h2 id=\"%e4%bd%bf%e7%94%a8-rednotebook-qJSPYOBYPh\">\u4f7f\u7528 RedNotebook<\/h2>\n<p>\u555f\u52d5 RedNotebook \u5f8c\uff0c\u60a8\u5c07\u770b\u5230\u4e00\u500b\u53cb\u597d\u7684\u7528\u6236\u754c\u9762\u3002\u60a8\u53ef\u4ee5\u958b\u59cb\u5275\u5efa\u65b0\u7684\u65e5\u8a18\u689d\u76ee\uff0c\u4f7f\u7528\u6a19\u7c64\u4f86\u7d44\u7e54\u60a8\u7684\u5167\u5bb9\uff0c\u4e26\u5229\u7528\u65e5\u66c6\u8996\u5716\u4f86\u67e5\u770b\u904e\u53bb\u7684\u689d\u76ee\u3002RedNotebook \u9084\u652f\u6301\u5c0e\u51fa\u529f\u80fd\uff0c\u8b93\u60a8\u53ef\u4ee5\u5c07\u65e5\u8a18\u5167\u5bb9\u5c0e\u51fa\u70ba HTML \u6216 Markdown \u683c\u5f0f\u3002<\/p>\n<h2 id=\"%e5%b8%b8%e8%a6%8b%e5%95%8f%e9%a1%8c-qJSPYOBYPh\">\u5e38\u898b\u554f\u984c<\/h2>\n<h3 id=\"1-%e5%a6%82%e4%bd%95%e5%8d%b8%e8%bc%89-rednotebook%ef%bc%9f-qJSPYOBYPh\">1. \u5982\u4f55\u5378\u8f09 RedNotebook\uff1f<\/h3>\n<p>\u5982\u679c\u60a8\u9700\u8981\u5378\u8f09 RedNotebook\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>sudo apt remove rednotebook<\/code><\/pre>\n<h3 id=\"2-rednotebook-%e6%98%af%e5%90%a6%e6%94%af%e6%8c%81%e5%a4%9a%e8%aa%9e%e8%a8%80%ef%bc%9f-qJSPYOBYPh\">2. RedNotebook \u662f\u5426\u652f\u6301\u591a\u8a9e\u8a00\uff1f<\/h3>\n<p>\u662f\u7684\uff0cRedNotebook \u652f\u6301\u591a\u7a2e\u8a9e\u8a00\uff0c\u60a8\u53ef\u4ee5\u5728\u8a2d\u7f6e\u4e2d\u9078\u64c7\u6240\u9700\u7684\u8a9e\u8a00\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-qJSPYOBYPh\">\u7e3d\u7d50<\/h2>\n<p>\u5728 Ubuntu 18.04 \u548c 16.04 \u4e2d\u5b89\u88dd RedNotebook 2.5 \u662f\u4e00\u500b\u7c21\u55ae\u7684\u904e\u7a0b\uff0c\u53ea\u9700\u5e7e\u500b\u6b65\u9a5f\u5373\u53ef\u5b8c\u6210\u3002\u9019\u6b3e\u61c9\u7528\u7a0b\u5f0f\u4e0d\u50c5\u529f\u80fd\u5f37\u5927\uff0c\u9084\u80fd\u5e6b\u52a9\u7528\u6236\u66f4\u597d\u5730\u7ba1\u7406\u65e5\u5e38\u751f\u6d3b\u3002\u5982\u679c\u60a8\u6b63\u5728\u5c0b\u627e\u7a69\u5b9a\u7684 <a href=\"https:\/\/server.hk\">VPS<\/a> \u89e3\u6c7a\u65b9\u6848\u4f86\u904b\u884c\u60a8\u7684\u61c9\u7528\u7a0b\u5f0f\uff0cServer.HK \u63d0\u4f9b\u591a\u7a2e\u9078\u64c7\uff0c\u6eff\u8db3\u4e0d\u540c\u9700\u6c42\u3002\u7121\u8ad6\u662f <a href=\"https:\/\/server.hk\">\u9999\u6e2f\u4f3a\u670d\u5668<\/a> \u9084\u662f <a href=\"https:\/\/server.hk\">\u96f2\u4f3a\u670d\u5668<\/a>\uff0c\u90fd\u80fd\u70ba\u60a8\u63d0\u4f9b\u53ef\u9760\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b78\u7fd2\u5982\u4f55\u5728 Ubuntu 18.04 \u548c 16.04 \u4e2d\u5b89\u88dd RedNotebook 2.5\uff0c\u8f15\u9b06\u8a18\u9304\u548c\u7ba1\u7406\u60a8\u7684\u7b46\u8a18\u8207\u65e5\u8a8c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-52783","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/52783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=52783"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/52783\/revisions"}],"predecessor-version":[{"id":52784,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/52783\/revisions\/52784"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=52783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=52783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=52783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}