![]() Go back to the browser and try login with that root account, you will now be able to get in. ![]() Grant privileges to the above account, again changing dockerip for the ip from the error grant all privileges ON *.* TO privileges and exit flush privileges create user identified by 'your-password' (Please change the password at the end to a secure password) and the dockerip for the ip from the error. Then create the user that is specified in the above command. On your server run the below and enter your password when prompted. ![]() If you get access denied, grab the error like Access denied for user (using password: YES) Once running, open a browser and run to Try to log in with your root account. Step 1 Installing phpMyAdmin You can use APT to install phpMyAdmin from the default Ubuntu repositories. docker run -d -name phpmyadmin -p 8182:80 -network phpmyadmin-network -e PMA_HOST=serverip phpmyadmin/phpmyadmin In this guide, well discuss how to install phpMyAdmin in Ubuntu 20.04. Change this to a different port if you want. phpMyAdmin was created so that users can interact with MySQL through a web interface. Any advice on how I can restart the installation procedure I am installing on Ubuntu 20.04 with a LEMP-stack. You can also leave it blank and let phpMyAdmin randomly create a password. You will be asked to define a new password for the phpmyadmin MySQL user. Run the docker image, change the PMA_HOST to your server ip, and i’ve also set it to run on port 8182. This will set up the internal database and administrative user for phpMyAdmin. Test it has installed correctly by getting the docker version docker -versionĭownload the latest Phpymyadmin docker docker pull phpmyadmin/phpmyadmin:latestĬreate the phpmyadmin network in Docker docker network create phpmyadmin-network Give your user permissions to docker, replacing user with your username sudo usermod -aG docker user Set Docker to start on startup sudo systemctl enable -now docker Ubuntu 20.04 LTS Server Root privileges What we will do Install Nginx Install MySQL Install PHP-FPM Configure Nginx and PHP-FPM Install PhpMyAdmin Configure PhpMyAdmin Testing Step 1 - Install Nginx Nginx or engine x is a high-performance HTTP and proxy server with low memory consumption. Install the latest version sudo apt install docker.io Update the repo to get latest versions sudo apt update
0 Comments
Leave a Reply. |