{"id":6313,"date":"2013-03-03T23:02:55","date_gmt":"2013-03-03T14:02:55","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=6313"},"modified":"2013-03-03T23:02:55","modified_gmt":"2013-03-03T14:02:55","slug":"centos6-3%e3%81%abapache%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/6313","title":{"rendered":"CentOS6.3\u306bApache\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>\n<br \/>\nyum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n<pre lang=\"x\">\n[root@cent ~]# yum install httpd\n\nLoaded plugins: fastestmirror, refresh-packagekit, security\nLoading mirror speeds from cached hostfile\n * base: www.ftp.ne.jp\n * extras: www.ftp.ne.jp\n * updates: www.ftp.ne.jp\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package httpd.x86_64 0:2.2.15-15.el6.centos.1 will be installed\n--> Processing Dependency: httpd-tools = 2.2.15-15.el6.centos.1 for package: httpd-2.2.15-15.el6.centos.1.x86_64\n--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-15.el6.centos.1.x86_64\n--> Processing Dependency: \/etc\/mime.types for package: httpd-2.2.15-15.el6.centos.1.x86_64\n--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-15.el6.centos.1.x86_64\n--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-15.el6.centos.1.x86_64\n--> Running transaction check\n---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed\n---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed\n---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed\n---> Package httpd-tools.x86_64 0:2.2.15-15.el6.centos.1 will be installed\n---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package            Arch        Version                      Repository    Size\n================================================================================\nInstalling:\n httpd              x86_64      2.2.15-15.el6.centos.1       base         813 k\nInstalling for dependencies:\n apr                x86_64      1.3.9-5.el6_2                updates      123 k\n apr-util           x86_64      1.3.9-3.el6_0.1              base          87 k\n apr-util-ldap      x86_64      1.3.9-3.el6_0.1              base          15 k\n httpd-tools        x86_64      2.2.15-15.el6.centos.1       base          70 k\n mailcap            noarch      2.1.31-2.el6                 base          27 k\n\nTransaction Summary\n================================================================================\nInstall       6 Package(s)\n\nTotal download size: 1.1 M\nInstalled size: 3.6 M\nIs this ok [y\/N]: y\nDownloading Packages:\n(1\/6): apr-1.3.9-5.el6_2.x86_64.rpm                      | 123 kB     00:00     \n(2\/6): apr-util-1.3.9-3.el6_0.1.x86_64.rpm               |  87 kB     00:00     \n(3\/6): apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm          |  15 kB     00:00     \n(4\/6): httpd-2.2.15-15.el6.centos.1.x86_64.rpm           | 813 kB     00:04     \n(5\/6): httpd-tools-2.2.15-15.el6.centos.1.x86_64.rpm     |  70 kB     00:00     \n(6\/6): mailcap-2.1.31-2.el6.noarch.rpm                   |  27 kB     00:00     \n--------------------------------------------------------------------------------\nTotal                                           133 kB\/s | 1.1 MB     00:08     \nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : apr-1.3.9-5.el6_2.x86_64                                     1\/6 \n  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                              2\/6 \n  Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                         3\/6 \n  Installing : httpd-tools-2.2.15-15.el6.centos.1.x86_64                    4\/6 \n  Installing : mailcap-2.1.31-2.el6.noarch                                  5\/6 \n  Installing : httpd-2.2.15-15.el6.centos.1.x86_64                          6\/6 \n  Verifying  : httpd-2.2.15-15.el6.centos.1.x86_64                          1\/6 \n  Verifying  : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                         2\/6 \n  Verifying  : apr-1.3.9-5.el6_2.x86_64                                     3\/6 \n  Verifying  : httpd-tools-2.2.15-15.el6.centos.1.x86_64                    4\/6 \n  Verifying  : mailcap-2.1.31-2.el6.noarch                                  5\/6 \n  Verifying  : apr-util-1.3.9-3.el6_0.1.x86_64                              6\/6 \n\nInstalled:\n  httpd.x86_64 0:2.2.15-15.el6.centos.1                                                                                               \n\nDependency Installed:\n  apr.x86_64 0:1.3.9-5.el6_2                       apr-util.x86_64 0:1.3.9-3.el6_0.1      apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1     \n  httpd-tools.x86_64 0:2.2.15-15.el6.centos.1      mailcap.noarch 0:2.1.31-2.el6         \n\nComplete!\n<\/pre>\n<br \/>\n<br \/>\napache\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5<br \/>\n<pre lang=\"x\">\n[root@cent ~]# \/etc\/init.d\/httpd start\nhttpd \u3092\u8d77\u52d5\u4e2d: httpd: apr_sockaddr_info_get() failed for cent\nhttpd: Could not reliably determine the server's fully qualified domain name, \nusing 127.0.0.1 for ServerName\n                                                           [  OK  ]\n<\/pre>\n<br \/>\n<br \/>\n\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002<br \/>\n<pre lang=\"x\">\n[root@cent ~]# \/etc\/init.d\/httpd status\nhttpd (pid  35166) \u3092\u5b9f\u884c\u4e2d...\n<\/pre>\n<br \/>\n\u3053\u308c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089http:\/\/localhost\/\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [root@cent ~]# yum install httpd Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * extras: www.ftp.ne.jp * updates: www.ftp.ne.jp Setting up Install Process Resolving Dependencies &#8211;> Running transaction check &#8211;\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6444,"url":"http:\/\/nanoappli.com\/blog\/archives\/6444","url_meta":{"origin":6313,"position":0},"title":"AWS\u306et1.micro\u3067node.js\u3092\u4f7f\u7528\u3057\u3066\u307f\u308b","date":"2014\u5e746\u670829\u65e5","format":false,"excerpt":"\u4eca\u56de\u306f\u3001AWS\u3067node.js\u3092\u4f7f\u7528\u3057\u3066\u307f\u307e\u3059\u3002 node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2014\/06\/140629_004.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7373,"url":"http:\/\/nanoappli.com\/blog\/archives\/7373","url_meta":{"origin":6313,"position":1},"title":"[vagrant]\u4e0d\u8981\u306abox\u306e\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b","date":"2016\u5e744\u67083\u65e5","format":false,"excerpt":"vagrant\u3067box add\u3059\u308b\u3068\u3001os\u306e\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4ee5\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6317,"url":"http:\/\/nanoappli.com\/blog\/archives\/6317","url_meta":{"origin":6313,"position":2},"title":"[CentOS]SELinux\u3092\u7121\u52b9\u306b\u3059\u308b","date":"2013\u5e743\u670824\u65e5","format":false,"excerpt":"\u307e\u305a\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u5bfe\u3057\u3066sudo\u3092\u6709\u52b9\u5316\u3057\u3066\u304a\u304f \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\/etc\/sudoers\u3060\u304c\u3001vi\u3067\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8040,"url":"http:\/\/nanoappli.com\/blog\/archives\/8040","url_meta":{"origin":6313,"position":3},"title":"XDebug\u3092\u6709\u52b9\u5316\u3057\u305f\u3068\u304d\u306e\u30e1\u30e2","date":"2017\u5e742\u670823\u65e5","format":false,"excerpt":"chrome\u306bextension\u3092\u8ffd\u52a0\u3059\u308b \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148 Xdebug helper \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7992,"url":"http:\/\/nanoappli.com\/blog\/archives\/7992","url_meta":{"origin":6313,"position":4},"title":"&#8216;cURL error 60&#8217;\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5 &#8216;cURL error 60: SSL certificate problem: unable to get local issuer certificate&#8217;","date":"2017\u5e742\u670811\u65e5","format":false,"excerpt":"cURL\u3092\u4f7f\u7528\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067https\u306e\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u3001\u4e0b\u8a18\u306e\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 \u3053\u306e\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4739,"url":"http:\/\/nanoappli.com\/blog\/archives\/4739","url_meta":{"origin":6313,"position":5},"title":"DirectX SDK\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b&#8221;S1023\u30a8\u30e9\u30fc&#8221;\u304c\u51fa\u308b\u6642\u306e\u5bfe\u51e6\u6cd5","date":"2012\u5e749\u670829\u65e5","format":false,"excerpt":"DirectX\u306eSDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u300cS1023\u30a8\u30e9\u30fc\u300d\u304c\u51fa\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u30bb\u30c3\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/09\/20120927_05-500x373.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6313"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=6313"}],"version-history":[{"count":3,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6313\/revisions"}],"predecessor-version":[{"id":6316,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6313\/revisions\/6316"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=6313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=6313"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=6313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}