Linux<\/a>\u5b9e\u4f8b\u4e0a\u5b89\u88c5\u548c\u914d\u7f6ephpMyAdmin\u3002<\/p>\n<\/p>\n
\u91cd\u8981:<\/p>\n
\u9664\u975e\u5728Apache\u4e2d\u542f\u7528\u4e86SSL\/TLS\uff0c\u5426\u5219\u4e0d\u5efa\u8bae\u4f7f\u7528phpMyAdmin\u8bbf\u95eeLAMP\u670d\u52a1\u5668\uff1b\u5047\u5982\u4f7f\u7528phpMyAdmin\uff0c\u6570\u636e\u5e93\u7ba1\u7406\u5458\u5bc6\u7801\u548c\u5176\u4ed6\u6570\u636e\u5c06\u96be\u4ee5\u5b89\u5168\u5730\u901a\u8fc7Internet\u4f20\u8f93\u3002<\/p>\n
\u5b89\u88c5phpMyAdmin<\/p>\n
1.\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n
\n
[<\/span>ec2-user ~]<\/span>$ sudo<\/span> yum install<\/span> php-mbstring -y\n<\/code><\/pre>\n<\/p>\n2.\u91cd\u542fApache\u3002<\/p>\n
\n
[<\/span>ec2-user ~]<\/span>$ sudo<\/span> systemctl restart httpd\n<\/code><\/pre>\n<\/p>\n3.\u91cd\u542fphp-fpm.<\/p>\n
\n
[<\/span>ec2-user ~]<\/span>$ sudo<\/span> systemctl restart php-fpm\n<\/code><\/pre>\n<\/p>\n4.\u5bfc\u822a\u5230\u5750\u843d\/var\/www\/html\u7684Apache\u6587\u6863\u6839\u3002<\/p>\n
\n
[<\/span>ec2-user ~]<\/span>$ cd<\/span> \/var\/www\/html\n<\/code><\/pre>\n<\/p>\n5.\u4ece\u9009\u62e9\u6700\u65b0phpMyAdmin\u53d1\u884c\u7248\u7684\u6e90\u8f6f\u4ef6\u5305\u3002\u8981\u5c06\u6587\u4ef6\u76f4\u63a5\u4e0b\u8f7d\u5230\u60a8\u7684\u5b9e\u4f8b\uff0c\u8bf7\u590d\u5236\u94fe\u63a5\u5e76\u5c06\u5176\u7c98\u8d34\u5230wget\u547d\u4ee4\uff0c\u5982\u672c\u793a\u4f8b\u4e2d\u6240\u8ff0\uff1a<\/p>\n
\n
[<\/span>ec2-user html]<\/span>$ wget<\/span> https:\/\/www.phpmyadmin.net\/downloads\/phpMyAdmin-latest-all-languages.tar.gz\n<\/code><\/pre>\n<\/p>\n6.\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efaphpMyAdmin\u6587\u4ef6\u5939\u5e76\u5c06\u7a0b\u5e8f\u5305\u63d0\u53d6\u5230\u5176\u4e2d\u3002<\/p>\n
\n
[<\/span>ec2-user html]<\/span>$ mkdir<\/span> phpMyAdmin &&<\/span> tar<\/span> -xvzf phpMyAdmin-latest-all-languages.tar.gz -C phpMyAdmin --strip-components 1\n<\/code><\/pre>\n<\/p>\n7.\u5220\u6389phpMyAdmin-latest-all-languages.tar.gztarball\u3002<\/p>\n
\n
[<\/span>ec2-user html]<\/span>$ rm<\/span> phpMyAdmin-latest-all-languages.tar.gz\n<\/code><\/pre>\n<\/p>\n8.(\u53ef\u9009)\u5047\u5982MySQL\u670d\u52a1\u5668\u672a\u8fd0\u884c\uff0c\u8bf7\u7acb\u523b\u542f\u52a8\u5b83\u3002<\/p>\n
\n
[<\/span>ec2-user ~]<\/span>$ sudo<\/span> systemctl start mariadb\n<\/code><\/pre>\n<\/p>\n9.\u5728Web\u6d4f\u89c8\u5668\u4e2d\uff0c\u952e\u5165phpMyAdmin\u5b89\u88c5\u7684\u5b9e\u4f8b\u7684\u516c\u6709DNS\u5730\u5740(\u6216\u516c\u6709IP\u5730\u5740)\uff0c\u540e\u63a5\u6b63\u659c\u6760\u548c\u5b89\u88c5\u76ee\u5f55\u7684\u540d\u79f0\u3002\u8bf8\u5982\uff1a<\/p>\n
\n
http:\/\/my.public.dns.amazonaws.com\/phpMyAdmin\n<\/code><\/pre>\n<\/p>\n\u4f7f\u7528\u539f\u672c\u521b\u5efa\u7684\u6839\u5e10\u6237\u7528\u6237\u540droot\u548c\u6839\u5bc6\u7801\u5c31\u53ef\u4ee5\u767b\u5f55\u4e86\u3002<\/p>\n
\u672c\u7bc7\u4e3a\u5b66\u4e60\u8fc7\u7a0b\u8bb0\u5f55\u7b14\u8bb0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u6b65\u9aa43\uff1a\u786e\u4fdd\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u5b89\u5168\u670d\u52a1\u5668\u7684\u9ed8\u8ba4\u5b89\u88c5\u63d0\u4f9b\u6709\u591a\u79cd\u529f\u80fd\uff0c\u8fd9\u4e9b\u529f\u80fd\u5bf9\u4e8e\u6d4b\u8bd5\u548c\u5f00\u53d1\u90fd\u5f88\u6709\u5e2e\u52a9\uff0c\u4f46\u5bf9\u4e8e\u4ea7\u54c1\u670d\u52a1\u5668\uff0c\u5e94\u7981\u7528\u6216\u5220\u9664\u8fd9\u4e9b\u529f\u80fd\u30021.\u542f\u52a8MariaDB\u670d\u52a1\u5668\u3002\u5982\u679c\u4e0d\u6253\u7b97\u7acb\u5373\u4f7f\u7528MariaDB\u670d\u52a1\u5668\uff0c\u505c\u6b62\u5b83\u3002\u5b9e\u4f8b\u4e0a\u5b89\u88c5\u548c\u914d\u7f6ephpMyAdmin\u3002\u5982\u679cMySQL\u670d\u52a1\u5668\u672a\u8fd0\u884c\uff0c\u8bf7\u7acb\u5373\u542f\u52a8\u5b83\u3002<\/p>\n","protected":false},"author":1,"featured_media":294539,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[2331,1436,4433,1352],"class_list":["post-294538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-lb","tag-wb","tag-dl-6","tag-bh"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294538"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294539"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}