{"id":1025,"date":"2014-08-20T22:25:23","date_gmt":"2014-08-20T13:25:23","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=1025"},"modified":"2014-08-20T22:35:09","modified_gmt":"2014-08-20T13:35:09","slug":"centos7-%e3%81%ab-nginx%e3%80%81phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=1025","title":{"rendered":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002<br \/>\n\u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002<\/p>\n<h3>nginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>nginx\u7528\u306erepo\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<br \/>\n[bash]<br \/>\n$ sudo nano \/etc\/yum.repos.d\/nginx.repo<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0b\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u60c5\u5831\u3092\u8ffd\u8a18<br \/>\n[bash]<br \/>\n[nginx]<br \/>\nname=nginx repo<br \/>\n#baseurl=http:\/\/nginx.org\/packages\/centos\/$releasever\/$basearch\/<br \/>\nbaseurl=http:\/\/nginx.org\/packages\/mainline\/centos\/$releasever\/$basearch\/<br \/>\ngpgcheck=0<br \/>\nenabled=0<\/p>\n<p>[\/bash]<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n[bash]<br \/>\n$ sudo yum install nginx<br \/>\n[\/bash]<\/p>\n<p>nginx\u3092\u8d77\u52d5\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u958b\u59cb\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/p>\n<p>[bash]<\/p>\n<p>$ sudo systemctl start nginx.service<br \/>\n$ sudo systemctl enable nginx.service<\/p>\n<p>[\/bash]<\/p>\n<h3>\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a<\/h3>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u306e\u524d\u306b\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u304c\u30c7\u30d5\u30a9\u3067\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067http\u3092\u901a\u3059\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<p>\u307e\u305a\u78ba\u8a8d\u3002<br \/>\n[bash]<br \/>\n$ sudo firewall-cmd &#8211;list-all<\/p>\n<p>public (default, active)<br \/>\n  interfaces: virbr0 wlp2s0<br \/>\n  sources:<br \/>\n  services: dhcpv6-client ssh<br \/>\n  ports:<br \/>\n  masquerade: no<br \/>\n  forward-ports:<br \/>\n  icmp-blocks:<br \/>\n  rich rules:<\/p>\n<p>[\/bash]<\/p>\n<p>ssh\u3068dhcp\u3057\u304b\u6709\u52b9\u3058\u3083\u306a\u3044\u306e\u3067\u3001http\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\n\u305d\u306e\u524d\u306b\u3069\u3093\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u3066\u3001\u4eca\u3069\u308c\u304c public\u3067\u6709\u52b9\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u3002<\/p>\n<p>[bash]<br \/>\n\u203b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7<br \/>\n$ sudo firewall-cmd &#8211;get-services<\/p>\n<p>\u203bpublic\u306e\u30b5\u30fc\u30d3\u30b9\u78ba\u8a8d<br \/>\n$ sudo firewall-cmd &#8211;list-service &#8211;zone=public <\/p>\n<p>[\/bash]<\/p>\n<p>nginx\u306a\u306e\u3067\u3000http\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b<\/p>\n<p>[bash]<br \/>\n\u203b\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3059\u308b<br \/>\n$ sudo firewall-cmd &#8211;add-service=http &#8211;zone=public<\/p>\n<p>\u203b\u6052\u4e45\u7684\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3059\u308b<br \/>\n$ sudo firewall-cmd &#8211;add-service=http &#8211;zone=public &#8211;permanent<\/p>\n<p>[\/bash]<\/p>\n<p>\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u518d\u8d77\u52d5<br \/>\n[bash]<br \/>\n$ sudo firewall-cmd &#8211;reload<br \/>\n[\/bash]<\/p>\n<p>http\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d<br \/>\n[bash]<br \/>\n$ sudo firewall-cmd &#8211;list-all<\/p>\n<p>public (default, active)<br \/>\n  interfaces: virbr0 wlp2s0<br \/>\n  sources:<br \/>\n  services: dhcpv6-client http ssh<br \/>\n  ports:<br \/>\n  masquerade: no<br \/>\n  forward-ports:<br \/>\n  icmp-blocks:<br \/>\n  rich rules:<\/p>\n<p>[\/bash]<\/p>\n<h4>\u52d5\u4f5c\u78ba\u8a8d<\/h4>\n<p>\u30b5\u30fc\u30d0\u30fc\u306eIP\u306b\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u63a5\u7d9a<\/p>\n<p>http:\/\/192.168.x.x<\/p>\n<p>nginx\u306e welcom\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3002<\/p>\n<h3>php,php-mysql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb <\/h3>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n[bash]<\/p>\n<p>$ sudo yum install php-fpm php-mbstring php-mysql<\/p>\n<p>[\/bash]<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3068\u3001\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a<br \/>\n[bash]<br \/>\n$ sudo systemctl start php-fpm.service<br \/>\n$ sudo systemctl enable php-fpm.service<\/p>\n<p>[\/bash]<\/p>\n<p>nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3001PHP\u3092\u6709\u52b9\u306b\u3059\u308b\u3002<br \/>\n[bash]<br \/>\n$ sudo nano \/etc\/nginx\/conf.d\/default.conf<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u8ffd\u8a18<br \/>\n[bash]<br \/>\n    location ~ \\.php$ {<br \/>\n        root           \/usr\/share\/nginx\/html;      <<<< \u3053\u3053\u8981\u6ce8\u610f\n        # fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n        fastcgi_pass   127.0.0.1:9000;\n        fastcgi_index  index.php;\n        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;    << document_root\u3092\u6e21\u3059\n        include        fastcgi_params;\n    }\n\n[\/bash]\n\n\n\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001php\u306e\u52d5\u4f5c\u78ba\u8a8d\n[bash]\n$ sudo nano \/usr\/share\/nginx\/html\/test.php\n[\/bash]\n\n[bash]\n<?php\n\tphpinfo();\n?><br \/>\n[\/bash]<\/p>\n<p>nginx\u3092\u518d\u8d77\u52d5\u3057\u3001\u52d5\u4f5c\u78ba\u8a8d<\/p>\n<p>[bash]<br \/>\n$ sudo systemctl restart nginx.service<br \/>\n[\/bash]<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001<br \/>\nhttp:\/\/192.168.x.x\/test.php<br \/>\n\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<h3>phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb <\/h3>\n<p><a href=\"http:\/\/www.phpmyadmin.net\/home_page\/index.php\">phpmyadmin\u306e\u30da\u30fc\u30b8<\/a>\u3088\u308a\u6700\u65b0\u306ephpmyadmin\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002<\/p>\n<p>\u89e3\u51cd\u3057\u3066\u3001\/usr\/share\u3000\u30d5\u30a9\u30eb\u30c0\u3078\u30b3\u30d4\u30fc<br \/>\n[bash]<br \/>\nunzip phpMyAdmin-4.2.7.1-all-languages.zip<br \/>\nmv phpMyAdmin-4.2.7.1-all-languages phpmyadmin<\/p>\n<p>sudo mv phpmyadmin \/usr\/share<\/p>\n<p>[\/bash]<\/p>\n<p>nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u8ffd\u8a18<br \/>\n[bash]<br \/>\n$ sudo nano \/etc\/nginx\/conf.d\/default.conf<br \/>\n[\/bash]<\/p>\n<p>[bash]<br \/>\n    location \/phpmyadmin {<br \/>\n        root \/usr\/share;<br \/>\n        index index.php;<\/p>\n<p>        location ~ ^\/phpmyadmin.+\\.php$ {<br \/>\n             # fastcgi_pass unix:\/var\/run\/php5-fpm.sock;<br \/>\n             fastcgi_pass   127.0.0.1:9000;<br \/>\n             fastcgi_index index.php;<br \/>\n             fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br \/>\n             include fastcgi_params;<br \/>\n        }<\/p>\n<p>    }<\/p>\n<p>[\/bash]<\/p>\n<p>\u8d64\u3044\u6587\u5b57\u3067\u4f55\u3084\u3089\u30a8\u30e9\u30fc\u304c<\/p>\n<p>[bash]<br \/>\nCannot start session without errors, please check errors given in your PHP and\/or webserver log file and configure your PHP installation properly.<br \/>\n[\/bash]<\/p>\n<p>php.ini\u306e\u3000\u4ee5\u4e0b\u306e\u90e8\u5206\u304c\u30c0\u30e1\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044<\/p>\n<p>session.save_path = &#8220;\/var\/lib\/php\/session&#8221;<\/p>\n<p>\u3067\u3001php.ini\u3092\u8997\u3044\u3066\u307f\u308b\u3068\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3069\u308c\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u304b\u308f\u304b\u3089\u306a\u3044\u3002<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u304c\u308f\u304b\u3089\u306a\u3051\u308c\u3070\u624b\u66f8\u304d\u3059\u308a\u3083\u3044\u3044\u306e\u3067<\/p>\n<p>[bash]<br \/>\n$ sudo nano \/etc\/php.ini<\/p>\n<p>[\/bash]<\/p>\n<p>php.ini\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<p>[diff]<br \/>\nsession.save_path = &#8220;\/var\/lib\/php\/session&#8221;<br \/>\n[\/diff]<\/p>\n<p>\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u3001\u30d5\u30eb\u30a2\u30af\u30bb\u30b9\u306b\u3059\u308b\u3002\uff08\u30d5\u30eb\u30a2\u30af\u30bb\u30b9\u306f\u3061\u3068\u3084\u3070\u3044\u304b\u3082\u3060\u304c\u3001\u3054\u52d8\u5f01\uff09<\/p>\n<p>[bash]<br \/>\n$ sudo mkdir \/var\/lib\/php\/session\u3000<br \/>\n$ sudo chmod 777 \/var\/lib\/php\/session<br \/>\n[\/bash]<\/p>\n<h4>\u52d5\u4f5c\u78ba\u8a8d<\/h4>\n<p>http:\/\/192.168.x.x\/phpmyadmin<\/p>\n<p>phpmyadmin\u306e\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002 nginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb nginx\u7528\u306erepo\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210 [bash] $ sudo nano \/etc\/yum.repos.d\/nginx.repo [\/bash] \u4ee5\u4e0b\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u60c5\u5831\u3092\u8ffd\u8a18 [bash] [nginx] name=nginx repo #baseurl=http:\/\/nginx.org\/packages\/centos\/$releasever\/$basearch\/ baseurl=http:\/\/nginx.org\/packages\/mainline\/centos\/$releasever\/$basearch\/ gpgcheck=0 enabled=0 [\/bash] \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [bash] $ sudo yum install nginx [\/bash] nginx\u3092\u8d77\u52d5\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u958b\u59cb\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a [bash] $ sudo systemctl start nginx.service $ sudo systemctl enable nginx.service [\/bash] \u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a \u52d5\u4f5c\u78ba\u8a8d\u306e\u524d\u306b\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u304c\u30c7\u30d5\u30a9\u3067\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067http\u3092\u901a\u3059\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u3002 \u307e\u305a\u78ba\u8a8d\u3002 [bash] $ sudo firewall-cmd &#8211;list-all public (default, active) interfaces: virbr0 wlp2s0 sources: services: dhcpv6-client ssh ports: masquerade: no forward-ports: icmp-blocks: rich rules: [\/bash] ssh\u3068dhcp\u3057\u304b\u6709\u52b9\u3058\u3083\u306a\u3044\u306e\u3067\u3001http\u3092\u8ffd\u52a0\u3059\u308b\u3002 \u305d\u306e\u524d\u306b\u3069\u3093\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u3066\u3001\u4eca\u3069\u308c\u304c public\u3067\u6709\u52b9\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u3002 [bash] \u203b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7 $ sudo firewall-cmd &#8211;get-services \u203bpublic\u306e\u30b5\u30fc\u30d3\u30b9\u78ba\u8a8d $ sudo firewall-cmd &#8211;list-service &#8211;zone=public [\/bash] nginx\u306a\u306e\u3067\u3000http\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b [bash] \u203b\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3059\u308b $ sudo firewall-cmd &#8211;add-service=http &#8211;zone=public \u203b\u6052\u4e45\u7684\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u8ffd\u52a0\u3059\u308b $ sudo firewall-cmd &#8211;add-service=http &#8211;zone=public &#8211;permanent [\/bash] \u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u518d\u8d77\u52d5 [bash] $ sudo firewall-cmd &#8211;reload [\/bash] http\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d [bash] $ sudo firewall-cmd &#8211;list-all public (default, active) interfaces: virbr0 wlp2s0 sources: services: dhcpv6-client http ssh ports: masquerade: no forward-ports: icmp-blocks: rich rules: [\/bash] \u52d5\u4f5c\u78ba\u8a8d \u30b5\u30fc\u30d0\u30fc\u306eIP\u306b\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u63a5\u7d9a http:\/\/192.168.x.x nginx\u306e welcom\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3002 php,php-mysql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [bash] $ sudo yum install php-fpm php-mbstring php-mysql [\/bash] \u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3068\u3001\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a [bash] $ sudo systemctl start php-fpm.service $ sudo systemctl enable php-fpm.service [\/bash] nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3001PHP\u3092\u6709\u52b9\u306b\u3059\u308b\u3002 [bash] $ sudo nano \/etc\/nginx\/conf.d\/default.conf [\/bash] \u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u8ffd\u8a18 [bash] location ~ \\.php$ { root \/usr\/share\/nginx\/html;<\/p>\n","protected":false},"author":1,"featured_media":1032,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[4],"tags":[25,51,13,52],"class_list":{"0":"post-1025","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-4","8":"tag-centos","9":"tag-centos7","10":"tag-nginx","11":"tag-phpmyadmin"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiroshi\"\/>\n\t<meta name=\"google-site-verification\" content=\"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/lovelinux.mydns.jp\/?p=1025\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Love Linux | enjoy using linux for programming flatform\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\" \/>\n\t\t<meta property=\"og:description\" content=\"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lovelinux.mydns.jp\/?p=1025\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-08-20T13:25:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-08-20T13:35:09+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#article\",\"name\":\"CentOS7 \\u306b nginx\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\",\"headline\":\"CentOS7 \\u306b nginx\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\",\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/eye2.png\",\"width\":951,\"height\":221},\"datePublished\":\"2014-08-20T22:25:23+09:00\",\"dateModified\":\"2014-08-20T22:35:09+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#webpage\"},\"articleSection\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9, centos, centos7, nginx, phpmyadmin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=4#listItem\",\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=4#listItem\",\"position\":2,\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#listItem\",\"name\":\"CentOS7 \\u306b nginx\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#listItem\",\"position\":3,\"name\":\"CentOS7 \\u306b nginx\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=4#listItem\",\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1\",\"name\":\"hiroshi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiroshi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#webpage\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025\",\"name\":\"CentOS7 \\u306b nginx\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\",\"description\":\"CentOS 7 \\u306b nginx\\u3068 php\\u5b9f\\u884c\\u74b0\\u5883\\u3001phpmyadmin\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\\u3059\\u308b\\u624b\\u9806\\u3067\\u3059\\u3002 \\u7c21\\u5358\\u305d\\u3046\\u3067\\u3001\\u7d50\\u69cb\\u3042\\u308c\\u3053\\u308c\\u306f\\u307e\\u3063\\u305f\\u306e\\u3067\\u3001\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/eye2.png\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025\\\/#mainImage\",\"width\":951,\"height\":221},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1025#mainImage\"},\"datePublished\":\"2014-08-20T22:25:23+09:00\",\"dateModified\":\"2014-08-20T22:35:09+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/\",\"name\":\"Love Linux\",\"description\":\"enjoy using linux for programming flatform\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","description":"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002","canonical_url":"https:\/\/lovelinux.mydns.jp\/?p=1025","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#article","name":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","headline":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/08\/eye2.png","width":951,"height":221},"datePublished":"2014-08-20T22:25:23+09:00","dateModified":"2014-08-20T22:35:09+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#webpage"},"isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#webpage"},"articleSection":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9, centos, centos7, nginx, phpmyadmin"},{"@type":"BreadcrumbList","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","position":1,"name":"Home","item":"https:\/\/lovelinux.mydns.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=4#listItem","name":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=4#listItem","position":2,"name":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9","item":"https:\/\/lovelinux.mydns.jp\/?cat=4","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#listItem","name":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#listItem","position":3,"name":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=4#listItem","name":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9"}}]},{"@type":"Person","@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author","url":"https:\/\/lovelinux.mydns.jp\/?author=1","name":"hiroshi","image":{"@type":"ImageObject","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiroshi"}},{"@type":"WebPage","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#webpage","url":"https:\/\/lovelinux.mydns.jp\/?p=1025","name":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","description":"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/#website"},"breadcrumb":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#breadcrumblist"},"author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"creator":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/08\/eye2.png","@id":"https:\/\/lovelinux.mydns.jp\/?p=1025\/#mainImage","width":951,"height":221},"primaryImageOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1025#mainImage"},"datePublished":"2014-08-20T22:25:23+09:00","dateModified":"2014-08-20T22:35:09+09:00"},{"@type":"WebSite","@id":"https:\/\/lovelinux.mydns.jp\/#website","url":"https:\/\/lovelinux.mydns.jp\/","name":"Love Linux","description":"enjoy using linux for programming flatform","inLanguage":"en-GB","publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"}}]},"og:locale":"en_GB","og:site_name":"Love Linux | enjoy using linux for programming flatform","og:type":"article","og:title":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","og:description":"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002","og:url":"https:\/\/lovelinux.mydns.jp\/?p=1025","article:published_time":"2014-08-20T13:25:23+00:00","article:modified_time":"2014-08-20T13:35:09+00:00","twitter:card":"summary_large_image","twitter:title":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","twitter:description":"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002"},"aioseo_meta_data":{"post_id":"1025","title":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","description":"CentOS 7 \u306b nginx\u3068 php\u5b9f\u884c\u74b0\u5883\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3067\u3059\u3002\r\n\u7c21\u5358\u305d\u3046\u3067\u3001\u7d50\u69cb\u3042\u308c\u3053\u308c\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3002","keywords":[{"label":"centos","value":"centos"},{"label":"centos7","value":"centos7"},{"label":"phpmyadmin","value":"phpmyadmin"},{"label":"nginx","value":"nginx"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-25 11:14:03","updated":"2025-08-25 11:14:03","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=4\" title=\"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\">\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/lovelinux.mydns.jp"},{"label":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9","link":"https:\/\/lovelinux.mydns.jp\/?cat=4"},{"label":"CentOS7 \u306b nginx\u3001phpmyadmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","link":"https:\/\/lovelinux.mydns.jp\/?p=1025"}],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1025"}],"version-history":[{"count":10,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1025\/revisions"}],"predecessor-version":[{"id":1036,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1025\/revisions\/1036"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/1032"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}