![]() Now we create an Nginx virtual host configuration file for phpMyAdmin: sudo nano /etc/nginx/conf. GRANT ALL PRIVILEGES ON phpmyadmin.* TO WITH GRANT OPTION Once you are connected, grant all necessary privileges to the phpMyAdmin database: CREATE USER IDENTIFIED BY 'pmapass' Next, connect to the MariaDB shell with the following command: sudo mysql -u root -p Now we create the configuration storage database and tables by running the following command below: sudo mysql < /usr/share/phpMyAdmin/sql/create_tables.sql -u root -p Configure Database and User for phpMyAdmin. Step 2: Install phpMyAdmin Make sure you have successfully installed all prerequisites on your system before installing phpMyAdmin on ubuntu 20.04. * User used to manipulate with storage */ * phpMyAdmin configuration storage settings. Let's begin by updating our local package index so that we have access to the most recent package listings: sudo apt update. Generate a blowfish secret and update the secret in the configuration file: $cfg = 'eDjtEzAk8N3Rk}AFY.vBW}UtYL7VPbGo' /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */Īlso, uncomment the phpMyAdmin storage settings: /** If you are looking to install phpmyadmin on a Ubuntu DigitalOcean Droplet with Nginx and Laravel, then in this article I’ll guide you step-by-step on how to install phpmyadmin with LEMP Stack. Next, edit the configuration file: sudo nano /usr/share/phpMyAdmin/ ![]() During the phpMyAdmin installation, you will be asked for the following configurations: Choose the web server for the phpMyAdmin. Now the phpMyAdmin installation is in process. ![]() sudo apt install phpmyadmin Input Y to confirm the installation and press ENTER to start. Before we install any software, it’s important to make sure your system is up to date by running the following apt commands in the terminal: sudo apt update sudo apt upgrade. Now we copy the sample phpMyAdmin configuration file and rename it as follows: sudo cp -pr /usr/share/phpMyAdmin/ /usr/share/phpMyAdmin/ Next, you can install the phpMyAdmin package using the below command. Install phpMyAdmin with Nginx on Debian 11 Bullseye. When type the above command in your terminal, and it will begin to start download and install the phpMyAdmin, when it prompts to continue Press y and ENTER. Sudo mv phpMyAdmin-5.1.1-all-languages /usr/share/phpMyAdmin Install phpMyAdmin on Digital Ocean Droplet. sudo apt update sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl The installation script will ask whether to use apache or lighthttpd as web server. Next, extract the phpMyAdmin archive to your web server root directory: tar xvf phpMyAdmin-5.1. Install phpMyAdmin on Ubuntu 22.04 for nginx We will start by refreshing the package repository, then install phpmyadmin along with the php modules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |