linux:debian:install-10

Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Ambdós costats versió prèvia Revisió prèvia
Següent revisió
Revisió prèvia
linux:debian:install-10 [01/02/2020 14:03] – [setup] matelinux:debian:install-10 [19/07/2021 10:46] (actual) – [setup inicial] mate
Línia 1: Línia 1:
 = debian 10 "Buster" = debian 10 "Buster"
 == setup == setup
-<code bash>+=== setup inicial 
 +<code bash; setup-inicial>
 sudo apt update && sudo apt upgrade -y sudo apt update && sudo apt upgrade -y
 sudo apt install fonts-powerline \ sudo apt install fonts-powerline \
Línia 8: Línia 9:
     wget \     wget \
     vim \     vim \
-    git  +    git \ 
-sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" +    mc \ 
-sudo apt install zsh-syntax-highlighting +    ncdu \ 
-git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting +    fonts-powerline \
-git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions +
-</code> +
-<code bash> +
-sudo apt-get install \+
     apt-transport-https \     apt-transport-https \
     ca-certificates \     ca-certificates \
     curl \     curl \
     gnupg2 \     gnupg2 \
-    software-properties-common+    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 
 +</code> 
 + 
 +==== disable IPv6 
 +  * <code ; /etc/sysctl.d/local.conf>net.ipv6.conf.all.disable_ipv6 = 1</code> 
 +  * <code bash>sudo sysctl -p -f /etc/sysctl.d/local.conf</code> 
 + 
 +Alternativa: 
 +  * <code ; /etc/sysctl.conf>net.ipv6.conf.all.disable_ipv6 = 1</code> 
 +  * <code bash>sudo sysctl -p</code>   
 +  * [[https://www.itzgeek.com/how-tos/linux/debian/how-to-disable-ipv6-on-debian-9-ubuntu-16-04.html]] 
 + 
 +=== docker 
 +<code bash; docker>
 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
 sudo add-apt-repository \ sudo add-apt-repository \
Línia 28: Línia 44:
 sudo apt-get update sudo apt-get update
 sudo apt-get install docker-ce docker-ce-cli containerd.io sudo apt-get install docker-ce docker-ce-cli containerd.io
 +sudo usermod -a -G docker $USER
 +newgrp docker
 </code> </code>
 /via: [[https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository]] /via: [[https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository]]
 +
 +=== Let's encrypt
 +  * [[web:security:letsencrypt#install|]]
 +
 +=== reminiscencias
 +<code bash; 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
 +</code>
 +
 +== gnome
 +  * listar extensiones descargadas: ''ls -la ~/.local/share/gnome-shell/extensions''
 +    * clipboard-indicator
 +    * hide-activities-button
 +    * nohotcorner
 +    * proxyswitcher
 +    * topicons
 +
 +=== .desktop files
 +<code properties; 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
 +</code>
 +[[https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html]]
  • linux/debian/install-10.1580594580.txt.gz
  • Darrera modificació: 01/02/2020 14:03
  • per mate