{"id":49,"date":"2021-01-14T13:49:21","date_gmt":"2021-01-14T05:49:21","guid":{"rendered":"http:\/\/www.cygzs.net\/?p=49"},"modified":"2021-08-30T16:25:58","modified_gmt":"2021-08-30T08:25:58","slug":"centos7%e6%90%ad%e5%bb%ba%e5%bc%80%e6%ba%90%e4%b8%aa%e4%ba%ba%e7%bd%91%e7%9b%98nextcloud","status":"publish","type":"post","link":"https:\/\/www.cygzs.net\/?p=49","title":{"rendered":"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">yum install -y wget unzip bzip2 vim lrzsz screen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">yum install -y mariadb mariadb-server mariadb-devel<br>systemctl enable mariadb.service<br>systemctl daemon-reload<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir \/etc\/systemd\/system\/mariadb.service.d<br>cat &gt; \/etc\/systemd\/system\/mariadb.service.d\/limits.conf &lt;&lt;EOF<br>[Service]<br>LimitNOFILE=10000<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EOF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -p \/data\/database\/mysql<br>chown mysql:mysql \/data\/database\/mysql<br>sed -i &#8220;\/datadir\/c datadir=\/data\/database\/mysql&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a long_query_time=10&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a slow_query_log=1&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a innodb_file_per_table=1&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a max_connections=5000&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a max_allowed_packet=1024M&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a collation-server = utf8_general_ci&#8221; \/etc\/my.cnf<br>sed -i &#8220;\/instructions\/a character-set-server = utf8&#8221; \/etc\/my.cnf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl start mariadb.service<br>tr -dc A-Za-z0-9 &lt; \/dev\/urandom | head -c 16 | xargs &gt; \/data\/mysql_root<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mysql -uroot -e &#8220;delete from mysql.user where user=&#8221;;update mysql.user set password=password(&#8216;`cat \/data\/mysql_root`&#8217;) where user=&#8217;root&#8217;;FLUSH PRIVILEGES;&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">rpm -ivh https:\/\/mirrors.aliyun.com\/epel\/epel-release-latest-7.noarch.rpm<br>yum install -y nginx<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">rpm -Uvh https:\/\/mirror.webtatic.com\/yum\/el7\/webtatic-release.rpm<br>yum install -y php72w-devel php72w-pear php72w-pecl php72w-gd php72w-opcache php72w-cli php72w-pdo php72w-process php72w-pecl-apcu php72w-mcrypt php72w-mysql php72w-fpm php72w-pecl-memcached php72w-common php72w-xml php72w-mbstring php72w-pecl-igbinary php72w-json php72w-pecl-imagick* php72w-xml php72w-cli php72w-gd php72w-intl php72w-mbstring php72w-process php72w-pecl-zip<br>#yum install -y php72w-pecl-redis5 redis libsmbclient libsmbclient-devel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mysql -u root -p`cat \/data\/mysql_root`<br>create database nextcloud_db;<br>grant all privileges on nextcloud_db.* to nextcloud@localhost identified by &#8216;passwd&#8217;;<br>flush privileges;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -p \/etc\/nginx\/cert\/<br>cd \/etc\/nginx\/cert\/<br>openssl req -new -x509 -days 365 -nodes -out \/etc\/nginx\/cert\/nextcloud.crt -keyout \/etc\/nginx\/cert\/nextcloud.key<br>chmod 600 \/etc\/nginx\/cert\/*<br>chmod 700 \/etc\/nginx\/cert<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir \/data\/web\/<br>cd \/data\/web\/<br>wget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-18.0.3.tar.bz2<br>tar jxf nextcloud-18.0.3.tar.bz2<br>chown nginx:nginx -R nextcloud\/<br>cd \/data\/web\/nextcloud<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">vim \/etc\/php-fpm.d\/www.conf<br>user = nginx &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/\u5c06\u7528\u6237\u548c\u7ec4\u90fd\u6539\u4e3anginx<br>group = nginx<br>listen = 127.0.0.1:9000<br>env[HOSTNAME] = $HOSTNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/\u5c06\u4ee5\u4e0b\u51e0\u884c\uff0c\u53bb\u6389\u6ce8\u91ca<br>env[PATH] = \/usr\/local\/bin:\/usr\/bin:\/bin<br>env[TMP] = \/tmp<br>env[TMPDIR] = \/tmp<br>env[TEMP] = \/tmp<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -p \/var\/lib\/php\/session<br>mkdir \/var\/lib\/php\/wsdlcache<br>chown nginx:nginx -R \/var\/lib\/php\/session<br>chown nginx:nginx -R \/var\/lib\/php\/wsdlcache<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd \/etc\/nginx\/conf.d\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cat &gt; nextcloud.conf &lt;&lt; EOF<br>upstream php-handler {<br>&nbsp; &nbsp;server 127.0.0.1:9000;<br>&nbsp; &nbsp;#server unix:\/var\/run\/php5-fpm.sock;<br>}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">server {<br>&nbsp; &nbsp;listen 80;<br>&nbsp; &nbsp;server_name localhost;<br>&nbsp; &nbsp;# enforce https<br>&nbsp; &nbsp;rewrite ^(.*)$ https:\/\/$host$1 permanent;<br>}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">server {<br>&nbsp; &nbsp;listen 443 ssl;<br>&nbsp; &nbsp;server_name localhost;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;ssl_certificate \/etc\/nginx\/cert\/nextcloud.crt;<br>&nbsp; &nbsp;ssl_certificate_key \/etc\/nginx\/cert\/nextcloud.key;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# Add headers to serve security related headers<br>&nbsp; &nbsp;# Before enabling Strict-Transport-Security headers please read into this<br>&nbsp; &nbsp;# topic first.<br>&nbsp; &nbsp;add_header Strict-Transport-Security &#8220;max-age=15768000;<br>&nbsp; &nbsp;includeSubDomains; preload;&#8221;;<br>&nbsp; &nbsp;add_header X-Content-Type-Options nosniff;<br>&nbsp; &nbsp;add_header X-Frame-Options &#8220;SAMEORIGIN&#8221;;<br>&nbsp; &nbsp;add_header X-XSS-Protection &#8220;1; mode=block&#8221;;<br>&nbsp; &nbsp;add_header X-Robots-Tag none;<br>&nbsp; &nbsp;add_header X-Download-Options noopen;<br>&nbsp; &nbsp;add_header X-Permitted-Cross-Domain-Policies none;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# Path to the root of your installation<br>&nbsp; &nbsp;root \/data\/web\/nextcloud;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location = \/robots.txt {<br>&nbsp; &nbsp; &nbsp; &nbsp;allow all;<br>&nbsp; &nbsp; &nbsp; &nbsp;log_not_found off;<br>&nbsp; &nbsp; &nbsp; &nbsp;access_log off;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# The following 2 rules are only needed for the user_webfinger app.<br>&nbsp; &nbsp;# Uncomment it if you&#8217;re planning to use this app.<br>&nbsp; &nbsp;#rewrite ^\/.well-known\/host-meta \/public.php?service=host-meta last;<br>&nbsp; &nbsp;#rewrite ^\/.well-known\/host-meta.json \/public.php?service=host-meta-json<br>&nbsp; &nbsp;# last;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location = \/.well-known\/carddav {<br>&nbsp; &nbsp; &nbsp;return 301 $scheme:\/\/$host\/remote.php\/dav;<br>&nbsp; &nbsp;}<br>&nbsp; &nbsp;location = \/.well-known\/caldav {<br>&nbsp; &nbsp; &nbsp;return 301 $scheme:\/\/$host\/remote.php\/dav;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# set max upload size<br>&nbsp; &nbsp;client_max_body_size 10240M; &nbsp; &nbsp;# \u4e0a\u4f20\u6587\u4ef6\u6700\u5927\u9650\u5236\uff0cphp.ini\u4e2d\u4e5f\u8981\u4fee\u6539\uff0c\u6700\u540e\u4f18\u5316\u65f6\u4f1a\u63d0\u53ca\u3002<br>&nbsp; &nbsp;fastcgi_buffers 64 4K;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# Disable gzip to avoid the removal of the ETag header<br>&nbsp; &nbsp;gzip on;<br>&nbsp; &nbsp;gzip_vary on;<br>&nbsp; &nbsp;gzip_comp_level 4;<br>&nbsp; &nbsp;gzip_min_length 256;<br>&nbsp; &nbsp;gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;<br>&nbsp; &nbsp;gzip_types application\/atom+xml application\/javascript application\/json application\/ld+json application\/manifest+json application\/rss+xml application\/vnd.geo+json application\/vnd.ms-fontobject application\/x-font-ttf application\/x-web-app-manifest+json application\/xhtml+xml application\/xml font\/opentype image\/bmp image\/svg+xml image\/x-icon text\/cache-manifest text\/css text\/plain text\/vcard text\/vnd.rim.location.xloc text\/vtt text\/x-component text\/x-cross-domain-policy;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# Uncomment if your server is build with the ngx_pagespeed module<br>&nbsp; &nbsp;# This module is currently not supported.<br>&nbsp; &nbsp;#pagespeed off;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location \/ {<br>&nbsp; &nbsp; &nbsp; &nbsp;rewrite ^ \/index.php$uri;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location ~ ^\/(?:build|tests|config|lib|3rdparty|templates|data)\/ {<br>&nbsp; &nbsp; &nbsp; &nbsp;deny all;<br>&nbsp; &nbsp;}<br>&nbsp; &nbsp;location ~ ^\/(?:\\.|autotest|occ|issue|indie|db_|console) {<br>&nbsp; &nbsp; &nbsp; &nbsp;deny all;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|core\/templates\/40[34])\\.php(?:$|\/) {<br>&nbsp; &nbsp; &nbsp; &nbsp;include fastcgi_params;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_split_path_info ^(.+\\.php)(\/.*)$;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param PATH_INFO $fastcgi_path_info;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param HTTPS on;<br>&nbsp; &nbsp; &nbsp; &nbsp;#Avoid sending the security headers twice<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param modHeadersAvailable true;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param front_controller_active true;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_pass php-handler;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_intercept_errors on;<br>&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_request_buffering off;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location ~ ^\/(?:updater|ocs-provider)(?:$|\/) {<br>&nbsp; &nbsp; &nbsp; &nbsp;try_files $uri\/ =404;<br>&nbsp; &nbsp; &nbsp; &nbsp;index index.php;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;# Adding the cache control header for js and css files<br>&nbsp; &nbsp;# Make sure it is BELOW the PHP block<br>&nbsp; &nbsp;location ~* \\.(?:css|js)$ {<br>&nbsp; &nbsp; &nbsp; &nbsp;try_files $uri \/index.php$uri$is_args$args;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header Cache-Control &#8220;public, max-age=7200&#8221;;<br>&nbsp; &nbsp; &nbsp; &nbsp;# Add headers to serve security related headers (It is intended to<br>&nbsp; &nbsp; &nbsp; &nbsp;# have those duplicated to the ones above)<br>&nbsp; &nbsp; &nbsp; &nbsp;# Before enabling Strict-Transport-Security headers please read into<br>&nbsp; &nbsp; &nbsp; &nbsp;# this topic first.<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header Strict-Transport-Security &#8220;max-age=15768000;includeSubDomains; preload;&#8221;;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-Content-Type-Options nosniff;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-Frame-Options &#8220;SAMEORIGIN&#8221;;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-XSS-Protection &#8220;1; mode=block&#8221;;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-Robots-Tag none;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-Download-Options noopen;<br>&nbsp; &nbsp; &nbsp; &nbsp;add_header X-Permitted-Cross-Domain-Policies none;<br>&nbsp; &nbsp; &nbsp; &nbsp;# Optional: Don&#8217;t log access to assets<br>&nbsp; &nbsp; &nbsp; &nbsp;access_log off;<br>&nbsp; &nbsp;}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp;location ~* \\.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {<br>&nbsp; &nbsp; &nbsp; &nbsp;try_files $uri \/index.php$uri$is_args$args;<br>&nbsp; &nbsp; &nbsp; &nbsp;# Optional: Don&#8217;t log access to other assets<br>&nbsp; &nbsp; &nbsp; &nbsp;access_log off;<br>&nbsp; &nbsp;}<br>}<br>EOF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl restart nginx<br>systemctl restart php-fpm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum install -y wget unzip bzip2 vim lrzsz screen yum install -y mariadb mariadb-server mariadb-develsystemctl enable mariadb.servicesystemctl daemon-reload mkdir \/etc\/systemd\/system\/mariadb.service.dc&hellip; <a class=\"more-link\" href=\"https:\/\/www.cygzs.net\/?p=49\">(more)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_owldraft_subtitle":"","footnotes":""},"categories":[8,1],"tags":[34,33],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-centos","category-it","tag-nextcloud","tag-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud - \u7433\u6d77\u5bb6\u56ed<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cygzs.net\/?p=49\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud - \u7433\u6d77\u5bb6\u56ed\" \/>\n<meta property=\"og:description\" content=\"yum install -y wget unzip bzip2 vim lrzsz screen yum install -y mariadb mariadb-server mariadb-develsystemctl enable mariadb.servicesystemctl daemon-reload mkdir \/etc\/systemd\/system\/mariadb.service.dc&hellip; (more)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cygzs.net\/?p=49\" \/>\n<meta property=\"og:site_name\" content=\"\u7433\u6d77\u5bb6\u56ed\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-14T05:49:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-30T08:25:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"cy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cygzs.net\/#website\",\"url\":\"https:\/\/www.cygzs.net\/\",\"name\":\"\\u7433\\u6d77\\u5bb6\\u56ed\",\"description\":\"\\u4e00\\u4e2a\\u4e0d\\u52a1\\u6b63\\u4e1a\\u7684\\u8fd0\\u7ef4\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cygzs.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cygzs.net\/?p=49#webpage\",\"url\":\"https:\/\/www.cygzs.net\/?p=49\",\"name\":\"centos7\\u642d\\u5efa\\u5f00\\u6e90\\u4e2a\\u4eba\\u7f51\\u76d8Nextcloud - \\u7433\\u6d77\\u5bb6\\u56ed\",\"isPartOf\":{\"@id\":\"https:\/\/www.cygzs.net\/#website\"},\"datePublished\":\"2021-01-14T05:49:21+00:00\",\"dateModified\":\"2021-08-30T08:25:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.cygzs.net\/?p=49#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cygzs.net\/?p=49\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cygzs.net\/?p=49#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/www.cygzs.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"centos7\\u642d\\u5efa\\u5f00\\u6e90\\u4e2a\\u4eba\\u7f51\\u76d8Nextcloud\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a\",\"name\":\"cy\",\"sameAs\":[\"http:\/\/www.cygzs.net\"],\"url\":\"https:\/\/www.cygzs.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud - \u7433\u6d77\u5bb6\u56ed","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cygzs.net\/?p=49","og_locale":"zh_CN","og_type":"article","og_title":"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud - \u7433\u6d77\u5bb6\u56ed","og_description":"yum install -y wget unzip bzip2 vim lrzsz screen yum install -y mariadb mariadb-server mariadb-develsystemctl enable mariadb.servicesystemctl daemon-reload mkdir \/etc\/systemd\/system\/mariadb.service.dc&hellip; (more)","og_url":"https:\/\/www.cygzs.net\/?p=49","og_site_name":"\u7433\u6d77\u5bb6\u56ed","article_published_time":"2021-01-14T05:49:21+00:00","article_modified_time":"2021-08-30T08:25:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"cy","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.cygzs.net\/#website","url":"https:\/\/www.cygzs.net\/","name":"\u7433\u6d77\u5bb6\u56ed","description":"\u4e00\u4e2a\u4e0d\u52a1\u6b63\u4e1a\u7684\u8fd0\u7ef4","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cygzs.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/www.cygzs.net\/?p=49#webpage","url":"https:\/\/www.cygzs.net\/?p=49","name":"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud - \u7433\u6d77\u5bb6\u56ed","isPartOf":{"@id":"https:\/\/www.cygzs.net\/#website"},"datePublished":"2021-01-14T05:49:21+00:00","dateModified":"2021-08-30T08:25:58+00:00","author":{"@id":"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a"},"breadcrumb":{"@id":"https:\/\/www.cygzs.net\/?p=49#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cygzs.net\/?p=49"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cygzs.net\/?p=49#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.cygzs.net\/"},{"@type":"ListItem","position":2,"name":"centos7\u642d\u5efa\u5f00\u6e90\u4e2a\u4eba\u7f51\u76d8Nextcloud"}]},{"@type":"Person","@id":"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a","name":"cy","sameAs":["http:\/\/www.cygzs.net"],"url":"https:\/\/www.cygzs.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":1,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}