forked from webmentordev/linux-bash-scripts-and-solutions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install PhpMyAdmin.txt
29 lines (24 loc) · 1009 Bytes
/
Install PhpMyAdmin.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
php-mbstring: A module for managing non-ASCII strings and convert strings to different encodings
php-zip: This extension supports uploading .zip files to phpMyAdmin
php-gd: Enables support for the GD Graphics Library
php-json: Provides PHP with support for JSON serialization
php-curl: Allows PHP to interact with different kinds of servers using different protocols
$ sudo apt update
$ sudo apt install phpmyadmin
$ sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
1. Select Apache2
2. Yes
3. Select Password But If Failed then abort
4.
$ sudo mysql
$ mysql -u root -p // $ sudo mysql -u root -p
> UNINSTALL COMPONENT "file://component_validate_password";
> INSTALL COMPONENT "file://component_validate_password";
> exit
$ sudo apt install phpmyadmin
$ sudo phpenmod mbstring
$ sudo systemctl restart apache2
===============================
#!/bin/bash
sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl -y
echo "\nPhpMyAdmin has been installed\n"