Editar o sources.list
vi /etc/apt/sources.list
Comentar (#) a linha
#deb cdrom:[...
Instalar os pacotes
apt-get install vim vim-scripts
Configurar placa de rede
vi /etc/network/interfaces
allow-hotplug eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1
Comfigura o editor Vim
vi /etc/vim/vimrc
Retirar comentários (“) das linhas:
"syntax on "set background=dark "set showcmd "set showmatch "set ignorecase "set smartcase "set incsearch "set autowrite
# Acrescentar para destacar resultado da pesquisa set hlsearch
Editar o arquivo profile
vi /etc/profile
Acrescentar no final do arquivo as linhas:
alias l='ls -lFh --color=auto' alias ll='ls -lFha --color=auto' alias ls='ls --color=auto' alias cds='cd /etc/init.d && ls '
Reiniciar o computador
Editar o arquivo sources.list
vi /etc/apt/sources.list
Acrescentar contrib e non-free em todas as linhas descomentadas, exemplo:
deb http://ftp.br.debian.org/debian/ wheezy main contrib non-free
Acrescentar a linha
deb http://www.deb-multimedia.org stable main non-free
Após salvar o arquivo execute os comandos a seguir
apt-get update apt-get install deb-multimedia-keyring apt-get dist-upgrade
Instalar pacotes
apt-get install ntp mc arj ssh aspell-pt-br spamassassin audacity flashplugin-nonfree unrar browser-plugin-vlc libcurl3 mesa-utils ttf-mscorefonts-installer xsane w64codecs ttf-xfree86-nonfree tcl-tls rsync grsync hardinfo curl screen libdvdcss2gimp-data-extras kopete kdeartwork-emoticons kde-wallpapers kscreensaver xscreensaver-gl-extra scribus-ng scribus-template icc-profiles-free akonadi-kde-resource-googledata kde-config-touchpad chromium chromium-l10n gtk3-engines-oxygen gtk2-engines-oxygen kde-config-gtk-style konq-plugins
Debian 8 não tem esses pacotes => bibletime libdvdcss
Instalar pacote JAVA
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
apt-get install oracle-java8-set-default
Java www.java.com/pt_BR/download # tar -zxvf jre-8u60-linux-x64.tar.gz -C /opt/
Obs.: neste exemplo, o arquivo baixado é “jre-8u60-linux-x64.tar.gz”.
# update-alternatives --install /usr/bin/java java /opt/jre1.8.0_60/bin/java 1 # update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jre1.8.0_60/lib/amd64/libnpjp2.so 1 # update-alternatives --set java /opt/jre1.8.0_60/bin/java # update-alternatives --set mozilla-javaplugin.so /opt/jre1.8.0_60/lib/amd64/libnpjp2.so # update-alternatives --config java
Instalar o Google Talk
sh -c 'echo "deb http://dl.google.com/linux/talkplugin/deb/ stable main" >> /etc/apt/sources.list.d/google-talkplugin.list' wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - apt-get update apt-get install google-talkplugin
Configurar
Kmail Spamaassin
VLC – associar arquivos de audio e video
Bibletime – instalar bíblia em português
LibreOffice acesso mysql
apt-get install libreoffice-mysql-connector
LibreOffice acesso em arquivos por NFS
vi /usr/bin/soffice #SAL_ENABLE_FILE_LOCKING=1 #export SAL_ENABLE_FILE_LOCKING