Noninteractive phpmyadmin install - a problematic approach?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
apt software-installation mysql nginx phpmyadmin
add a comment |Â
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?
apt software-installation mysql nginx phpmyadmin
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
add a comment |Â
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?
apt software-installation mysql nginx phpmyadmin
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
apt software-installation mysql nginx phpmyadmin
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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