{"id":3523,"date":"2017-03-19T14:39:35","date_gmt":"2017-03-19T06:39:35","guid":{"rendered":"http:\/\/blog.hoyo.idv.tw\/?p=3523"},"modified":"2022-12-09T11:17:08","modified_gmt":"2022-12-09T03:17:08","slug":"centos-7-minimal-%e5%ae%89%e8%a3%9d-server-php7-apache-2-4-mysql-5-6","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=3523","title":{"rendered":"CentOS 7 minimal \u5b89\u88dd Server - PHP7 + Apache 2.4 + MySQL 5.6"},"content":{"rendered":"<h2>\u53d6\u5f97 CentOS 7<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.centos.org\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download CentOS<\/a><\/li>\n<\/ul>\n<p>\u9078\u00a0Minimal ISO \u4e0b\u8f09\u5373\u53ef\uff0c\u4e0b\u8f09\u5f8c\u662f\u71d2\u5149\u789f\u9084\u662f USB \u5c31\u8981\u770b\u5b89\u88dd\u4e3b\u6a5f\u7684\u652f\u63f4\u7a0b\u5ea6\u3002<\/p>\n<p>--<\/p>\n<h2>\u5b89\u88dd\u53ca\u57fa\u790e\u8a2d\u5b9a<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.howtoforge.com\/tutorial\/centos-7-minimal-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Install a CentOS 7.3 Minimal Server<\/a><\/li>\n<\/ul>\n<h2>\u7db2\u8def<\/h2>\n<p>\u67e5\u770b IP \uff0cminimal \u6c92\u6709 ifconfig \u53ea\u6709 ip<\/p>\n<pre class=\"lang:default decode:true \">ip a<\/pre>\n<p>\u4fee\u6539\u8a2d\u5b9a\u555f\u7528\u7db2\u8def\u5361<\/p>\n<pre class=\"lang:default decode:true \">vi \/etc\/sysconfig\/network-scripts\/ifcfg-enp3s0<\/pre>\n<pre class=\"lang:default decode:true\">ONBOOT=yes<\/pre>\n<p>\u91cd\u65b0\u555f\u52d5\u7db2\u8def\u670d\u52d9<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl restart network<\/pre>\n<p>\u5b89\u88dd ifconfig, netstat<\/p>\n<pre class=\"lang:default decode:true \">sudo yum install net-tools<\/pre>\n<p>--<\/p>\n<h2>\u56fa\u5b9a IP<\/h2>\n<p>\u7de8\u8f2f\u7db2\u8def\u5361\u8a2d\u5b9a\u00a0\/etc\/sysconfig\/network-scripts\/ifcfg-enp3s0<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-enp3s0<\/pre>\n<pre class=\"lang:default decode:true\">BOOTPROTO=static\r\nIPADDR=192.168.0.191\r\nNETMASK=255.255.255.0\r\nGATEWAY=192.168.0.1\r\nDNS1=8.8.8.8<\/pre>\n<p>\u91cd\u65b0\u555f\u52d5\u7db2\u8def\u670d\u52d9<\/p>\n<pre class=\"lang:default decode:true \">systemctl restart network<\/pre>\n<p>--<\/p>\n<h2>\u8a2d\u5b9a\u4e3b\u6a5f\u540d\u7a31 hostname<\/h2>\n<p>\u6700\u5c0f\u5316\u5b89\u88dd\u4e0d\u6703\u4e3b\u52d5\u8a2d\u7f6e hostname \uff0c\u4e0d\u8a2d\u7f6e\u5f88\u591a\u670d\u52d9\u662f\u8dd1\u4e0d\u8d77\u4f86\u7684<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/hosts\r\n\r\n192.168.0.3  myserver<\/pre>\n<p>\u6216\u662f\u4f7f\u7528 hostnamectl \u6307\u4ee4<\/p>\n<pre class=\"lang:default decode:true \">hostnamectl set-hostname MyHostName<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd PHP 7 + Apache 2.4 + MySQL 5.6<\/h2>\n<ul>\n<li><a href=\"https:\/\/tecadmin.net\/install-php-7-apache-2-4-mysql-on-centos-rhel\/#\" target=\"_blank\" rel=\"noopener noreferrer\">How to Install PHP 7.0, Apache 2.4, &amp; MySQL 5.6 on CentOS \/ RHEL 7.1 &amp; 6.7<\/a><\/li>\n<\/ul>\n<p>\u5b89\u88dd epel<\/p>\n<pre class=\"lang:default decode:true \">yum install epel-release\r\nrpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/pre>\n<p>\u5b89\u88dd PHP \u5c31\u6703\u4e00\u4f75\u5b89\u88dd Apache 2.4<\/p>\n<pre class=\"lang:default decode:true\">yum install php70w\r\nyum install php70w-mysql php70w-xml php70w-soap php70w-xmlrpc\r\nyum install php70w-mbstring php70w-json php70w-gd php70w-mcrypt<\/pre>\n<p>\u8a2d\u5b9a PHP<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/php.ini\r\n\r\nupload_max_filesize = 2000M<\/pre>\n<p>\u8a2d\u5b9a Apache 2.4 HTTP Server<\/p>\n<pre class=\"lang:default decode:true\">systemctl start httpd.service\r\nsystemctl enable httpd.service\r\nfirewall-cmd --permanent --zone=public --add-service=http\r\nfirewall-cmd --permanent --zone=public --add-service=https\r\nfirewall-cmd --reload<\/pre>\n<p>\u5b89\u88dd MySQL Server<\/p>\n<p>hoyo \u4e0d\u63a8\u85a6\u4f7f\u7528 MariaDB \uff0c\u96d6\u7136 MariaDB \u662f MySQL \u7684\u5206\u652f\uff0c\u53ef\u662f\u300c<span style=\"color: #ff0000;\">\u4e26\u4e0d\u662f\u5b8c\u5168\u76f8\u5bb9<\/span>\u300d\uff0c\u73fe\u968e\u6bb5 (2017-03) hoyo \u9084\u4e0d\u6703\u4f7f\u7528 MariaDB \u7576\u4f5c\u4e3b\u8cc7\u6599\u5eab<\/p>\n<pre class=\"lang:default decode:true\"># rpm -Uvh http:\/\/repo.mysql.com\/mysql-community-release-el7-5.noarch.rpm\r\n# yum install -y mysql-server\r\n# systemctl start mysqld.service\r\n# systemctl enable mysqld.service<\/pre>\n<p>\u8b8a\u66f4 root \u5bc6\u78bc\u53ca\u79fb\u9664\u9810\u8a2d\u8cc7\u6599<\/p>\n<pre class=\"lang:default decode:true\">mysql_secure_installation<\/pre>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-450.png\" target=\"_blank\" rel=\"noopener noreferrer\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone wp-image-3524 size-medium\" src=\"\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-450-300x188.png\" width=\"300\" height=\"188\" srcset=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-450-300x188.png 300w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-450-478x300.png 478w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-450.png 675w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>--<\/p>\n<h2>MySQL<\/h2>\n<p>\u4fee\u6539 root \u5bc6\u78bc<\/p>\n<pre class=\"lang:default decode:true\">UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';\r\nFLUSH PRIVILEGES;<\/pre>\n<p>\u4fee\u6539 \/etc\/mycnf \u8a2d\u5b9a<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/my.cnf\r\n\r\n[mysqld]\r\nbind-address = 0.0.0.0\r\nsql_mode=<\/pre>\n<ul>\n<li>bind-address\u00a0\u5e38\u99d0 IP\uff0c\u9810\u8a2d\u5e38\u99d0 any \u53ef\u80fd\u904b\u4f5c\u5728 IPv6\uff0c\u5982\u679c\u9700\u8981\u904b\u4f5c\u5728 IPv4 \u5c31\u9700\u8981\u624b\u52d5\u4fee\u6539<\/li>\n<li>sql_mode\u00a0\u5982\u679c\u9700\u8981\u79fb\u690d\u820a\u7a0b\u5f0f<\/li>\n<\/ul>\n<p>\u91cd\u65b0\u555f\u52d5 MySQL Server<\/p>\n<pre class=\"lang:default decode:true\">systemctl restart mysql<\/pre>\n<p>\u4fee\u6539\u9632\u706b\u6a4b<\/p>\n<pre class=\"lang:default decode:true \">firewall-cmd --permanent --zone=public --add-service=mysql\r\nfirewall-cmd --reload<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd phpMyAdmin<\/h2>\n<p>4.4 \u7248\u672c\u4f7f\u7528\u9019\u500b<\/p>\n<pre class=\"lang:default decode:true\">yum install phpmyadmin<\/pre>\n<p>\u65b0\u7248 4.7 \u4ee5\u4e0a\u4f7f\u7528\u9019\u500b<\/p>\n<pre class=\"lang:default decode:true \">yum remove php-mysql\r\nyum install php-mysqlnd\r\nyum --enablerepo=remi install phpMyAdmin<\/pre>\n<p>\u5c07\u5141\u8a31\u9032\u5165 IP \u52a0\u5165\u8a2d\u5b9a\u6a94\uff0c\u7de8\u8f2f<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/httpd\/conf.d\/phpMyAdmin.conf\r\n\r\nRequire ip 192.168.0.0\/24<\/pre>\n<p>\u91cd\u65b0\u555f\u52d5 Apache<\/p>\n<pre class=\"lang:default decode:true\">systemctl restart httpd.service<\/pre>\n<p>\u5982\u679c\u9700\u8981\u4fee\u6539 phpMyAdmin \uff0c\u8a2d\u5b9a\u6a94\u5728 \/etc\/phpMyAdmin\/config.inc.php<\/p>\n<p>\u4f8b\u5982\uff1a\u9700\u8981\u5ef6\u9577\u9592\u7f6e\u6642\u9593\u4ee5\u53ca\u4e0d\u6aa2\u67e5\u7248\u672c<\/p>\n<pre class=\"lang:default decode:true \">vi \/etc\/phpMyAdmin\/config.inc.php\r\n\r\n$cfg['VersionCheck'] = false; \/\/ \u4e0d\u6aa2\u67e5\u65b0\u7248\u672c\r\n$cfg['LoginCookieValidity'] = 86400; \/\/ \u5c07\u9592\u7f6e\u6642\u9593\u8a2d\u5b9a\u70ba 86400 \u79d2 (1440)\r\n$cfg['MaxNavigationItems'] = 100; \/\/ \u5c0e\u89bd\u6a39\u5206\u652f\u6578\u91cf\u8a2d\u5b9a 100 (50)<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd DNS Server - Bind<\/h2>\n<pre class=\"lang:default decode:true\">yum install bind<\/pre>\n<p>\u4fee\u6539\u8a2d\u5b9a\u6a94<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/named.conf\r\n\r\noptions {\r\n    listen-on port 53 { 127.0.0.1; 192.168.0.3; };\r\n    allow-query { any; }; \/\/ \u81ea\u5df1\u7ba1\u7406 DNS Server \u6240\u4ee5\u5fc5\u9808\u958b\u653e\u67e5\u8a62\r\n    recursion no;\r\n};\r\n\r\nzone \"hoyo.idv.tw\" in {\r\n    type master;\r\n    file \"\/etc\/named\/hoyo.idv.tw.db\";\r\n};<\/pre>\n<p>\u91cd\u65b0\u555f\u52d5 named service \u4ee5\u53ca\u8a2d\u5b9a\u958b\u6a5f\u555f\u52d5<\/p>\n<pre class=\"lang:default decode:true \">systemctl enable named\r\nsystemctl start named.service<\/pre>\n<p>\u958b\u653e\u9632\u706b\u7246<\/p>\n<pre class=\"lang:default decode:true\">firewall-cmd --permanent --zone=public --add-service=dns\r\nfirewall-cmd --reload<\/pre>\n<p>--<\/p>\n<h2>\u95dc\u9589 SELinux<\/h2>\n<pre class=\"lang:default decode:true \">vi \/etc\/selinux\/config<\/pre>\n<pre class=\"lang:default decode:true\">SELINUX=disabled\r\n#SELINUXTYPE=targeted<\/pre>\n<p>\u91cd\u65b0\u958b\u6a5f<\/p>\n<ul>\n<li><a href=\"https:\/\/blog.51cto.com\/qulei616\/1933840\" target=\"_blank\" rel=\"noopener\">centos 7.3 \u9519\u8bef\u8bbe\u7f6eselinux \u5bfc\u81f4\u4e0d\u80fd\u542f\u52a8 Failed to load SELinux policy. Freezing<\/a><\/li>\n<\/ul>\n<p>--<\/p>\n<h2>\u95dc\u9589\u9632\u706b\u7246<\/h2>\n<pre class=\"lang:default decode:true\"># systemctl stop firewalld\r\n# systemctl disable firewalld<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd Samba<\/h2>\n<pre class=\"lang:default decode:true\">yum install samba\r\nsystemctl enable smb\r\nsystemctl restart smb\r\nfirewall-cmd --permanent --zone=public --add-service=samba\r\nfirewall-cmd --reload<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">useradd user\r\nsmbpasswd -a user<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/samba\/smb.conf\r\n\r\n[global]\r\n    workgroup = SAMBA\r\n    security = user\r\n    hosts allow = 192.168.0.\r\n\r\n    passdb backend = tdbsam\r\n\r\n    # Charset settings\r\n    display charset = utf8\r\n    unix charset = utf8\r\n    dos charset = cp950\r\n\r\n[homes]\r\n    comment = Home Directories\r\n    valid users = %S, %D%w%S\r\n    browseable = No\r\n    read only = No\r\n    inherit acls = Yes\r\n\r\n[root]\r\n    comment = Home Directories\r\n    browseable = yes\r\n    writable = yes\r\n    path = \/<\/pre>\n<p>--<\/p>\n<h2>\u5f9e\u820a\u7684\u4e3b\u6a5f\u8907\u88fd\u8cc7\u6599<\/h2>\n<p>\u56e0\u70ba\u90fd\u6709\u5b89\u88dd samba \uff0c\u6240\u4ee5\u601d\u8def\u5c31\u662f\u5c07\u8907\u88fd\u7684\u8cc7\u6599\u639b\u8f09\u5230\u76ee\u7684\u4e3b\u6a5f\uff0c\u7136\u5f8c\u9032\u884c\u8907\u88fd<\/p>\n<pre class=\"lang:default decode:true \">yum install cifs-utils\r\nmount.cifs \/\/192.168.0.3\/root \/mnt\/web -o user=user<\/pre>\n<p>--<\/p>\n<h2>\u6bcf\u65e5\u5099\u4efd<\/h2>\n<ul>\n<li><a href=\"http:\/\/blog.hoyo.idv.tw\/?p=746\" target=\"_blank\" rel=\"noopener noreferrer\">HOYO \u7684 hoyo.idv.tw \u4e3b\u6a5f<\/a><\/li>\n<\/ul>\n<p>backup.sh<\/p>\n<pre class=\"lang:default decode:true \">#!\/bin\/bash\r\nfilename=`date \"+%w\"`\r\nmysqldump --user=root -p'password' --all-databases &gt; \/tmp\/db$filename.sql\r\ntar czf \/tmp\/web$filename.tgz \/WEBSite\/*\r\n \r\nftp -n 192.168.0.99&lt;&lt; co\r\nuser backup backup\r\ncd backup\r\nlcd \/tmp\r\nput web$filename.tgz\r\nput db$filename.sql\r\nby\r\nco<\/pre>\n<p>\u5c31\u5982\u6587\u7ae0\u5167\u6240\u8aaa\uff0c\u53ef\u4ee5\u5f9e FreeBSD \u7528\u5230 Linux \uff0c\u53ea\u8981\u4fee\u6539\u7b2c\u4e00\u884c shell \u4ee5\u53ca\u6307\u4ee4\u76f8\u95dc\u8def\u5f91\u5373\u53ef\u904b\u4f5c\uff0c\u4e0d\u904e minimal CentOS 7 \u6c92\u6709 ftp command \uff0c\u6240\u4ee5\u904b\u4f5c\u524d\u9700\u8981\u88dc\u4e00\u500b<\/p>\n<pre class=\"lang:default decode:true\">yum install -y ftp<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd FFmpeg<\/h2>\n<pre class=\"lang:default decode:true\">rpm -ivh https:\/\/www.mirrorservice.org\/sites\/dl.atrpms.net\/el7-x86_64\/atrpms\/stable\/atrpms-repo-7-7.el7.x86_64.rpm\r\nyum install ffmpeg<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd\u65b0\u786c\u789f<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.server-world.info\/en\/note?os=CentOS_7&amp;p=add_hd\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7 : Add Hard Drive : Server World<\/a><\/li>\n<li><a href=\"http:\/\/ask.xmodulo.com\/create-mount-xfs-file-system-linux.html\">How to create and mount an XFS file system on Linux<\/a><\/li>\n<\/ul>\n<p>\u5148\u4f7f\u7528 fdisk \u5206\u5272\u786c\u789f<\/p>\n<pre class=\"lang:default decode:true\">fdisk \/dev\/sdb<\/pre>\n<p>\u7136\u5f8c\u4f7f\u7528\u00a0mkfs.xfs \u6307\u4ee4\u683c\u5f0f\u5316\u786c\u789f<\/p>\n<pre class=\"lang:default decode:true \">mkfs.xfs -f \/dev\/sdb1<\/pre>\n<p>\u5efa\u7acb\u639b\u8f09\u7684\u76ee\u9304<\/p>\n<pre class=\"lang:default decode:true \">mkdir \/WEBSite<\/pre>\n<p>\u5c07\u65b0\u786c\u789f\u639b\u8f09\u5230\u76ee\u9304\u4e0a<\/p>\n<pre class=\"lang:default decode:true \">mount -t xfs \/dev\/sdb1 \/WEBSite<\/pre>\n<p>\u4f7f\u7528 df \u6307\u4ee4\u9a57\u8b49\u6b63\u78ba\u6027<\/p>\n<pre class=\"lang:default decode:true\">df -TH \/WEBSite\r\n\r\n\u6a94\u6848\u7cfb\u7d71       \u985e\u578b  \u5bb9\u91cf   \u5df2\u7528   \u53ef\u7528    \u5df2\u7528%   \u639b\u8f09\u9ede\r\n\/dev\/sdb1     xfs   2.0T   34M   2.0T    1%     \/WEBSite<\/pre>\n<p>--<\/p>\n<h2>\u4e0a\u3001\u4e0b\u9375\u641c\u5c0b\u6307\u4ee4<\/h2>\n<pre class=\"lang:default decode:true \">vi ~\/.inputrc\r\n\r\n# Press up-arrow for previous matching command\r\n\"\\e[A\":history-search-backward\r\n# Press down-arrow for next matching command\r\n\"\\e[B\":history-search-forward<\/pre>\n<p>--<\/p>\n<h2>\u76f8\u7c3f\u8655\u7406\u76f8\u95dc\u5957\u4ef6<\/h2>\n<p>exiv2<\/p>\n<pre class=\"lang:default decode:true\">yum install exiv2<\/pre>\n<p>ImageMagick<\/p>\n<pre class=\"lang:default decode:true \">yum install ImageMagick<\/pre>\n<p>dcraw<\/p>\n<pre class=\"lang:default decode:true\">yum install dcraw<\/pre>\n<p>--<\/p>\n<h2>\u8cc7\u6599\u9084\u539f<\/h2>\n<pre class=\"lang:default decode:true\">mysql -u root -p'\u8cc7\u6599\u5eab\u5bc6\u78bc' --force  &lt; AllDatabase.sql<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd Killall<\/h2>\n<ul>\n<li><a href=\"https:\/\/my.oschina.net\/zhangxu0512\/blog\/383297\" target=\"_blank\" rel=\"noopener noreferrer\">centos7\u7cbe\u7b80\u5b89\u88c5\u540e\u4f7f\u7528\u53d1\u73b0\u6ca1\u6709killall\u547d\u4ee4<\/a><\/li>\n<\/ul>\n<pre class=\"nums:false lang:default decode:true\">yum install psmisc<\/pre>\n<p>--<\/p>\n<h2>\u5b89\u88dd whois<\/h2>\n<pre class=\"lang:default decode:true \"># yum install jwhois\r\n\r\n\r\n# whois hoyo.idv.tw\r\n[\u67e5\u8a62 whois.twnic.net.tw]\r\n[whois.twnic.net.tw]\r\nDomain Name: hoyo.idv.tw\r\n\r\n   Contact:\r\n      hoyo\r\n      pc@hoyo.idv.tw\r\n\r\n\r\n   Record expires on 2021-06-07 (YYYY-MM-DD)\r\n   Record created on 2000-12-01 (YYYY-MM-DD)\r\n\r\n\r\nRegistration Service Provider: TWNIC<\/pre>\n<p>--<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3523\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;4,416&nbsp;total views, &nbsp;1&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u53d6\u5f97 CentOS 7 Dow...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3523\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;4,416&nbsp;total views, &nbsp;1&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[26],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3523"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3523"}],"version-history":[{"count":49,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3523\/revisions"}],"predecessor-version":[{"id":11205,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3523\/revisions\/11205"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}