{"id":31,"date":"2021-06-22T22:36:53","date_gmt":"2021-06-22T14:36:53","guid":{"rendered":"http:\/\/www.tysql.com\/?p=31"},"modified":"2021-06-22T22:36:53","modified_gmt":"2021-06-22T14:36:53","slug":"linux%e4%b8%ad%e5%ae%89%e8%a3%85apache","status":"publish","type":"post","link":"https:\/\/www.tysql.com\/index.php\/2021\/06\/22\/linux%e4%b8%ad%e5%ae%89%e8%a3%85apache\/","title":{"rendered":"Linux\u4e2d\u5b89\u88c5apache"},"content":{"rendered":"\n<p>1\u3001\u76f4\u63a5\u4f7f\u7528<strong>yum install httpd<\/strong>\u8fdb\u884c\u5b89\u88c5<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;apl&quot;,&quot;mime&quot;:&quot;text\/apl&quot;,&quot;theme&quot;:&quot;darcula&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;APL&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;apl&quot;}\">yum install httpd<\/pre><\/div>\n\n\n\n<p>2\u3001\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u518d\u7528<strong>\u00a0rpm \u00a0-qa \u00a0|grep \u00a0httpd\uff0c<\/strong>\u67e5\u770bapache\u662f\u5426\u5df2\u5b89\u88c5\u6210\u529f<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;apl&quot;,&quot;mime&quot;:&quot;text\/apl&quot;,&quot;theme&quot;:&quot;darcula&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;APL&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;apl&quot;}\">rpm  -qa  |grep  httpd<\/pre><\/div>\n\n\n\n<p>3\u3001apache\uff0c\u547d\u4ee4\u7528\uff1a<strong>service httpd start<\/strong><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;apl&quot;,&quot;mime&quot;:&quot;text\/apl&quot;,&quot;theme&quot;:&quot;darcula&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;APL&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;apl&quot;}\">service httpd start<\/pre><\/div>\n\n\n\n<p>4\u3001\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;apl&quot;,&quot;mime&quot;:&quot;text\/apl&quot;,&quot;theme&quot;:&quot;darcula&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;APL&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;apl&quot;}\">chkconfig httpd on<\/pre><\/div>\n\n\n\n<p>\u53c2\u8003\u94fe\u63a5:<a rel=\"noreferrer noopener\" href=\"https:\/\/blog.csdn.net\/qq_24394093\/article\/details\/90550134\" target=\"_blank\">https:\/\/blog.csdn.net\/qq_24394093\/article\/details\/90550134<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u76f4\u63a5\u4f7f\u7528yum install httpd\u8fdb\u884c\u5b89\u88c5 2\u3001\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u518d\u7528\u00a0rpm \u00a0-qa \u00a0|grep  &hellip; <a href=\"https:\/\/www.tysql.com\/index.php\/2021\/06\/22\/linux%e4%b8%ad%e5%ae%89%e8%a3%85apache\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Linux\u4e2d\u5b89\u88c5apache<\/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":[2],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":1,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/posts\/31\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tysql.com\/index.php\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}