Skip to content

Instantly share code, notes, and snippets.

@raihan-uddin
Last active April 20, 2022 09:33
Show Gist options
  • Save raihan-uddin/23f965997d64fe128403b4ef6935fbde to your computer and use it in GitHub Desktop.
Save raihan-uddin/23f965997d64fe128403b4ef6935fbde to your computer and use it in GitHub Desktop.
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
@raihan-uddin
Copy link
Author

pip install django-storages
pip install django-ckeditor
pip install social-auth-app-django

@raihan-uddin
Copy link
Author

raihan-uddin commented Dec 25, 2021

https://linuxconfig.org/how-to-customize-dock-panel-on-ubuntu-18-04-bionic-beaver-linux

gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode FIXED
gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 64
gsettings set org.gnome.shell.extensions.dash-to-dock unity-backlit-items true

https://linuxconfig.org/top-10-best-gnome-extensions-for-ubuntu-20-04-desktop

@raihan-uddin
Copy link
Author

drop user phpmyadmin@localhost;
CREATE USER 'phpmyadmin'@'localhost' IDENTIFIED BY 'raihan@mit22';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment