Noninteractive phpmyadmin install - a problematic approach?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have an Ubuntu LEMP stack (Nginx, PHP-FPM, MySQL) and I contemplate some methods to install PHPmyadmin.



I know two ways to install phpmyadming in Ubuntu:



1) Install via apt:



apt-get install phpmyadmin


2) Install manually by downloading and extracting to document root, then configuring:



wget -P /var/www/html https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
find /var/www/html/ -type f -iname '*phpmyadmin*.zip' -exec unzip ;
# Install dependencies, Create a conf file, a symlink, change permissions and restart the server.


I thought installing the second way by a script, is better as it is easier for configuring phpmyadmin's security from scratch, but I found myself wrong in the long run and that it does more good than harm, for me at least.



On the one hand I desire to start installing it only from apt in all my systems. On the other hand, I know this installation is naturally interactive and asking you some questions that I would prefer not to answer if they are not crucial for basic usage of the program, hence seek noninteractive install.



Does installing phpmyadmin noninteractively as with DEBIAN_FRONTEND=noninteractive apt-get upgrade phpmyadmin -y problematic in any significant way, avoiding you whatever basic functionality of the program?










share|improve this question























  • Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
    – terdon♦
    Jan 29 at 17:34










  • I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
    – pntshere
    Jan 29 at 17:35














up vote
0
down vote

favorite












I have an Ubuntu LEMP stack (Nginx, PHP-FPM, MySQL) and I contemplate some methods to install PHPmyadmin.



I know two ways to install phpmyadming in Ubuntu:



1) Install via apt:



apt-get install phpmyadmin


2) Install manually by downloading and extracting to document root, then configuring:



wget -P /var/www/html https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
find /var/www/html/ -type f -iname '*phpmyadmin*.zip' -exec unzip ;
# Install dependencies, Create a conf file, a symlink, change permissions and restart the server.


I thought installing the second way by a script, is better as it is easier for configuring phpmyadmin's security from scratch, but I found myself wrong in the long run and that it does more good than harm, for me at least.



On the one hand I desire to start installing it only from apt in all my systems. On the other hand, I know this installation is naturally interactive and asking you some questions that I would prefer not to answer if they are not crucial for basic usage of the program, hence seek noninteractive install.



Does installing phpmyadmin noninteractively as with DEBIAN_FRONTEND=noninteractive apt-get upgrade phpmyadmin -y problematic in any significant way, avoiding you whatever basic functionality of the program?










share|improve this question























  • Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
    – terdon♦
    Jan 29 at 17:34










  • I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
    – pntshere
    Jan 29 at 17:35












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have an Ubuntu LEMP stack (Nginx, PHP-FPM, MySQL) and I contemplate some methods to install PHPmyadmin.



I know two ways to install phpmyadming in Ubuntu:



1) Install via apt:



apt-get install phpmyadmin


2) Install manually by downloading and extracting to document root, then configuring:



wget -P /var/www/html https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
find /var/www/html/ -type f -iname '*phpmyadmin*.zip' -exec unzip ;
# Install dependencies, Create a conf file, a symlink, change permissions and restart the server.


I thought installing the second way by a script, is better as it is easier for configuring phpmyadmin's security from scratch, but I found myself wrong in the long run and that it does more good than harm, for me at least.



On the one hand I desire to start installing it only from apt in all my systems. On the other hand, I know this installation is naturally interactive and asking you some questions that I would prefer not to answer if they are not crucial for basic usage of the program, hence seek noninteractive install.



Does installing phpmyadmin noninteractively as with DEBIAN_FRONTEND=noninteractive apt-get upgrade phpmyadmin -y problematic in any significant way, avoiding you whatever basic functionality of the program?










share|improve this question















I have an Ubuntu LEMP stack (Nginx, PHP-FPM, MySQL) and I contemplate some methods to install PHPmyadmin.



I know two ways to install phpmyadming in Ubuntu:



1) Install via apt:



apt-get install phpmyadmin


2) Install manually by downloading and extracting to document root, then configuring:



wget -P /var/www/html https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
find /var/www/html/ -type f -iname '*phpmyadmin*.zip' -exec unzip ;
# Install dependencies, Create a conf file, a symlink, change permissions and restart the server.


I thought installing the second way by a script, is better as it is easier for configuring phpmyadmin's security from scratch, but I found myself wrong in the long run and that it does more good than harm, for me at least.



On the one hand I desire to start installing it only from apt in all my systems. On the other hand, I know this installation is naturally interactive and asking you some questions that I would prefer not to answer if they are not crucial for basic usage of the program, hence seek noninteractive install.



Does installing phpmyadmin noninteractively as with DEBIAN_FRONTEND=noninteractive apt-get upgrade phpmyadmin -y problematic in any significant way, avoiding you whatever basic functionality of the program?







apt software-installation mysql nginx phpmyadmin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 7:20

























asked Jan 29 at 6:53









pntshere

477




477











  • Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
    – terdon♦
    Jan 29 at 17:34










  • I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
    – pntshere
    Jan 29 at 17:35
















  • Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
    – terdon♦
    Jan 29 at 17:34










  • I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
    – pntshere
    Jan 29 at 17:35















Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
– terdon♦
Jan 29 at 17:34




Why do you want this migrated? It is perfectly on topic here and we try not to migrate on-topic questions away.
– terdon♦
Jan 29 at 17:34












I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
– pntshere
Jan 29 at 17:35




I assumed it's more "Debian general" than "Ubuntu specific" but I guess it doesn't really matter so let's just leave it this way.
– pntshere
Jan 29 at 17:35















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000891%2fnoninteractive-phpmyadmin-install-a-problematic-approach%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000891%2fnoninteractive-phpmyadmin-install-a-problematic-approach%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491