Question

phpmyadmin configuration program doesn't start after abort (LEMP, Ubuntu 20.04)

As I was following on this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-18-04-server, halfway I entered a wrong option. That is why I aborted the installation proces, removed phpmyadmin with the commands below and tried to restart the installation.

sudo apt-get remove phpmyadmin sudo apt-get purge phpmyadmin sudo apt-get autoremove

Now, when I enter the following commands as to restart the installation proces, no program is started that takes me to the next step, which is:

*During the installation process, you will be prompted to choose the web server (either Apache or Lighthttp) to configure. Because we are using Nginx as web server, we shouldn’t make a choice here. Press tab and then OK to advance to the next step.

Next, you’ll be prompted whether to use dbconfig-common for configuring the application database. Select Yes. This will set up the internal database and administrative user for phpMyAdmin. You will be asked to define a new password for the phpmyadmin MySQL user. You can also leave it blank and let phpMyAdmin randomly create a password.*

Any advice on how I can restart the installation procedure? I am installing on Ubuntu 20.04


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

@KFSys @alexdo , thank you for your help. I found a solution! When I start the tutorial again using the Digital Ocean Console and not the Terminal, the installation process starts :)

alexdo
Site Moderator
Site Moderator badge
October 29, 2020

Hello, @katovonkatz

May I ask if this is a new droplet and you’re basically still in the early process of configuring the droplet?

If that is correct you can simply deploy a new droplet and quickly go through the article and the install process again, but with choosing the options you like this time.

Hope that this helps! Regards, Alex

KFSys
Site Moderator
Site Moderator badge
October 28, 2020

Hi @katovonkatz,

*During the installation process, you will be prompted to choose the web server (either Apache or Lighthttp) to configure. Because we are using Nginx as web server, we shouldn’t make a choice here. Press tab and then OK to advance to the next step.

Does seem to be the beginning of the installation. Anyway, try and remove all the files from your /tmp. Maybe there is a temporary file that holds the initial information you put.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel