Linux
Title | Code |
---|---|
|
1st: Go to the software update option from search, then next next. 2nd: terminal sudo apt update sudo apt upgrade |
|
sudo apt install vlc kmplayer vscode |
|
Google chrome install. This software don't have default on linux. So download google for google chrome on deb application sudo dpkg -i '.deb file link' If you select the deb file and throw the terminal, automatically path working |
|
sudo apt remove vlc |
|
sudo apt install ubuntu-restricted-extras |
|
If battery charge loss quickly. Run this 2 command sudo apt install preload sudo apt install tlp tlp-rdw |
|
uname -r uname -a lsb_release -a |
|
1st: sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key 2nd: check linux version : lsb_release -a then install version wise command: see link: https://wiki.winehq.org/Ubuntu Then : sudo apt update 3rd: Install Wine Three option have, but install anyone. (Stable branch : is better) https://www.youtube.com/watch?v=9jBt8RAj1ks&ab_channel=ProgrammingKnowledge2 |
|
Go any folder 3 dot Step 2: Click on the menu icon (3 horizontal lines) at the top right. Then click on the "Preferences" option on the dropdown menu. action to open item (single click) |
|
sudo apt-get install alien (1st time) sudo aline -d 'file path' see the .deb file then install .deb file sudo dpkg -i "path" |
|
sudo dconf dump dconf reset -f / |
|
sudo snap install whatsapp-for-linux |
|
sudo apt install git Apache Web Server https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04 PHP-FPM https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php-versions-on-one-server-using-apache-and-php-fpm-on-ubuntu-20-04 mysql https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04 phpmyadmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04 |
|
phpMyAdmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04 |
|
Problem : sudo: /etc/sudo.conf is world writable Solution : sudo chmod -R 640 /etc/sudo.conf sudoers.so = 644 (File permission) https://www.youtube.com/watch?v=QeOlLqh8YYU&ab_channel=LinuxeHub |
|
sudo chmod -R 777 (folder, file name path) |
|
sudo apt-get install --reinstall mate-notification-daemon-common sudo apt-get install --reinstall mate-notification-daemon |
|
sudo chmod o+w ./storage/ -R |
|
sudo a2enmod actions fcgid alias proxy_fcgi |
|
1) sudo a2enmod rewrite 2) Goto and open [/etc/apache2/apache2.conf] Or sudo nano /etc/apache2/apache2.conf 3) Original <Directory /var/www/> AllowOverride None </Directory> Update To <Directory /var/www/> AllowOverride all </Directory> 4) systemctl restart apache2 https://stackoverflow.com/questions/18853066/404-not-found-the-requested-url-was-not-found-on-this-server |
|
sudo chown -R $USER:www-data storage sudo chown -R $USER:www-data bootstrap/cache sudo chmod -R 775 storage sudo chmod -R 775 bootstrap/cache |
|
sudo snap install vlc |
|
sudo dpkg -i anydesk.deb path sudo apt-get install libgtkglext1 sudo apt --fix-broken install link: https://www.youtube.com/watch?v=fqOPukxJ8oE&ab_channel=CodeWithArjun |
|
mysql -u root -p Enter password mysql> create database newDB; mysql> show databases; mysql> use newDB; mysql> source /var/www/html/newDB; |
|
history -w print.txt or history > print.txt |
|
sudo apt remove code sudo apt purge code |