{"id":2113,"date":"2017-04-24T07:17:45","date_gmt":"2017-04-23T23:17:45","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2113"},"modified":"2017-04-24T07:17:45","modified_gmt":"2017-04-23T23:17:45","slug":"seafile%e5%8d%87%e7%ba%a7%e6%93%8d%e4%bd%9c%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/chengxujiaoben\/php\/seafile%e5%8d%87%e7%ba%a7%e6%93%8d%e4%bd%9c%e8%af%a6%e8%a7%a3\/","title":{"rendered":"seafile\u5347\u7ea7\u64cd\u4f5c\u8be6\u89e3"},"content":{"rendered":"<div class=\"search-noresults\">\n<section class=\"normal markdown-section\"><br id=\"seafile\" class=\"comments-section\" \/><\/p>\n<h2 id=\"\u4e3b\u7248\u672c\u5347\u7ea7-\u6bd4\u5982\u4ece-2x-\u5347\u7ea7\u5230-3y\">\u4e3b\u7248\u672c\u5347\u7ea7 (\u6bd4\u5982\u4ece 2.x \u5347\u7ea7\u5230 3.y)<\/h2>\n<p class=\"comments-section\">\u5047\u8bbe\u4f60\u73b0\u5728\u4f7f\u7528 2.1.0 \u7248\u672c\uff0c\u60f3\u8981\u5347\u7ea7\u5230 3.1.0 \u7248\u672c\uff0c\u4e0b\u8f7d\u3001\u89e3\u538b\u65b0\u7248\u672c\u5b89\u88c5\u5305\u540e\uff0c\u5f97\u5230\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<pre>haiwen\r\n   -- seafile-server-2.1.0\r\n   -- seafile-server-3.1.0\r\n   -- ccnet\r\n   -- seafile-data\r\n<\/pre>\n<p class=\"comments-section\">\u5347\u7ea7\u5230 3.1.0\uff1a<\/p>\n<ol>\n<li>\n<p class=\"comments-section\">\u5173\u95ed Seafile \u670d\u52a1\uff08\u5982\u679c\u6b63\u5728\u8fd0\u884c\uff09\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-2.1.0\r\n.\/seahub.sh stop\r\n.\/seafile.sh stop\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u67e5\u770b <em>seafile-server-3.1.0<\/em> \u76ee\u5f55\u4e0b\u7684\u5347\u7ea7\u811a\u672c\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-3.1.0\r\nls upgrade\/upgrade_*\r\n<\/code><\/pre>\n<p class=\"comments-section\">\u53ef\u4ee5\u770b\u5230\u5347\u7ea7\u811a\u672c\u6587\u4ef6\u5982\u4e0b:<\/p>\n<pre><code>...\r\nupgrade\/upgrade_2.0_2.1.sh\r\nupgrade\/upgrade_2.1_2.2.sh\r\nupgrade\/upgrade_2.2_3.0.sh\r\nupgrade\/upgrade_3.0_3.1.sh\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u4ece\u5f53\u524d\u7248\u672c\uff082.1.0\uff09\u5f00\u59cb\uff0c\u6309\u987a\u5e8f\u8fd0\u884c\u4ee5\u4e0b\u811a\u672c\uff1a<\/p>\n<pre><code>upgrade\/upgrade_2.1_2.2.sh\r\nupgrade\/upgrade_2.2_3.0.sh\r\nupgrade\/upgrade_3.0_3.1.sh\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u542f\u52a8\u65b0\u7248\u672c Seafile \u670d\u52a1\u5668\uff0c\u5b8c\u6210\u5347\u7ea7\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-3.1.0\/\r\n.\/seafile.sh start\r\n.\/seahub.sh start\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"\u5c0f\u7248\u672c\u5347\u7ea7-\u6bd4\u5982\u4ece-30x-\u5347\u7ea7\u5230-32y\">\u5c0f\u7248\u672c\u5347\u7ea7 (\u6bd4\u5982\u4ece 3.0.x \u5347\u7ea7\u5230 3.2.y)<\/h2>\n<p class=\"comments-section\">\u5047\u8bbe\u4f60\u73b0\u5728\u4f7f\u7528 3.0.0 \u7248\u672c\uff0c\u60f3\u8981\u5347\u7ea7\u5230 3.2.2 \u7248\u672c\uff0c\u4e0b\u8f7d\u3001\u89e3\u538b\u65b0\u7248\u672c\u5b89\u88c5\u5305\uff0c\u5f97\u5230\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<pre>haiwen\r\n   -- seafile-server-3.0.0\r\n   -- seafile-server-3.2.2\r\n   -- ccnet\r\n   -- seafile-data\r\n<\/pre>\n<p class=\"comments-section\">\u5347\u7ea7\u5230 3.2.2\uff1a<\/p>\n<ol>\n<li>\n<p class=\"comments-section\">\u5173\u95ed Seafile \u670d\u52a1\uff08\u5982\u679c\u6b63\u5728\u8fd0\u884c\uff09\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-3.0.0\r\n.\/seahub.sh stop\r\n.\/seafile.sh stop\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u67e5\u770b <em>seafile-server-3.2.2<\/em> \u76ee\u5f55\u4e0b\u7684\u5347\u7ea7\u811a\u672c\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-3.2.2\r\nls upgrade\/upgrade_*\r\n<\/code><\/pre>\n<p class=\"comments-section\">\u53ef\u4ee5\u770b\u5230\u5347\u7ea7\u811a\u672c\u6587\u4ef6\u5982\u4e0b:<\/p>\n<pre><code>...\r\nupgrade\/upgrade_2.2_3.0.sh\r\nupgrade\/upgrade_3.0_3.1.sh\r\nupgrade\/upgrade_3.1_3.2.sh\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u4ece\u5f53\u524d\u7248\u672c\uff083.0.0\uff09\u5f00\u59cb\uff0c\u6309\u987a\u5e8f\u8fd0\u884c\u4ee5\u4e0b\u811a\u672c\uff1a<\/p>\n<pre><code>upgrade\/upgrade_3.0_3.1.sh\r\nupgrade\/upgrade_3.1_3.2.sh\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u542f\u52a8\u65b0\u7248\u672c Seafile \u670d\u52a1\u5668\uff0c\u5b8c\u6210\u5347\u7ea7\uff1a<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> haiwen\/seafile-server-3.2.2\/\r\n.\/seafile.sh start\r\n.\/seahub.sh start\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"\u7ef4\u62a4\u7248\u672c\u5347\u7ea7-\u6bd4\u5982\u4ece-310-\u5347\u7ea7\u5230-312\">\u7ef4\u62a4\u7248\u672c\u5347\u7ea7 (\u6bd4\u5982\u4ece 3.1.0 \u5347\u7ea7\u5230 3.1.2)<\/h2>\n<p class=\"comments-section\">\u7c7b\u4f3c\u4ece 3.1.0 \u5347\u7ea7\u5230 3.1.2\uff0c\u4e3a\u7ef4\u62a4\u7248\u672c\u5347\u7ea7\u3002<\/p>\n<ol>\n<li>\u5173\u95ed Seafile \u670d\u52a1\uff08\u5982\u679c\u6b63\u5728\u8fd0\u884c\uff09\uff1b<\/li>\n<li>\n<p class=\"comments-section\">\u5bf9\u4e8e\u6b64\u7c7b\u5347\u7ea7\uff0c\u53ea\u9700\u66f4\u65b0\u5934\u50cf\u94fe\u63a5\uff0c\u76f4\u63a5\u8fd0\u884c\u5347\u7ea7\u811a\u672c\u5373\u53ef(\u56e0\u4e3a\u5386\u53f2\u539f\u56e0\uff0c\u6b64\u5347\u7ea7\u811a\u672c\u547d\u540d\u4e3a <code>minor-upgrade.sh<\/code>):<\/p>\n<pre><code class=\"lang-sh\"><span class=\"hljs-built_in\">cd<\/span> seafile-server-3.1.2\r\nupgrade\/minor-upgrade.sh\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"comments-section\">\u8fd0\u884c\u5347\u7ea7\u811a\u672c\u4e4b\u540e\uff0c\u542f\u52a8\u65b0\u7248\u672c Seafile \u670d\u52a1\u5668\uff0c\u5b8c\u6210\u5347\u7ea7\uff1b<\/p>\n<\/li>\n<li>\n<p class=\"comments-section\">\u5982\u679c\u65b0\u7248\u672c\u8fd0\u884c\u6b63\u5e38\uff0c\u53ef\u4ee5\u5220\u9664\u65e7\u7248\u672c Seafile \u6587\u4ef6\u3002<\/p>\n<pre><code class=\"lang-sh\">rm -rf seafile-server-3.1.0\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u7248\u672c\u5347\u7ea7 (\u6bd4\u5982\u4ece 2.x \u5347\u7ea7\u5230 3.y) \u5047\u8bbe\u4f60\u73b0\u5728\u4f7f\u7528 2.1.0 \u7248\u672c\uff0c\u60f3\u8981\u5347\u7ea7\u5230 3.1.0 \u7248\u672c &#8230; <a title=\"seafile\u5347\u7ea7\u64cd\u4f5c\u8be6\u89e3\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/chengxujiaoben\/php\/seafile%e5%8d%87%e7%ba%a7%e6%93%8d%e4%bd%9c%e8%af%a6%e8%a7%a3\/\" aria-label=\"\u9605\u8bfb seafile\u5347\u7ea7\u64cd\u4f5c\u8be6\u89e3\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49,6,11],"tags":[],"class_list":["post-2113","post","type-post","status-publish","format-standard","hentry","category-linux","category-php","category-chengxujiaoben"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2113"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2113\/revisions"}],"predecessor-version":[{"id":2114,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2113\/revisions\/2114"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}