{"id":88,"date":"2010-05-20T19:45:48","date_gmt":"2010-05-20T19:45:48","guid":{"rendered":"2a38a4a9316c49e5a833517c45d31070"},"modified":"2010-05-20T19:45:48","modified_gmt":"2010-05-20T19:45:48","slug":"","status":"publish","type":"post","link":"https:\/\/www.xiaobo.li\/notes\/archives\/88","title":{"rendered":"LAMP\u5b89\u88c5"},"content":{"rendered":"<p>\u5b89\u88c5apache2\u3002<br \/># cd \/home\/xiutuo\/software\/ <br \/>\u8fdb\u5165\u76ee\u5f55\/home\/xiutuo\/software\/<br \/># tar -zvxf httpd-2.2.0.tar.gz<br \/>\u89e3\u538bhttpd-2.2.0.tar.gz<br \/># cd httpd-2.2.0<br \/>\u8fdb\u5165httpd-2.2.0\u76ee\u5f55<br \/># mkdir -p \/usr\/local\/apache2<br \/>\u751f\u6210\/usr\/local\/apache2\u76ee\u5f55<br \/># .\/configure --prefix=\/usr\/local\/apache <br \/>\u6216\u8005<br \/># .\/configure --prefix=\/usr\/local\/apache --enable-modules=so --enable-rewrite<br \/># make; make install<br \/>\u5b89\u88c5apache<br \/># vi \/usr\/local\/apache\/conf\/httpd.conf<br \/>#ServerName <a href=\"http:\/\/www.example.com\/\" target=\"_blank\">www.example.com:80<\/a><br \/>\n \u5728\u5176\u4e0b\u589e\u52a0<br \/>ServerName <a href=\"http:\/\/www.xiutuo.com\/\" target=\"_blank\">www.xiutuo.com:80<\/a><br \/>\n<br \/>\u4fdd\u5b58\u9000\u51fa\uff0c\u73b0\u5728\u5c31\u8fd9\u4e48\u7b80\u5355\u914d\u7f6eapache\u3002<\/p>\n<p># \/usr\/local\/apache\/bin\/apachectl -k start <br \/>\u542f\u52a8apahce\uff0c<br \/>\u7528\u6d4f\u89c8\u5668\u67e5\u770b<a href=\"http:\/\/www.xiutuo.com\/\" target=\"_blank\">http:\/\/www.xiutuo.com<\/a><br \/>\n,\u5f97\u5230it works\uff0c\u8bf4\u660eapache\u5df2\u7ecf\u914d\u7f6e\u6210\u529f\u4e86\u3002<br \/># \/usr\/local\/apache\/bin\/apachectl -k stop<br \/>\u505c\u6b62apache\u3002<\/p>\n<p>\u4e09\uff1a\u5b89\u88c5mysql<br \/># cd \/home\/xiutuo\/software\/ <br \/># tar -zvxf mysql-max-5.0.21-linux-i686-glibc23.tar.gz<br \/># mkdir -p \/usr\/local\/mysql \uff08\u7701\u7565\u4e5f\u53ef\uff09<br \/># cp -r mysql-max-5.0.21-linux-i686-glibc23.tar.gz \/usr\/local\/mysql<br \/># cp \/usr\/local\/mysql\/support-files\/my-medium.cnf \/etc\/my.cnf<\/p>\n<p>\u6dfb\u52a0mysql\u7528\u6237\u53ca\u7528\u6237\u7ec4<br \/># groupadd mysql<br \/># useradd -g mysql mysql<br \/>\u4fee\u6539mysql\u76ee\u5f55\u6743\u9650<br \/># chown -R root \/usr\/local\/mysql<br \/># chgrp -R mysql \/usr\/local\/mysql<br \/># chown -R mysql \/usr\/local\/mysql\/data<br \/>\u751f\u6210mysql\u7cfb\u7edf\u6570\u636e\u5e93<br \/>dao mysql mulu yunxing<br \/># .\/scripts\/mysql_install_db --user=mysql&amp;<br \/>\u542f\u52a8mysql\u670d\u52a1<br \/># \/usr\/local\/mysql\/bin\/mysqld_safe --user=mysql&amp;<br \/>\u5982\u51fa\u73b0 Starting mysqld daemon with databases from \/usr\/local\/mysql\/data<br \/>\u4ee3\u8868\u6b63\u5e38\u542f\u52a8mysql\u670d\u52a1\u4e86, \u6309Ctrl + C \u8df3\u51fa<br \/>\u4fee\u6539 mysql \u7684 root \u5bc6\u7801<br \/># \/usr\/local\/mysql\/bin\/mysqladmin -u root -p password &quot;123456&quot;<br \/>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<\/p>\n<p>\u56db\uff1a\u5b89\u88c5GD\u5e93(\u8ba9PHP\u652f\u6301GIF,PNG,JPEG)<br \/>a.\u5b89\u88c5 jpeg6<br \/>\u5efa\u7acb\u76ee\u5f55\uff1a<br \/># mkdir -p \/usr\/local\/jpeg6 <br \/># mkdir -p \/usr\/local\/jpeg6\/bin <br \/># mkdir -p \/usr\/local\/jpeg6\/lib <br \/># mkdir -p \/usr\/local\/jpeg6\/include <br \/># mkdir -p \/usr\/local\/jpeg6\/man <br \/># mkdir -p \/usr\/local\/jpeg6\/man1<br \/># mkdir -p \/usr\/local\/jpeg6\/man\/man1<\/p>\n<p># cd \/home\/xiutuo\/software\/ <br \/># tar -zvxf jpegsrc.v6b.tar.gz<br \/># cd jpeg-6b<br \/># .\/configure --prefix=\/usr\/local\/jpeg6\/ --enable-shared --enable-static<br \/># make; make install<\/p>\n<p>b.\u5b89\u88c5libpng<br \/># cd \/home\/xiutuo\/software\/ <br \/># tar -zvxf libpng-1.2.8.tar.gz<br \/># cd libpng-1.2.8<br \/># cp scripts\/makefile.std makefile <br \/># make; make install<\/p>\n<p>c.\u5b89\u88c5 freetype<br \/># cd \/home\/xiutuo\/software\/ <br \/># tar -zvxf freetype-2.1.10.tar.gz <br \/># cd freetype-2.1.10<br \/># mkdir -p \/usr\/local\/freetype<br \/># .\/configure --prefix=\/usr\/local\/freetype <br \/># make;make install<\/p>\n<p>d.:\u5b89\u88c5zlib<br \/># cd \/home\/xiutuo\/software\/ <br \/>#tar -zxvf zlib-1.2.3.tar.gz<br \/>#cd zlib.1.2.3<br \/># .\/configure<br \/># make;make install<\/p>\n<p>e.\u5b89\u88c5GD\u5e93<br \/># cd \/home\/xiutuo\/software\/ <br \/># tar -zvxf gd-2.0.33.tar.gz <br \/># mkdir -p \/usr\/local\/gd2<br \/># cd gd-2.0.33<br \/># .\/configure --prefix=\/usr\/local\/gd2 --with-jpeg=\/usr\/local\/jpeg6\/ --with-png=\/usr\/local\/lib\/ --with-zlib=\/usr\/local\/lib\/ --with-freetype=\/usr\/local\/freetype\/<br \/># make; make install<\/p>\n<p>e.\u5b89\u88c5Curl\u5e93<br \/># cd \/home\/xiutuo\/software\/ <br \/># tar -zxf curl-7.15.0.tar.gz<br \/># mkdir -p \/usr\/local\/curl<br \/># .\/configure --prefix=\/usr\/local\/curl<br \/># make; make install<\/p>\n<p>\u4e94\uff1a\u5b89\u88c5php5\uff0cphp5\u5fc5\u987b\u6709libxml2\u652f\u6301\uff01<br \/>a.\u5b89\u88c5libxml2<br \/># cd \/home\/xiutuo\/software\/<br \/># tar -zxf libxml2-2.6.19.tar.gz<br \/># cd libxml2-2.6.19<br \/># mkdir -p \/usr\/local\/libxml2<br \/># .\/configure --prefix=\/usr\/local\/libxml2<br \/># make; make install<\/p>\n<p>b.\u5b89\u88c5 libxslt\uff08\u53ef\u9009\u5b89\u88c5\uff0c\u4f60\u53ef\u4ee5\u4e0d\u5b89\u88c5\uff09<br \/># cd \/home\/xiutuo\/software\/<br \/># tar -zxf libxslt-1.1.15.tar.gz<br \/># mkdir -p \/usr\/local\/libxslt<br \/># cd libxslt-1.1.15<br \/># .\/configure --prefix=\/usr\/local\/libxslt --with-libxml-prefix=\/usr\/local\/libxml2<br \/># make; make install<\/p>\n<p>c.\u5b89\u88c5php5<br \/># cd \/home\/xiutuo\/software\/<br \/># tar -zvxf php-5.1.2.tar.gz <br \/># mkdir -p \/usr\/local\/php<br \/># cd php-5.05<br \/># .\/configure --prefix=\/usr\/local\/php --with-apxs2=\/usr\/local\/apache2\/bin\/apxs --with-mysql-dir=\/usr\/local\/mysql\/ --with-libxml-dir=\/usr\/local\/libxml2\/ --with-gd=\/usr\/local\/gd2\/ --with-jpeg-dir=\/usr\/local\/jpeg6\/ --with-png=\/usr\/local\/lib --with-zlib-dir=\/usr\/lib\/ --with-freetype-dir=\/usr\/local\/freetype --with-curl=\/usr\/local\/curl\/ --enable-ftp --enable-soap --with-xsl=\/usr\/local\/libxslt --enable-xslt --enable-sockets --enable-mbstring<br \/># make<br \/># make install<br \/># cp php.ini-dist \/usr\/local\/php\/lib\/php.ini \uff08\u522b\u5fd8\u8bb0\u4e86\u5475\u5475\uff09<\/p>\n<p>\u5176\u4e2d.\/configure \u540e\u7684 <br \/>--prefix=\/usr\/local\/php <br \/>--with-apxs2=\/usr\/local\/apache\/bin\/apxs <br \/>--with-mysql=\/usr\/local\/mysql\/<br \/>--with-libxml-dir=\/usr\/local\/libxml2<br \/>\u662f\u5fc5\u8981\u7684\u9009\u9879<\/p>\n<p>--with-gd=\/usr\/local\/gd2\/ <br \/>--with-jpeg-dir=\/usr\/local\/jpeg6\/ <br \/>--with-png=\/usr\/local\/lib <br \/>--with-zlib-dir=\/usr\/lib<br \/>--with-freetype-dir=\/usr\/local\/freetype<br \/>\u8fd9\u662f\u8ba9PHP\u652f\u6301GD\u5e93\u7684\u914d\u7f6e\u9009\u9879<\/p>\n<p>--with-curl=\/usr\/local\/curl \u652f\u6301CURL\u5e93<br \/>--enable-ftp \u6253\u5f00FTP\u5e93\u51fd\u6570\u652f\u6301<\/p>\n<p>--enable-soap --with-xsl=\/usr\/local\/libxslt --enable-xslt<br \/>\u8ba9PHP\u652f\u6301SOAP, \u4e0a\u9762\u8fd9\u4e9b\u4e00\u822c\u7528\u5f97\u5c11, \u53ef\u4ee5\u53bb\u6389<\/p>\n<p>&nbsp;<\/p>\n<p>\u516d\uff1a\u91cd\u65b0\u914d\u7f6eapache2\u8ba9\u4ed6\u652f\u6301php\u3002<\/p>\n<p>\u914d\u7f6e httpd.conf \u8ba9apache\u652f\u6301PHP<br \/># vi \/usr\/local\/apache\/conf\/httpd.conf<br \/>\u627e\u5230 AddType application\/x-gzip .gz .tgz \u5728\u5176\u4e0b\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9<br \/>AddType application\/x-httpd-php .php<br \/>AddType application\/x-httpd-php-source .phps<\/p>\n<p>\u91cd\u542fapache<br \/># \/usr\/local\/apache\/bin\/apachectl restart<br \/>\u5728htdocs\u76ee\u5f55\u91cc\u5efa\u4e00\u5185\u5bb9\u4e3a PHP\u6587\u4ef6, \u8f93\u5165URL\u5730\u5740\u67e5\u770bPHP\u914d\u7f6e\u662f\u5426\u6b63\u786e<\/p>\n<p>ok\uff0cweb\u73af\u5883apache2+mysql5+php5\u5c31\u4ecb\u7ecd\u5230\u8fd9\u91cc\u3002<br \/>\u66f4\u8be6\u7ec6\u7684apache2\u7684\u914d\u7f6e\u548cmysql\u914d\u7f6e\u548cphp.ini\u7684\u914d\u7f6e\u53c2\u8003\u76f8\u5e94\u6587\u6863\u3002<br \/>--------------------------------------------------------<br \/>\u5b89\u88c5\u65f6\u5019\u9047\u5230\u7684\u95ee\u9898\uff1a<\/p>\n<p>\u7531\u4e8e\u672c\u4eba\u7684\u7cfb\u7edf\u662fredhat9\uff0c\u81ea\u5b9a\u4e49\u5b89\u88c5\u4e86php\uff0cmysql\uff0capache\u3002<br \/>\u6240\u4ee5\u5728\u5b89\u88c5\u6700\u65b0\u7684php\uff0cmysql\uff0capache\u7248\u672c\u65f6\u5019\uff0c\u672c\u4eba\u5bf9\u76f8\u5173\u7684rpm\u8fdb\u884c\u4e86<br \/>\u5378\u8f7d\uff0c\u5ffd\u7565\u4f9d\u8d56\u5173\u7cfb\u5f3a\u5236\u5378\u8f7dapache\uff1b\u7531\u4e8ephp,mysql\u4e0eperl\u7684bt\u4f9d\u8d56\u5173\u7cfb\uff0c<br \/>\u4e00\u6c14\u4e4b\u4e0b\u5220\u9664\u4e86\u6240\u6709\u7684\u76f8\u5173\u6587\u4ef6\u3002<\/p>\n<p>\u95ee\u9898<\/p>\n<p>1.\u5f53\u4f60\u770b\u5230mysql\u6709\u5f88\u591a\u7248\u672c\uff0c\u5982\uff1a<br \/>mysql-max-5.0.21-linux-i686-glibc23.tar.gz\u548c<br \/>mysql-max-5.0.21-linux-i686.tar.gz<br \/>\u8fd9\u4fe9\u4e2a\u5230\u5e95\u9009\u54ea\u4e2a\u5462\uff0c\u8bf7\u4f60\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u6765\u51b3\u5b9a<br \/># rpm -qa | grep glibc<br \/>glibc-kernheaders-2.4-8.10<br \/>glibc-common-2.3.2-11.9<br \/>glibc-2.3.2-11.9<br \/>glibc-devel-2.3.2-11.9<br \/>\u5982\u679c\u51fa\u73b0\u4ee5\u4e0a\u4fe1\u606f\uff0c\u8bf7\u9009\u62e9mysql-max-5.0.21-linux-i686-glibc23.tar.gz\u7248\u672c<\/p>\n<p>2\uff1a\u7f16\u8bd1php\u65f6\u51fa\u73b0<\/p>\n<p>.\/configure: \/usr\/local\/apache2\/bin\/apxs: \/replace\/with\/path\/to\/perl\/interpreter:<br \/>bad interpreter: No such file or directory<br \/>\u8fd9\u662f\u627e\u4e0d\u5230perl\u89e3\u91ca\u5668\u7684\u7f18\u6545\u3002<br \/>\u4fee\u6539\/usr\/local\/apache2\/bin\/apxs\u6587\u4ef6\u4e2d\uff1a<br \/>\/replace\/with\/path\/to\/perl\/interpreter<br \/>\u628a\u4ed6\u66ff\u6362\u6210perl\u6240\u5728\u7684\u8def\u5f84\u5982\/opt\/ActivePerl-5.8\/bin\/perl,<br \/>(\u5982\u679c\u4f60\u4e0b\u8f7d\u7684\u662factive perl5.8\u7684rpm\uff0c\u4ed6\u9ed8\u8ba4\u5b89\u88c5\u8def\u5f84\u662f\/opt\/ActivePerl-5.8\/bin\/perl)<\/p>\n<p>3.\u5b89\u88c5\u4e86perl\u540e\uff0c\u53d1\u73b0\u6240\u6709\u7684\u6587\u672c\u7f16\u8f91\u5668\u90fd\u4e0d\u80fd\u7528\u4e86\u3002<br \/>\u8fd0\u884cvi\u6216\u8005gedit\u65f6\u5019\uff0c\u63d0\u793a\u627e\u4e0d\u5230libperl.so<br \/>\u5230perl\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\u627e\u4e00\u4e2alibperl.so\u653e\u5230\/usr\/lib\u76ee\u5f55\u4e0b\u5c31\u89e3\u51b3\u95ee\u9898\u4e86<br \/>\u6211\u7684libperl.so\u5728\/opt\/ActivePerl-5.8\/lib\/5.8.8\/i686-linux-thread-multi-CORE\/\u76ee\u5f55\u4e0b\u3002<br \/>\u5982\u679c\u4e0d\u77e5\u9053libperl.so\u5728\u4ec0\u4e48\u5730\u65b9\uff0c\u53ef\u4ee5\u7528<br \/># locate libperl.so<br \/>\u67e5\u627e\uff0c\u6216\u8005\u7528find\u547d\u4ee4<\/p>\n<p>4.\u5f53\u6211\u4f7f\u7528mysql-standard-5.0.20\uff0c\u7f16\u8bd1php\u65f6\u51fa\u73b0mysql\u9519\u8bef\uff1a<\/p>\n<p>checking for mSQL support... no<br \/>checking for MSSQL support via FreeTDS... no<br \/>checking for MySQL support... yes<br \/>checking for specified location of the MySQL UNIX socket... no<br \/>checking for MySQL UNIX socket location... \/tmp\/mysql.sock<br \/>checking for mysql_close in -lmysqlclient... no<br \/>checking for mysql_error in -lmysqlclient... no<br \/>configure: error: mysql configure failed. Please check config.log for more information.<\/p>\n<p>\u7f51\u67e5\u627e\u8bf4\uff1a\u5b89\u88c5PHP\u7684\u65f6\u5019\u6ca1\u6709\u6307\u5b9a\u4e00\u4e0bmysql\u7684\u5b89\u88c5\u76ee\u5f55\u3002\u4f46\u662f\u6211\u5df2\u7ecf\u6307\u5b9a\u4e86\uff0c\u6240\u4ee5\u8fd9\u4e2a\u8bf4\u6cd5\u662f\u9519\u8bef\u7684,\u5176\u5b9e\u4e3b\u8981\u539f\u56e0\u662f mysql-level\u6ca1\u6709\u88c5\uff0c\u4e5f\u5c31\u662fmysql\u7684\u7248\u672c\u4e0d\u5bf9\uff0c\u5e94\u8be5\u6362<br \/>mysql-max-5.0.21\u7248\u672c\uff08\u5305\u542b\u6240\u6709mysql\u76f8\u5173\u5185\u5bb9\u7684\u8f6f\u4ef6\u5305\uff09<\/p>\n<p>5.\u7f16\u8bd1php\u65f6\u51fa\u73b0<br \/>configure: error: freetype2 not found! <br \/>\u6ca1\u6709\u5b89\u88c5freetype-level<\/p>\n<p>configure: error: libpng.(a|so) not found. <br \/>\u6ca1\u6709\u5b89\u88c5libpng-devel<\/p>\n<p>6\u5fd8\u4e86mysql\u7684root\u53e3\u4ee4\u600e\u4e48\u529e<br \/># \/usr\/local\/mysql\/support-files\/mysql.server stop<br \/># cd \/usr\/local\/mysql\/bin\/<br \/># mysqld_safe --skip-grant-tables &amp; <br \/># mysqladmin -u user password &#39;newpassword&#39;<br \/># mysqladmin flush-privileges<\/p>\n<p>-----------------------------------------------------------------<\/p>\n<p>#!\/bin\/sh<\/p>\n<p># <a href=\"http:\/\/lfs.linuxsir.org\/htdocs\/blfscvs\/general\/libxslt.html\" target=\"_blank\">http:\/\/lfs.linuxsir.org\/htdocs\/blfscvs\/general\/libxslt.html<\/a><br \/>\n<br \/># <a href=\"http:\/\/curl.haxx.se\/\" target=\"_blank\">http:\/\/curl.haxx.se\/<\/a>\n<\/p>\n<p>&nbsp;<\/p>\n<p>#- a.\u5b89\u88c5 jpeg6<br \/>#- \u5efa\u7acb\u76ee\u5f55\uff1a<br \/>mkdir -p \/usr\/local\/jpeg6<br \/>mkdir -p \/usr\/local\/jpeg6\/bin<br \/>mkdir -p \/usr\/local\/jpeg6\/lib<br \/>mkdir -p \/usr\/local\/jpeg6\/include<br \/>mkdir -p \/usr\/local\/jpeg6\/man<br \/>mkdir -p \/usr\/local\/jpeg6\/man1<br \/>mkdir -p \/usr\/local\/jpeg6\/man\/man1<\/p>\n<p>cd jpeg-6b<br \/>.\/configure --prefix=\/usr\/local\/jpeg6\/ --enable-shared --enable-static<br \/>make; make install<\/p>\n<p>#-----------------------------------------------------<br \/>#- b.install libpng<br \/>cd ..\/libpng<br \/>cp scripts\/makefile.std makefile<br \/>make; make install<\/p>\n<p>#-----------------------------------------------------<br \/>#- c.install freetype<br \/>cd ..\/freetype<br \/>mkdir -p \/usr\/local\/freetype<br \/>.\/configure --prefix=\/usr\/local\/freetype<br \/>make;make install<\/p>\n<p>#-----------------------------------------------------<br \/>#- d.:install zlib<br \/>cd ..\/zlib<br \/>.\/configure<br \/>make;make install<\/p>\n<p>#-----------------------------------------------------<br \/>#- e.install gd lib<br \/>mkdir -p \/usr\/local\/gd2<br \/>cd ..\/gd2<br \/>.\/configure --prefix=\/usr\/local\/gd2 --with-jpeg=\/usr\/local\/jpeg6\/ --with-png=\/usr\/local\/lib\/ --with-zlib=\/usr\/local\/lib\/ --with-freetype=\/usr\/local\/freetype\/<br \/>make; make install<\/p>\n<p>#- install cUrl lib<br \/>mkdir -p \/usr\/local\/curl<br \/>cd ..\/curl<br \/>.\/configure --prefix=\/usr\/local\/curl<br \/>make; make install<\/p>\n<p>#- a.install libxml2<br \/>cd ..\/libxml2<br \/>mkdir -p \/usr\/local\/libxml2<br \/>.\/configure --prefix=\/usr\/local\/libxml2<br \/>make; make install<\/p>\n<p>#- b.install libxslt<br \/>mkdir -p \/usr\/local\/libxslt<br \/>cd ..\/libxslt<br \/>.\/configure --prefix=\/usr\/local\/libxslt --with-libxml-prefix=\/usr\/local\/libxml2<br \/>make; make install<\/p>\n<p>#- install php5<br \/>mkdir -p \/usr\/local\/php<br \/>cd ..\/php<br \/>.\/configure --prefix=\/usr\/local\/php --with-apxs2=\/usr\/sbin\/apxs --with-mysql-dir=\/usr\/local\/mysql\/ --with-libxml-dir=\/usr\/local\/libxml2\/ --with-gd=\/usr\/local\/gd2\/ --with-jpeg-dir=\/usr\/local\/jpeg6\/ --with-png=\/usr\/local\/lib --with-zlib-dir=\/usr\/lib\/ --with-freetype-dir=\/usr\/local\/freetype --with-curl=\/usr\/local\/curl\/ --enable-ftp --enable-soap --with-xsl=\/usr\/local\/libxslt --enable-xslt --enable-sockets --enable-mbstring<br \/>make<br \/>make install<br \/>#- cp php.ini-dist \/usr\/local\/php\/lib\/php.ini \uff08\u522b\u5fd8\u8bb0\u4e86\u5475\u5475\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5apache2\u3002# cd \/home\/xiutuo\/software\/ \u8fdb\u5165 &hellip; <a href=\"https:\/\/www.xiaobo.li\/notes\/archives\/88\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[273],"tags":[33],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-article","tag-Apache"],"_links":{"self":[{"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xiaobo.li\/notes\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}