apache_conf Configuraçãoninicial做Linux Debian
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf Configuraçãoninicial做Linux Debian相关的知识,希望对你有一定的参考价值。
apagar entrada
tput reset
history -c
1 - Instalar o sudo;
su root
apt-get install sudo
adduser usuario sudo ou usermod -a -G sudo usuario(em modo root)
visuso
apos o #includerdir /etc/sudoers.d
usuario ALL = (ALL) ALL
2 - Adicionar repositorios não livres
sudo gedit /etc/apt/sources.list
# Ao final de cada fonte
contrib non-free
# votalie
deb http://ftp.us.debian.org/debian/ versao-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ versao-updates main contrib non-free
# backports
deb http://ftp.us.debian.org/debian/ versao-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ versao-backports main contrib non-free
# multimedia
deb ftp://ftp.deb-multimedia.org/debian/ versao main non-free
# Extras
deb http://httpredir.debian.org/debian versao main contrib non-free
deb-src http://httpredir.debian.org/debian versao main contrib non-free
deb http://httpredir.debian.org/debian versao-updates main contrib non-free
deb-src http://httpredir.debian.org/debian versao-updates main contrib non-free
deb http://security.debian.org/ versao/updates main contrib non-free
deb-src http://security.debian.org/ versao/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://http.us.debian.org/debian/ stretch non-free contrib main
sudo apt-get update
sudo apt-get dist-upgrade
////
# Final para o Debian 9 - Atualizado em 18/10/2017
deb http://ftp.br.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.br.debian.org/debian/ stretch main contrib non-free
deb http://ftp.br.debian.org/debian stable main contrib non-free
deb http://httpredir.debian.org/debian stretch main contrib non-free
deb-src http://httpredir.debian.org/debian stretch main contrib non-free
# votalie
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://http.us.debian.org/debian/ stretch non-free contrib main
# backports - Atualizado em 18/10/2017
#Antigos
#deb http://ftp.us.debian.org/debian/ versao-backports main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ versao-backports main contrib non-free
#Novos
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://deb.debian.org/debian/ stretch-backports main contrib non-free
# multimedia - Atualizado em 18/10/2017
#deb ftp://ftp.deb-multimedia.org stretch main non-free
#deb deb http://www.deb-multimedia.org stable main non-free
# Original
# deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official i386 NETINST 20170617-14:23]/ stretch main
#deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official i386 NETINST 20170617-14:23]/ stretch main
deb http://ftp.br.debian.org/debian/ stretch main
deb-src http://ftp.br.debian.org/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ stretch-updates main
deb-src http://ftp.br.debian.org/debian/ stretch-updates main
3 - Atualizar o sistema
sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
reiniciar
3.1 = colocar em portuguas do Brasil
dpkg-reconfigure locales
en_US.ISO8859-1
en_US.UTF-8
pt_BR.ISO8859-1
pt_BR.UTF-8
Escolher o pt_BR.ISO8859-1
3.2 Programas alternativos
unrar
rar
handbrack
handbrack-gtk
soundconverter
gstreamer0.10-plugins*
h264enc
easytag
lame
flashplugins-nonfree
cuetools
shntool
figlet
tor
tor-browser
privoxy
proxychains
# arm
tor-arm
3.3 Configuracos de proxy
gedit /etc/privoxy/config
socks4 e 5: 127.0.0.1:9050 .
gedit /etc/proxychains.conf
ao final adicionar:
socks4 127.0.0.1 9050
socks5 127.0.0.1 9050
http 127.0.0.1 8118
https 127.0.0.1 8118
dynamic_chain
# Instalar o VMware Tools pelo apt-get
apt-get install open-vm-tools-desktop
# Para o Debian, você deve executar o seguinte comando como root:
sudo tasksel install kde-desktop
# Mudar chamada do diretorio Área de trabalho para Desktop no terminal
sudo gedit ~/.config/user-dirs.dirs
以上是关于apache_conf Configuraçãoninicial做Linux Debian的主要内容,如果未能解决你的问题,请参考以下文章
markdown Configuraçõesecmandomabásicos
markdown ConfiguraçãodosarquivosEstáticosedeMídia