Last active
April 20, 2022 09:33
-
-
Save raihan-uddin/23f965997d64fe128403b4ef6935fbde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://averagelinuxuser.com/after-installing-ubuntu-20-04/ | |
https://ubuntuhandbook.org/index.php/2021/10/top-things-ubuntu-21-10-desktop/ | |
php multiple version on same time | |
https://devanswers.co/run-multiple-php-versions-on-apache/ | |
php switch version | |
https://tecadmin.net/install-php-ubuntu-20-04/ | |
sudo update-alternatives --config php | |
There are 4 choices for the alternative php (providing /usr/bin/php). | |
Selection Path Priority Status | |
------------------------------------------------------------ | |
* 0 /usr/bin/php7.4 74 auto mode | |
1 /usr/bin/php5.6 56 manual mode | |
2 /usr/bin/php7.2 72 manual mode | |
3 /usr/bin/php7.3 73 manual mode | |
4 /usr/bin/php7.4 74 manual mode | |
Press to keep the current choice[*], or type selection number: 4 | |
sudo a2dismod php7.1 | |
sudo a2enmod php5.6 | |
sudo service apache2 restart | |
sudo service apache2 restart | |
systemctl status mysql.service | |
sudo systemctl start mysql | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Raihan@mit22'; | |
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); | |
manual phpmyadmin install | |
https://websiteforstudents.com/how-to-install-phpmyadmin-on-ubuntu-linux-with-apache/ | |
https://stackoverflow.com/questions/34060036/have-trouble-installing-phpmyadmin-on-php7-apache-2-4-7-ubuntu | |
another thing you can try is forcing performance governor on. Don't know what Mint is using but on arch its like | |
cpupower frequency-set -g performance | |
if you want to change back then: | |
cpupower frequency-set -g ondemand | |
mysql to workbench connect | |
sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service | |
/opt/lampp/bin/mysqldump -h localhost -p globe_pharma>globe_pharma__2021226.sql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
drop user phpmyadmin@localhost;
CREATE USER 'phpmyadmin'@'localhost' IDENTIFIED BY 'raihan@mit22';