debian 10 "Buster"
setup
setup inicial
- setup-inicial
sudo apt update && sudo apt upgrade -y sudo apt install fonts-powerline \ zsh \ curl \ wget \ vim \ git \ mc \ ncdu \ fonts-powerline \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ software-properties-common \ zsh-syntax-highlighting \ rsync sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions sudo dpkg-reconfigure tzdata
disable IPv6
- /etc/sysctl.d/local.conf
net.ipv6.conf.all.disable_ipv6 = 1
sudo sysctl -p -f /etc/sysctl.d/local.conf
Alternativa:
- /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
sudo sysctl -p
docker
- docker
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release -cs) \ stable" sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io sudo usermod -a -G docker $USER newgrp docker
/via: https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository
Let's encrypt
reminiscencias
- reminiscencias
useradd -m -d /home/user user passwd user usermod -a -G sudo user vim /etc/sudoers.d/nopass # user ALL=(ALL) NOPASSWD:ALL vim /etc/ssh/sshd_config # PermitRootLogin No
gnome
- listar extensiones descargadas:
ls -la ~/.local/share/gnome-shell/extensions
- clipboard-indicator
- hide-activities-button
- nohotcorner
- proxyswitcher
- topicons
.desktop files
- example
[Desktop Entry] Encoding=UTF-8 Name=Mozilla Firefox GenericName=Web Browser Comment=Browse the Web Exec=firefox Icon=firefox.png Terminal=false Type=Application Categories=Application;Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml; StartupNotify=True
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html