{"id":2867,"date":"2019-05-07T22:40:17","date_gmt":"2019-05-07T19:40:17","guid":{"rendered":"https:\/\/kifarunix.com\/?p=2867"},"modified":"2019-05-07T22:41:24","modified_gmt":"2019-05-07T19:41:24","slug":"install-phpmyadmin-with-nginx-on-fedora-30","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-phpmyadmin-with-nginx-on-fedora-30\/","title":{"rendered":"Install phpMyAdmin with Nginx on Fedora 30"},"content":{"rendered":"\n<p>This guide will take you through how to install phpMyAdmin with Nginx on Fedora 30. As you already know, phpMyAdmin enables administration of MySQL\/MariaDB operations from Web browser.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install phpMyAdmin with Nginx on Fedora 30<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>To install phpMyAdmin with Nginx on Fedora 30, ensure that you have LEMP stack installed. We have covered the installation Nginx, PHP 7.3 and MariaDB 10.3 in our previous guides. See the link below;<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-mariadb-10-3-on-fedora-30\/\" target=\"_blank\">Install MariaDB 10.3 on Fedora 30<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-php-7-3-4-on-fedora-30\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install PHP 7.3.4 on Fedora 30<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-nginx-web-server-on-fedora-30\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install Nginx Web Server on Fedora 30<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_10\">Install phpMyAdmin on Fedora 30<\/h2>\n\n\n\n<p>Default Fedora repos provides phpMyAdmin and hence, installation can be done hustle free using the DNF package manager.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install phpmyadmin<\/code><\/pre>\n\n\n\n<p>Once the installation is done, phpMyAdmin configuration files are installed under <strong>\/usr\/share\/phpMyAdmin<\/strong>.<\/p>\n\n\n\n<p>However, the phpMyAdmin Nginx configuration file is installed under the <strong>\/etc\/nginx\/default.d\/phpMyAdmin.conf<\/strong>. Within this configuration file, phpMyAdmin is set to be accessed from the the Nginx document root folder, <strong>\/usr\/share\/nginx\/html\/phpMyAdmin<\/strong>. An alias of this directory is made to the default phpMyAdmin installation directory stated above.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>less \/etc\/nginx\/default.d\/phpMyAdmin.conf \n# phpMyAdmin\n\nlocation = \/phpMyAdmin {\n    alias \/usr\/share\/phpMyAdmin\/;\n}\n...<\/code><\/pre>\n\n\n\n<p>Therefore, for Nginx to server phpMyAdmin content, you need to create a symbolic of phpMyAdmin default install directory to phpMyAdmin Nginx root directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ln -s \/usr\/share\/phpMyAdmin \/usr\/share\/nginx\/html\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Restart Nginx<\/h3>\n\n\n\n<p>Once you are done, restart Nginx.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart nginx<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Access phpMyAdmin<\/h3>\n\n\n\n<p>phpMyAdmin is now ready and can be accessed from the browser using the address, <strong>http:\/server-IP\/phpMyAdmin<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin.png\"><img loading=\"lazy\" decoding=\"async\" width=\"839\" height=\"478\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin.png\" alt=\"install phpMyAdmin with Nginx on Fedora 30\" class=\"wp-image-2869\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin.png 839w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin-768x438.png 768w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/a><\/figure>\n\n\n\n<p>You can login using your database root user credentials.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin-ui.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"604\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin-ui.png\" alt=\"phpMyAdmin with Nginx dashboard\" class=\"wp-image-2870\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin-ui.png 1348w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/05\/nginx-phpmyadmin-ui-768x344.png 768w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/a><\/figure>\n\n\n\n<p>Well, that is just about it on how to install phpMyAdmin with Nginx. You can now explore phpMyAdmin for your database administration tasks.<\/p>\n\n\n\n<p>See our guide on how to install phpMyAdmin with Apache on Fedora 30 by following link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-phpmyadmin-with-apache-on-fedora-30\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install phpMyAdmin with Apache on Fedora 30<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will take you through how to install phpMyAdmin with Nginx on Fedora 30. As you already know, phpMyAdmin enables administration of MySQL\/MariaDB operations<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[299,928,929,938],"tags":[924,229,281],"class_list":["post-2867","post","type-post","status-publish","format-standard","hentry","category-database","category-mariadb","category-mysql","category-phpmyadmin","tag-fedora-30","tag-nginx","tag-phpmyadmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2867"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2867"}],"version-history":[{"count":3,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2867\/revisions"}],"predecessor-version":[{"id":2872,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2867\/revisions\/2872"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}