This file contains hidden or 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
| # first, install | |
| sudo aptitude -y install lm-sensors | |
| # after, lets to detect our sensors | |
| sudo sensors-detect | |
| # after type: yes, yes, yes, to all | |
| # lets to see the temp with the command: | |
| sensors |
This file contains hidden or 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
| # Las firmas siguientes no se pudieron verificar porque su llave pública no está disponible: NO_PUBKEY XXXXXXXXXXXXX | |
| gpg --keyserver keyserver.ubuntu.com --recv XXXXXXXXX | |
| gpg --armor --export XXXXXXXXX | sudo apt-key add - |
This file contains hidden or 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
| # Solution for the message "No such file or directory" But the file exists! | |
| # First lests to see is the file is a 32-bit file writing the command: | |
| # file nameOfTheFile | |
| # and pressing ENTER | |
| # is possible of you get a message like that: "...ELF 32-bit LSB executable.." | |
| # so, is right, is a 32-bit file | |
| # now we have to install the 32-bit packages to execute that file write this command: | |
| sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install ia32-libs && sudo aptitude -y install lib32z1 |
This file contains hidden or 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
| # Example config file /etc/vsftpd.conf | |
| # | |
| # The default compiled in settings are fairly paranoid. This sample file | |
| # loosens things up a bit, to make the ftp daemon more usable. | |
| # Please see vsftpd.conf.5 for all compiled in defaults. | |
| # | |
| # READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
| # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
| # capabilities. | |
| # |
This file contains hidden or 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
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| source /etc/network/interfaces.d/* | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
This file contains hidden or 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
| # add to the end of the file .bashrc | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| export PS1="\e[92;1m\u@\h \[\e[94;1m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ " | |
| # after that type the next command: | |
| # source ~/.bashrc |
This file contains hidden or 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
| #!/bin/bash | |
| apt-get -y install aptitude | |
| dpkg --add-architecture i386 | |
| aptitude -y install gnupg2 software-properties-common | |
| wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - | |
| sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/ | |
| wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add - | |
| echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list | |
| sudo aptitude -y update | |
| sudo apt -y install --install-recommends winehq-stable |
This file contains hidden or 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
| # For Deepin | |
| xdg-mime default dde-file-manager.desktop inode/directory application/x-gnome-saved-search |
This file contains hidden or 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
| # insert the new value into the system config | |
| echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
| # check that the new value was applied | |
| cat /proc/sys/fs/inotify/max_user_watches | |
| # config variable name (not runnable) | |
| fs.inotify.max_user_watches=524288 |
This file contains hidden or 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
| # In Debian | |
| sudo dpkg --add-architecture i386 | |
| sudo apt update | |
| sudo apt install libgl1-mesa-dri:i386 libgl1:i386 | |
| sudo apt install libgl1-nvidia-glvnd-glx:i386 |