{"id":158,"date":"2016-04-28T14:46:26","date_gmt":"2016-04-28T06:46:26","guid":{"rendered":"https:\/\/blog.xaz.me\/?p=158"},"modified":"2016-04-28T16:38:14","modified_gmt":"2016-04-28T08:38:14","slug":"centos7%e6%90%ad%e5%bb%balamp%e7%8e%af%e5%a2%83%ef%bc%88linuxapachemariadbphp7%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.xaz.me\/?p=158","title":{"rendered":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09"},"content":{"rendered":"<p>\u770b\u6807\u9898\u4f60\u5c31\u77e5\u9053\uff0c\u8fd9\u662f\u6700\u65b0\u7684\u6559\u7a0b\u4e86\uff0c\u7ed9\u7248\u672c\u63a7\uff0c\u6211\u642d\u5efa\u73af\u5883\u4e3b\u8981\u662f\u4e3a\u4e86\u5b89\u88c5WordPress\u3002<\/p>\n<h2>\u5b89\u88c5remi yum\u6e90<\/h2>\n<p><code>rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/code><\/p>\n<h3>\u542f\u7528remi yum\u6e90<\/h3>\n<p><code>vi \/etc\/yum.repos.d\/remi.repo<\/code><br \/>\ni \u7f16\u8f91<br \/>\n\u4fee\u6539 enabled=0 \u4e3a enabled=1<br \/>\nEsc \u9000\u51fa\u7f16\u8f91<br \/>\n:wq \u4fdd\u5b58\u9000\u51fa<\/p>\n<p>\u6ce8\uff1a\u8fd9\u91cc\u53ca\u4e0b\u6587\u9700\u8981\u7528\u5230\u7684vi\u63a7\u5236\u8bed\u53e5<br \/>\ni \u7f16\u8f91<br \/>\nEsc \u9000\u51fa\u7f16\u8f91<br \/>\n:wq \u4fdd\u5b58\u9000\u51fa<\/p>\n<h2>\u66f4\u65b0\u7cfb\u7edf<\/h2>\n<p><code>yum -y update<\/code><\/p>\n<p><!--more--><\/p>\n<h2>\u5b89\u88c5VIM\uff08\u53ef\u7565\u8fc7\uff09<\/h2>\n<p><code>yum -y install vim<\/code><\/p>\n<p><code>vi \/etc\/vimrc<\/code><br \/>\n\u4ece\u952e\u76d8\u8f93\u5165 i \u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f\uff0c\u6309\u952e\u76d8\u4e0a\u7684 PgDn \uff08\u6216\u4e0a\u3001\u4e0b\u3001\u5de6\u3001\u53f3\u952e\uff09\u5230\u6587\u672c\u6700\u540e\u4e00\u884c\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u4e4b\u540e\u6309\u56de\u8f66\u6362\u884c\uff0c\u5728\u672b\u5c3e\u5206\u4e24\u884c\u8f93\u5165\uff1a<br \/>\nset nu<br \/>\nset mouse=a<br \/>\n\u4ece\u952e\u76d8\u8f93\u5165 Ctrl+c\uff0c\u7136\u540e\u8f93\u5165 :wq \u4fdd\u5b58\u3001\u9000\u51fa\uff08\u8fd9\u91cc : \u53f7\u8868\u793a\u9000\u51fa\u7f16\u8f91\u6a21\u5f0f\u8fdb\u5165\u6307\u4ee4\u6a21\u5f0f\uff0cw \u8868\u793a\u4fdd\u5b58\uff0cq \u8868\u793a\u9000\u51fa\uff09\uff08\u5355\u7eaf\u7684\u9000\u51fa\u800c\u4e0d\u4fdd\u5b58\u5219\u662f\u8f93\u5165 :q\uff0c\u5f3a\u5236\u9000\u51fa\u5219\u662f :q!\uff09\u3002<\/p>\n<h2>\u5f00\u542f\u9632\u706b\u5899<\/h2>\n<p><code><br \/>\nfirewall-cmd --add-service=http --permanent<br \/>\nfirewall-cmd --add-service=https --permanent<br \/>\nfirewall-cmd --add-service=ftp --permanent<br \/>\nfirewall-cmd --add-service=mysql --permanent<br \/>\nsystemctl restart firewalld<br \/>\n<\/code><\/p>\n<h2>\u5173\u95edSELINUX<\/h2>\n<p><code>vi \/etc\/selinux\/config<\/code><br \/>\n#SELINUX=enforcing #\u6ce8\u91ca\u6389<br \/>\n#SELINUXTYPE=targeted #\u6ce8\u91ca\u6389<br \/>\nSELINUX=disabled #\u589e\u52a0<br \/>\n:wq #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p>setenforce 0 #\u4f7f\u914d\u7f6e\u7acb\u5373\u751f\u6548<\/p>\n<h2>\u5b89\u88c5Apache<\/h2>\n<p><code><br \/>\nyum -y install httpd<br \/>\nsystemctl start httpd.service<br \/>\nsystemctl enable httpd.service    #\u5f00\u673a\u542f\u52a8<br \/>\n<\/code><\/p>\n<h3>\u914d\u7f6e\u7f51\u7ad9<\/h3>\n<p><code><br \/>\nvi \/etc\/httpd\/conf.d\/vhost.conf<br \/>\n<virtualhost *:80><br \/>\n\tServerAdmin 123@abc.net<br \/>\n\tServerName abc.net<br \/>\n\tServerAlias www.abc.net test.abc.net<br \/>\n\tDocumentRoot \/var\/www\/html\/abc.net<br \/>\n<\/virtualhost><br \/>\n<\/code><\/p>\n<h2>\u5b89\u88c5FTP<\/h2>\n<p><code><br \/>\nyum -y install vsftpd<br \/>\nsystemctl start vsftpd.service<br \/>\nsystemctl enable vsftpd.service   #\u5f00\u673a\u542f\u52a8<br \/>\n<\/code><\/p>\n<h3>\u914d\u7f6eFTP\u5e10\u6237<\/h3>\n<p><code><br \/>\nuseradd -g ftp -M -d \/var\/www\/html -s \/sbin\/nologin user<br \/>\npasswd user<br \/>\n\u8f93\u5165\u5bc6\u7801<br \/>\n<\/code><\/p>\n<h4>\u7ed9FTP\u5e10\u6237\u5206\u914d\u6743\u9650<\/h4>\n<p><code><br \/>\nusermod -a -G ftp user<br \/>\nchown -R user.ftp \/var\/www\/html<br \/>\nchmod -R 755 \/var\/www\/html #\u53ef\u4ee5\u4e0d\u7528<br \/>\n<\/code><\/p>\n<h4>\u4e0d\u5141\u8bb8\u533f\u540d\u767b\u9646FTP<\/h4>\n<p><code><br \/>\nvi \/etc\/vsftpd\/vsftpd.conf<br \/>\nanonymous_enable=YES \u6539\u4e3a anonymous_enable=NO<br \/>\n<\/code><\/p>\n<h2>\u5b89\u88c5MariaDB<\/h2>\n<h3>yum\u6e90\u5230\u6700\u65b0<\/h3>\n<p><code><br \/>\nvi \/etc\/yum.repos.d\/MariaDB.repo<br \/>\n\u586b\u5165\uff1a<br \/>\n# http:\/\/mariadb.org\/mariadb\/repositories\/<br \/>\n[mariadb]<br \/>\nname = MariaDB<br \/>\nbaseurl = http:\/\/yum.mariadb.org\/10.1.13\/centos7-amd64<br \/>\ngpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB<br \/>\ngpgcheck=1<br \/>\n<\/code><\/p>\n<h3>\u6b63\u5f0f\u5b89\u88c5MariaDB<\/h3>\n<p><code><br \/>\nyum -y install mariadb-server mariadb<br \/>\nsystemctl start mariadb.service<br \/>\nsystemctl enable mariadb.service   #\u5f00\u673a\u542f\u52a8<br \/>\n<\/code><\/p>\n<h3>\u914d\u7f6eMariaDB\u7528\u6237<\/h3>\n<p><code>mysql_secure_installation<\/code><\/p>\n<h3>\u5206\u914dMariaDB\u8fdc\u7a0b\u8bbf\u95ee\u6743\u9650\uff08\u5982\u679c\u4e0d\u7528Navicat\u4e4b\u7c7b\u7684\u6570\u636e\u5e93\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u63a0\u8fc7\uff09<\/h3>\n<p><code><br \/>\nmysql -u root -p<br \/>\nGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root\u7684\u5bc6\u7801' WITH GRANT OPTION;<br \/>\nflush privileges;   #\u66f4\u65b0\u6743\u9650<br \/>\nquit<br \/>\n<\/code><\/p>\n<h2>\u5b89\u88c5PHP 7<\/h2>\n<p>\u5982\u679c\u8981\u5347\u7ea7\u5230php7\uff1a<br \/>\n1. vi \/etc\/yum.repos.d\/remi-php70.repo<br \/>\n2. \u5c06enabled=0 \u4fee\u6539\u4e3a enabled=1<br \/>\n<code><br \/>\nyum -y install php<br \/>\nyum -y install php-mysql<br \/>\n<\/code><\/p>\n<h3>\u914d\u7f6ephp.ini<\/h3>\n<p><code><br \/>\nvi \/etc\/php.ini<br \/>\ndate.timezone = PRC #\u628a\u524d\u9762\u7684\u5206\u53f7\u53bb\u6389\uff0c\u6539\u4e3adate.timezone = PRC<br \/>\nupload_max_filesize = 500m;        \/\/\u5141\u8bb8\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u7684\u6700\u5927\u503c<br \/>\npost_max_size = 500m;              \/\/\u901a\u8fc7\u8868\u5355POST\u7ed9PHP\u7684\u6240\u80fd\u63a5\u53d7\u7684\u6700\u5927\u503c<br \/>\nmax_input_time = 600;              \/\/\u6bcf\u4e2aPHP\u9875\u9762\u63a5\u53d7\u6570\u636e\u6240\u9700\u7684\u6700\u5927\u65f6\u95f4<br \/>\nmemory_limit = 32m;                \/\/\u6bcf\u4e2aPHP\u9875\u9762\u6240\u9700\u7684\u6700\u5927\u5185\u5b58<br \/>\nmax_execution_time = 0;            \/\/0\u8868\u793a\u6ca1\u6709\u9650\u5236<br \/>\n:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p>systemctl restart mariadb.service #\u91cd\u542fMariaDB<br \/>\nsystemctl restart httpd.service  #\u91cd\u542fapache<br \/>\n<\/code><\/p>\n<h2>\u68c0\u67e5\u6240\u6709\u670d\u52a1\u662f\u5426\u5747\u5df2\u5f00\u542f<\/h2>\n<p><code>systemctl list-unit-files | grep enabled<\/code><\/p>\n<p>\u68c0\u67e5httpd.service\u3001mariadb.service\u3001vsftpd.service\u6709\u6ca1\u6709enabled\uff08\u5f00\u673a\u81ea\u542f\u52a8\uff09\uff0c\u6ca1\u6709\u5c31enable<\/p>\n<p>\u81f3\u6b64\uff0c\u6574\u4e2aLAMP\u73af\u5883\u90e8\u7f72\u5b8c\u6210\uff0c\u4e0b\u9762\u9001\u4e0a\u7f51\u7ad9\u642c\u5bb6\u5b9e\u7528\u6280\u5de7<\/p>\n<h2>\u7f51\u7ad9\u8d44\u6599\u5feb\u901f\u8fc1\u79fb<\/h2>\n<h3>\u65e7\u670d\u52a1\u5668\u64cd\u4f5c<\/h3>\n<p>\u628a\u65e7\u670d\u52a1\u5668html\u76ee\u5f55\u6253\u5305\u4e14\u538b\u7f29\u4e3a1.tar.gz\u6587\u4ef6\uff1a<br \/>\ncd html<br \/>\ntar -czvf 1.tar.gz *<\/p>\n<h3>\u65b0\u670d\u52a1\u5668\u64cd\u4f5c<\/h3>\n<p>\u5728\u65b0\u670d\u52a1\u5668\u4e0b\u8f7d\u65e7\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\uff08\u6ce8\u610f\uff1a\u4e00\u5b9a\u8981\u5148cd\u5230\u8981\u89e3\u538b\u7684\u76ee\u5f55\u518d\u6267\u884c\u89e3\u538b\uff09\uff1a<br \/>\nwget http:\/\/xxx.com\/1.tar.gz<br \/>\ntar -xzvf \/var\/www\/html\/1.tar.gz<\/p>\n<h3>\u6587\u4ef6\u79fb\u52a8\u64cd\u4f5c<\/h3>\n<p>\u590d\u5236\u6587\u4ef6\uff1a<br \/>\n\\cp -frp source\/* targe\/<br \/>\n\u5220\u9664\u6587\u4ef6\uff1a<br \/>\nrm 1.tar.gz<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u770b\u6807\u9898\u4f60\u5c31\u77e5\u9053\uff0c\u8fd9\u662f\u6700\u65b0\u7684\u6559\u7a0b\u4e86\uff0c\u7ed9\u7248\u672c\u63a7\uff0c\u6211\u642d\u5efa\u73af\u5883\u4e3b\u8981\u662f\u4e3a\u4e86\u5b89\u88c5WordPress\u3002 \u5b89\u88c5remi yum [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-other"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2<\/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:\/\/blog.xaz.me\/?p=158\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u770b\u6807\u9898\u4f60\u5c31\u77e5\u9053\uff0c\u8fd9\u662f\u6700\u65b0\u7684\u6559\u7a0b\u4e86\uff0c\u7ed9\u7248\u672c\u63a7\uff0c\u6211\u642d\u5efa\u73af\u5883\u4e3b\u8981\u662f\u4e3a\u4e86\u5b89\u88c5WordPress\u3002 \u5b89\u88c5remi yum [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.xaz.me\/?p=158\" \/>\n<meta property=\"og:site_name\" content=\"\u6cfd\u6cfd\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-28T06:46:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-28T08:38:14+00:00\" \/>\n<meta name=\"author\" content=\"\u5411\u5b89\u6cfd\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5411\u5b89\u6cfd\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158\"},\"author\":{\"name\":\"\u5411\u5b89\u6cfd\",\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#\\\/schema\\\/person\\\/83f51f1f77dab53b0e9321b2dea622fc\"},\"headline\":\"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09\",\"datePublished\":\"2016-04-28T06:46:26+00:00\",\"dateModified\":\"2016-04-28T08:38:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158\"},\"wordCount\":107,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#\\\/schema\\\/person\\\/83f51f1f77dab53b0e9321b2dea622fc\"},\"articleSection\":[\"\u5176\u4ed6\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.xaz.me\\\/?p=158#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158\",\"url\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158\",\"name\":\"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#website\"},\"datePublished\":\"2016-04-28T06:46:26+00:00\",\"dateModified\":\"2016-04-28T08:38:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.xaz.me\\\/?p=158\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/?p=158#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/blog.xaz.me\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#website\",\"url\":\"https:\\\/\\\/blog.xaz.me\\\/\",\"name\":\"\u6cfd\u6cfd\u535a\u5ba2\",\"description\":\"You may say I&#039;m a dreamer.\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#\\\/schema\\\/person\\\/83f51f1f77dab53b0e9321b2dea622fc\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.xaz.me\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/blog.xaz.me\\\/#\\\/schema\\\/person\\\/83f51f1f77dab53b0e9321b2dea622fc\",\"name\":\"\u5411\u5b89\u6cfd\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g\",\"caption\":\"\u5411\u5b89\u6cfd\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g\"},\"url\":\"https:\\\/\\\/blog.xaz.me\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2","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:\/\/blog.xaz.me\/?p=158","og_locale":"zh_CN","og_type":"article","og_title":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2","og_description":"\u770b\u6807\u9898\u4f60\u5c31\u77e5\u9053\uff0c\u8fd9\u662f\u6700\u65b0\u7684\u6559\u7a0b\u4e86\uff0c\u7ed9\u7248\u672c\u63a7\uff0c\u6211\u642d\u5efa\u73af\u5883\u4e3b\u8981\u662f\u4e3a\u4e86\u5b89\u88c5WordPress\u3002 \u5b89\u88c5remi yum [&hellip;]","og_url":"https:\/\/blog.xaz.me\/?p=158","og_site_name":"\u6cfd\u6cfd\u535a\u5ba2","article_published_time":"2016-04-28T06:46:26+00:00","article_modified_time":"2016-04-28T08:38:14+00:00","author":"\u5411\u5b89\u6cfd","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5411\u5b89\u6cfd","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.xaz.me\/?p=158#article","isPartOf":{"@id":"https:\/\/blog.xaz.me\/?p=158"},"author":{"name":"\u5411\u5b89\u6cfd","@id":"https:\/\/blog.xaz.me\/#\/schema\/person\/83f51f1f77dab53b0e9321b2dea622fc"},"headline":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09","datePublished":"2016-04-28T06:46:26+00:00","dateModified":"2016-04-28T08:38:14+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.xaz.me\/?p=158"},"wordCount":107,"commentCount":0,"publisher":{"@id":"https:\/\/blog.xaz.me\/#\/schema\/person\/83f51f1f77dab53b0e9321b2dea622fc"},"articleSection":["\u5176\u4ed6"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.xaz.me\/?p=158#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.xaz.me\/?p=158","url":"https:\/\/blog.xaz.me\/?p=158","name":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09 | \u6cfd\u6cfd\u535a\u5ba2","isPartOf":{"@id":"https:\/\/blog.xaz.me\/#website"},"datePublished":"2016-04-28T06:46:26+00:00","dateModified":"2016-04-28T08:38:14+00:00","breadcrumb":{"@id":"https:\/\/blog.xaz.me\/?p=158#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.xaz.me\/?p=158"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.xaz.me\/?p=158#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.xaz.me\/"},{"@type":"ListItem","position":2,"name":"CentOS7\u642d\u5efaLAMP\u73af\u5883\uff08Linux+Apache+MariaDB+PHP7\uff09"}]},{"@type":"WebSite","@id":"https:\/\/blog.xaz.me\/#website","url":"https:\/\/blog.xaz.me\/","name":"\u6cfd\u6cfd\u535a\u5ba2","description":"You may say I&#039;m a dreamer.","publisher":{"@id":"https:\/\/blog.xaz.me\/#\/schema\/person\/83f51f1f77dab53b0e9321b2dea622fc"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.xaz.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.xaz.me\/#\/schema\/person\/83f51f1f77dab53b0e9321b2dea622fc","name":"\u5411\u5b89\u6cfd","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/secure.gravatar.com\/avatar\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g","caption":"\u5411\u5b89\u6cfd"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/90402c555388d658a72143dab6ef1adf903bbdcf3a43ce8112327dc40e3def4f?s=96&d=mm&r=g"},"url":"https:\/\/blog.xaz.me\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/posts\/158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=158"}],"version-history":[{"count":5,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":164,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=\/wp\/v2\/posts\/158\/revisions\/164"}],"wp:attachment":[{"href":"https:\/\/blog.xaz.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xaz.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}