Linux

Repositorio oficial de Debian 8 Jessie


gedit /etc/apt/sources.list
#--------------------------------------------------------------------------------------
# jessie-oficiales
deb http://mirrors.kernel.org/debian/ jessie main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie main contrib non-free
# jessie-actualizaciones-seguridad
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-actualizaciones-sistema
deb http://mirrors.kernel.org/debian/ jessie-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie-updates main contrib non-free
deb http://mirrors.kernel.org/debian jessie-proposed-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian jessie-proposed-updates main contrib non-free
# jessie-backports
deb http://mirrors.kernel.org/debian/ jessie-backports main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie-backports main contrib non-free
# deb-multimedia
# apt-get install deb-multimedia-keyring
deb http://www.deb-multimedia.org jessie main non-free
#-----------------------------------------------------------------------------------LLAVE
#apt-get install deb-multimedia-keyring # apt-get update
#repositorios
# Repositorios de Chrome
# deb http://dl.google.com/linux/deb/ stable main
# Llave
#$ sudo gpg --keyserver hkp://subkeys.pgp.net --recv-keys A040830F7FAC5991
#$ sudo gpg --export --armor A040830F7FAC5991 | sudo apt-key add -
#$ sudo apt-get update

#------------------------------------------------------------------------------------
#deb http://http.us.debian.org/debian jessie main contrib non-free
#deb http://ftp.us.debian.org/debian/ jessie main contrip
#deb-src http://security.debian.org/ jessie/updates main contrib
#deb http://ftp.debian.org/debian/ jessie-updates main contrib
#deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
#----deb http://security.debian.org/dists/ jessie /updates/InRelease
#deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main
#deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main
#deb http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.


Hacer reconocer el firmware con las siguientes lineas de comandos.
#apt-get update#apt-get install firmware-ralink
 

Instalación de virtual KVM
#apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
GUI tool
#apt-get install virt-manager
Acemos que el usuario sea miembro de libvirt para que pueda hacer uso de KVM 
#adduser miusuario libvirt

Listar las virtuales
#virsh -c qemu:///system list

Instalación google chrome

Primero descargar google chrome. 
#apt-get -f install
#dpkg -i nombre del archivo.deb
 
Algunas Aplicaciones Útiles
Comandos Básicos para Linux  

Crear Usuario y Cambiar de Nombre o Eliminar
# adduser nombre //crea un usuario
# userdel nombre  //borra un usuario
# passwd nombre //cambio de contraseña
# nano /etc/hostname //cambio de nombre de hostname
# nano /etc/hosts //cambio de nombre en el host, necesario para que aparezca en la terminal.

Debian-ssh --error
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
18:f6:30:2a:8f:e8:fc:c6:05:c8:69:34:3b:99:59:7d.
Please contact your system administrator.
Add correct host key in /home/abdon/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/abdon/.ssh/known_hosts:7
  remove with: ssh-keygen -f "/home/abdon/.ssh/known_hosts" -R 172.16.13.130
ECDSA host key for 172.16.13.130 has changed and you have requested strict checking.
Host key verification failed.
SOLUCIÓN --ejecutar el siguietne comando:
# ssh-keygen -R hostname
--ejemplo ssh-keygen -R 168.10.9.33
--Ingresar a esta ruta
#nano /home/user/.ssh/known_hosts.old
--y borrar los eventos realizados con anterioridad y listo 

  
DESINSTALAR APACHE2 EN DEBIAN

service apache2 stop
apt-get purge apache2*
apt-get autoremove
rm -Rf /etc/apache2 /usr/lib/apache2 /usr/include/apache2