Ubuntu 24.04.2 LTS pós instalação

Complementos de pós instalação para Ubuntu 24.04.2 LTS
Voltar

Comandos pós instalação:

Comandos dinâmicos para instalação oficial automatizada dos pacotes de pós-instalação para Ubuntu 24.04.2 LTS noble. Os componentes extras não foram incluídos no comando principal, pois são comandos que instalam versões fixas de pacotes, que podem estar desatualizadas. Portanto, sugiro que instale-os manualmente, para que você os possua atualizados.

mateus1908.schwede@gmail.com

sudo apt update && sudo apt full-upgrade -y && sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y pavucontrol tlp tlp-rdw timeshift git idle python3-dev python3-venv python3-pip wget curl gnupg gnupg-agent htop apt-transport-https gpg r-base vim figlet neofetch tree net-tools telnet openssh-server openvpn default-jdk nodejs npm composer obs-studio pass software-properties-common ca-certificates cowsay locate openssl gcc make dkms flatpak android-tools-adb android-tools-fastboot ansible && sudo updatedb && sudo systemctl mask tracker-store tracker-miner-fs tracker-extract && sudo npm install -g @angular/cli @vue/cli @ionic/cli && sudo systemctl enable tlp --now && sudo ufw enable && sudo ufw allow OpenSSH && echo 'vm.swappiness=10' | sudo tee /etc/sysctl.d/99-swappiness.conf && sudo systemctl enable fstrim.timer && sudo sed -i 's/defaults/defaults,noatime/g' /etc/fstab && git config --global user.name "mateusschwede" && git config --global user.email "mateus1908.schwede@gmail.com" && sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo && cd Downloads && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install ./google-chrome*.deb && sudo rm google-chrome*.deb && wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/packages.microsoft.gpg > /dev/null && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list && sudo apt update && sudo apt install code -y && gsettings set org.gnome.desktop.interface enable-animations false && gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' && echo "Defaults pwfeedback" | sudo tee -a /etc/sudoers.d/pwfeedback && wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list && sudo apt update && sudo apt install vagrant -y && sudo install -m 0755 -d /etc/apt/keyrings && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && sudo chmod a+r /etc/apt/keyrings/docker.asc && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && sudo apt update && sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y && curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor && echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list && sudo apt update && sudo apt install -y mongodb-org && sudo systemctl enable mongod --now && sudo pip3 install django djangorestframework markdown django-filter django-cors-headers requests --break-system-packages && sudo groupadd docker && sudo usermod -aG docker $USER && newgrp docker && cd ~/Downloads && mkdir ISOs && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh && source $HOME/.cargo/env && rustup component add rust-analyzer && sudo apt clean


Complementos extras manuais:

  • Configurar Timeshift
  • Instalar XAMPP
  • Instalar VMWare Workstation Pro
  • Instalar Win10 (Rave e Kindle)
  • Instalar MacOS

Elaborado por Mateus Schwede
ubsocial.github.io