Following steps will help to install phpMyAdmin
in EC2 Amazon linux2 instance. Following commands, should be run in the same order
after SSH into EC2 instance
1. yum update -y
2. sudo amazon-linux-extras install -y
php8.0
3. sudo yum install -y httpd
4. sudo systemctl start httpd
5. sudo systemctl enable httpd
6. sudo systemctl is-enabled httpd
7. sudo usermod -a -G apache ec2-user
8. sudo chown -R apache:apache /var/www
9. sudo chmod 2775 /var/www && find
/var/www -type d -exec sudo chmod 2775 {} \;
10. find /var/www -type f -exec sudo chmod
0664 {} \;
11. sudo yum install php-mbstring php-xml
-y
12. sudo systemctl restart httpd
13. sudo systemctl restart php-fpm
14. cd /var/www/html
15. wget
https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz
15. mkdir MdaStageDbAdmin && tar
-xvzf phpMyAdmin-latest-all-languages.tar.gz -C MdaStageDbAdmin
--strip-components 1
17. mv config.sample.inc.php config.inc.php
18 blowfish_secret generate
https://phpsolved.com/phpmyadmin-blowfish-secret-generator/
19. config file
20. $cfg['TempDir'] = '/tmp';
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteDiscover Joeme Fit for top-notch fitness solutions: joeme fit. Your one-stop destination for fitness excellence.
ReplyDeleteIncrease your online presence with buysmm.site. They offer services to buy followers YouTube, helping you grow your channel's popularity in no time!
ReplyDelete