Last active
May 7, 2017 01:04
-
-
Save newbrunomartins/1993f170a816800f0407733089dc0698 to your computer and use it in GitHub Desktop.
This file contains 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
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
deb-src http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
###### Debian Update Repos | |
deb http://security.debian.org/ jessie/updates main contrib non-free | |
deb http://ftp.br.debian.org/debian/ jessie-proposed-updates main contrib non-free | |
deb-src http://security.debian.org/ jessie/updates main contrib non-free | |
deb-src http://ftp.br.debian.org/debian/ jessie-proposed-updates main contrib non-free | |
#------------------------------------------------------------------------------# | |
# UNOFFICIAL REPOS # | |
#------------------------------------------------------------------------------# | |
###### 3rd Party Binary Repos | |
#### Debian Mozilla team - http://mozilla.debian.net/ | |
## Run this command: apt-get install pkg-mozilla-archive-keyring | |
deb http://mozilla.debian.net/ jessie-backports firefox-release | |
#### Debian Multimedia - http://deb-multimedia.org/ | |
## Run this command: apt-get update && apt-get install deb-multimedia-keyring && apt-get update | |
deb http://www.deb-multimedia.org stable main non-free | |
======================================================================= | |
apt-get install pkg-mozilla-archive-keyring && apt-get update -y && apt-get install deb-multimedia-keyring && apt-get update -y && apt-get remove --purge nvidia* xserver-xorg-video-nouveau && apt-get -y install build-essential linux-headers-$(uname -r) && nano /etc/modprobe.d/blacklist.conf | |
#Insira o drive Nouveau na Blacklist (Foi aberto o Nano com o comando acima "no Final") | |
blacklist nouveau | |
#Instalando o drive de vídeo | |
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms nvidia-xconfig && nvidia-xconfig && update-initramfs -u | |
#Instalando o Firmware Realtek | |
apt-get install firmware-realtek && update-initramfs -u | |
================================================= | |
#Configurar Rede pelo terminal | |
atom /etc/network/interfaces | |
# Subir a eth0 automaticamente | |
auto eth0 | |
# Setamos que sera uma configuração estática | |
iface eth0 inet static | |
address 192.168.0.1 | |
netmask 255.255.255.0 | |
gateway 192.168.0.254 | |
network 192.168.0.0 | |
broadcast 192.168.0.255 | |
atom /etc/resolv.conf | |
nameserver 200.165.132.147 | |
nameserver 200.149.55.140 | |
#Reinicia a rede no Debian | |
atom /etc/init.d/networking restart | |
================================================= | |
#Problema referente a wifi que cai do nada e não volta (específico de alguns modelos) | |
#Criar arquivo /etc/modprobe.d/acer.conf: | |
options ath9k nowhcrypt=1 | |
blacklist acer_wmi | |
#Mensagem "A stop job is running for Avahi mDNS/DNS-SD Stack" ao desligar | |
sudo systemctl mask avahi-daemon.service | |
sudo systemctl mask avahi-daemon.socket | |
#Configurar DHCP | |
auto eth0 | |
iface eth0 inet dhcp | |
#Programas básicos para o Debian | |
apt-get install flashplugin-nonfree lightspark openjdk-8-jdk openjdk-8-jre vlc p7zip-rar p7zip-full unace unrar zip unzip lzip sharutils rar arj cabextract file-roller uudeview mpack ttf-mscorefonts-installer ttf-aenigma filezilla lzop ncompress rpm2cpio rzip unalz ttf-xfree86-nonfree brasero fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei fonts-indic git docky |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment