#!/bin/bash rm /etc/apt/preferences.d/nosnap.pref 2>&- 1>&- wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add - echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list add-apt-repository -y ppa:phoerious/keepassxc add-apt-repository -y ppa:atareao/telegram add-apt-repository -y ppa:umang/indicator-stickynotes add-apt-repository -y ppa:maarten-baert/simplescreenrecorder add-apt-repository -y ppa:linuxuprising/java add-apt-repository -y ppa:tomtomtom/woeusb apt-get update && apt-get -y dist-upgrade && apt-get -y install net-tools ssh vim htop screen \ aptitude gparted gimp inkscape clementine cifs-utils p7zip p7zip-full p7zip-rar rar unrar unrar-free \ filezilla vlc sshpass remmina remmina-plugin-nx remmina-plugin-rdp remmina-plugin-secret \ remmina-plugin-spice remmina-plugin-vnc remmina-plugin-xdmcp remmina-plugin-exec nfs-common \ thunderbird samba ttf-mscorefonts-installer wine-installer gprename cheese snapd nemo-dropbox \ tree anydesk nemo-nextcloud telegram simplescreenrecorder oracle-java16-installer \ oracle-java16-set-default telegram-cli indicator-stickynotes keepassxc woeusb wimtools wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/chrome.deb dpkg -i /tmp/chrome.deb ; apt-get install -y -f wget -c https://download3.operacdn.com/pub/opera/desktop/76.0.4017.94/linux/opera-stable_76.0.4017.94_amd64.deb -O /tmp/opera.deb dpkg -i /tmp/opera.deb ; apt-get install -y -f wget -c https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev/microsoft-edge-dev_91.0.864.11-1_amd64.deb -O /tmp/edge.deb dpkg -i /tmp/edge.deb ; apt-get install -y -f wget -c https://download.teamviewer.com/download/linux/teamviewer_amd64.deb -O /tmp/teamviewer.deb dpkg -i /tmp/teamviewer.deb ; apt-get install -y -f wget -c https://mega.nz/linux/MEGAsync/xUbuntu_20.04/amd64/megasync-xUbuntu_20.04_amd64.deb -O /tmp/megasync1.deb dpkg -i /tmp/megasync1.deb ; apt-get install -y -f wget -c https://mega.nz/linux/MEGAsync/xUbuntu_20.04/amd64/nemo-megasync-xUbuntu_20.04_amd64.deb -O /tmp/megasync2.deb dpkg -i /tmp/megasync2.deb ; apt-get install -y -f wget -c https://download.virtualbox.org/virtualbox/6.1.16/virtualbox-6.1_6.1.16-140961~Ubuntu~eoan_amd64.deb -O /tmp/virtualbox.deb dpkg -i /tmp/virtualbox.deb ; apt-get install -y -f LatestVirtualBoxVersion=$(wget -qO - https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT) && wget "https://download.virtualbox.org/virtualbox/${LatestVirtualBoxVersion}/Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack" echo "y" | VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack snap install authy --beta snap install mjpg-streamer snap install todoist rm -r /tmp/*.deb apt clean all cat > /etc/screenrc << EOF attrcolor b ".I" termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' termcapinfo xterm* ti@:te@ defbce "on" term xterm-256color defscrollback 30000 hardstatus alwayslastline hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101\`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}' bind f eval "hardstatus ignore" bind F eval "hardstatus alwayslastline" EOF mv /etc/ssh/ssh_config /etc/ssh/ssh_config.bkp.`date +%Y-%m-%d` cat > /etc/ssh/ssh_config << 'EOF' Include /etc/ssh/ssh_config.d/*.conf Host * SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes StrictHostKeyChecking no UserKnownHostsFile /dev/null HostKeyAlgorithms=+ssh-dss HashKnownHosts no GSSAPIDelegateCredentials no LogLevel ERROR EOF ### Se tiver Servidor Samba: #apt-get -y install libpam-mount ###Para notebooks: #apt-get -y install gpointing-device-settings