{"id":635,"date":"2022-05-31T20:48:14","date_gmt":"2022-05-31T12:48:14","guid":{"rendered":"http:\/\/yingxu.me\/?p=635"},"modified":"2022-05-31T20:50:47","modified_gmt":"2022-05-31T12:50:47","slug":"nextcloud%e9%87%8d%e7%bd%ae%e5%af%86%e7%a0%81","status":"publish","type":"post","link":"https:\/\/yingxu.me\/?p=635","title":{"rendered":"Nextcloud\u91cd\u7f6e\u5bc6\u7801"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>\u5207\u6362\u5230Nextcloud\u76ee\u5f55\u4e0b<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/www\/...<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6267\u884cocc\u547d\u4ee4\uff0c\u627e\u5230\u6240\u5c5e\u7528\u6237<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>cat occ<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"226\" src=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E6%89%BE%E7%94%A8%E6%88%B7.png?resize=678%2C226\" alt=\"\" class=\"wp-image-639\" srcset=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E6%89%BE%E7%94%A8%E6%88%B7.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E6%89%BE%E7%94%A8%E6%88%B7.png?resize=300%2C100&amp;ssl=1 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u67e5\u770b\u6709\u54ea\u4e9b\u7528\u6237<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u www php occ user:list<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"47\" src=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7php%E7%89%88%E6%9C%AC%E9%94%99%E8%AF%AF.png?resize=678%2C47\" alt=\"\" class=\"wp-image-637\" srcset=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7php%E7%89%88%E6%9C%AC%E9%94%99%E8%AF%AF.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Nextcloud%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7php%E7%89%88%E6%9C%AC%E9%94%99%E8%AF%AF.png?resize=300%2C21&amp;ssl=1 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-jetpack-markdown\"><p>\u9519\u8bef\u89e3\u51b3\u65b9\u6cd5\uff1a\u66f4\u6362\u7f51\u7ad9php\u7248\u672c<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"223\" src=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/%E6%9B%B4%E6%8D%A2php%E7%89%88%E6%9C%AC.png?resize=678%2C223\" alt=\"\" class=\"wp-image-638\" srcset=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/%E6%9B%B4%E6%8D%A2php%E7%89%88%E6%9C%AC.png?w=785&amp;ssl=1 785w, https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/%E6%9B%B4%E6%8D%A2php%E7%89%88%E6%9C%AC.png?resize=300%2C99&amp;ssl=1 300w, https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/%E6%9B%B4%E6%8D%A2php%E7%89%88%E6%9C%AC.png?resize=768%2C252&amp;ssl=1 768w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6b21\u6267\u884cocc\u547d\u4ee4 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u www php occ user:list<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"90\" src=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Next%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7.png?resize=558%2C90\" alt=\"\" class=\"wp-image-641\" srcset=\"https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Next%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7.png?w=558&amp;ssl=1 558w, https:\/\/i0.wp.com\/yingxu.me\/wp-content\/uploads\/2022\/05\/Next%E6%9F%A5%E7%9C%8B%E7%94%A8%E6%88%B7.png?resize=300%2C48&amp;ssl=1 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4fee\u6539\u7528\u6237\u5bc6\u7801<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u www php occ user:resetpassword \u7528\u6237\u540d#\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u7528\u6237\u540d<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>user \u76f8\u5173\u547d\u4ee4<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>user:add \u7528\u6237\u540d #\u6dfb\u52a0\u7528\u6237\nuser:delete \u7528\u6237\u540d #\u5220\u9664\u7528\u6237\nuser:disable \u7528\u6237\u540d #\u7981\u7528\u7528\u6237\nuser:enable \u7528\u6237\u540d #\u6fc0\u6d3b\u7528\u6237\nuser:info \u7528\u6237\u540d #\u67e5\u770b\u7528\u6237\u4fe1\u606f\nuser:lastseen \u7528\u6237\u540d #\u67e5\u770b\u7528\u6237\u6700\u540e\u767b\u5f55\u7684\u65f6\u95f4\nuser:report \u7528\u6237\u540d #\u5217\u51fa\u6709\u54ea\u4e9b\u7528\u6237\u8bbf\u95ee\nuser:resetpassword #\u91cd\u7f6e\u7528\u6237\u5bc6\u7801\nuser:setting # \u8bfb\u53d6\u548c\u4fee\u6539\u7528\u6237\u8bbe\u7f6e<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5207\u6362\u5230Nextcloud\u76ee\u5f55\u4e0b \u6267\u884cocc\u547d\u4ee4\uff0c\u627e\u5230\u6240\u5c5e\u7528\u6237 \u67e5\u770b\u6709\u54ea\u4e9b\u7528\u6237 \u518d\u6b21\u6267\u884cocc\u547d\u4ee4 \u4fee\u6539\u7528\u6237\u5bc6\u7801 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-635","post","type-post","status-publish","format-standard","hentry","category-wangluojishu"],"jetpack_shortlink":"https:\/\/wp.me\/p9MOBG-af","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/posts\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yingxu.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=635"}],"version-history":[{"count":1,"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/posts\/635\/revisions"}],"predecessor-version":[{"id":642,"href":"https:\/\/yingxu.me\/index.php?rest_route=\/wp\/v2\/posts\/635\/revisions\/642"}],"wp:attachment":[{"href":"https:\/\/yingxu.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yingxu.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yingxu.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}