If you want to enter an additional user, you need to do so without the -c flag, htpasswd /etc/phpmyadmin/. Kemudian akan ada muncul pop up untuk memasukkan password MySQL, masukkan password seperti yang kita setting pada langkah 1 bagian 5. Kemudian, akan ada pop up seperti ini pilih < Yes > saja.You will be prompted to enter a password for the above mentioned user. Ketikkan perintah apt-get install phpmyadmin untuk menginstall package phpMyAdmin. You can now create this file and pass it an initial user with the htpasswd utility: sudo htpasswd -c /etc/phpmyadmin/.htpasswd username You can create the necessary file and open it in your text editor with root privileges vi /usr/share/phpmyadmin/.htaccessĮnter the following information: AuthType Basic ![]() Restart Apache: systemctl restart apache2 Enter the new password in that field and set the drop-down menu on the left of it to SHA1 or MD5, as required. ![]() Go ahead and open the /etc/apt/sources.list file in the Nano text editor: sudo nano /etc/apt/sources.list. We just need to enable the Debian 10 backports repository first. Still easier and better than installing from source code. Highlight the current password hash and delete. This means that we can simply install phpMyAdmin from the Debian 10 backports repository. Find your user in the username column and click 'Edit' on the left side of the row. Log in to the interface with the username as root and password you configured. Open phpMyAdmin and click the admins table on the left. It is recommended that this password is unique from the phpMyAdmin password. Restart Apache for your changes to be recognized: systemctl restart apache2 Install Apache 2.4 from the Ubuntu repository: sudo apt install apache2. We need to do is explicitly enable the mbstring PHP extension which is used to manage non-ASCII strings and convert strings to different encodings. Warning: When the prompt appears, apache2 is highlighted, but not selected. Here are the options you should choose when prompted in order to configure your installation correctly: For the server selection, choose apache2. The following additional packages will be installed: Step1 Deploying PhpMyAdmin The default Debian system repositories avail the phpMyAdmin package. sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl. To create root password in PHPMyAdmin in UI easy way, you can follow simple steps below: Access phpMyAdmin with root account (no password) -> User accounts. Output: apt install phpmyadmin php-mbstring php-gettext ![]() Install phpmyadmin apt install phpmyadmin php-mbstring php-gettext You will need to setup your server with LAMP stack, follow the link to install LAMP Stack Installing phpMyAdmin How To Install and Secure phpMyAdmin on Debian 9
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |