Advertisement
marwanpro

config debian vps

Jul 10th, 2015
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. Configuration Debian (Faire dans l'ordre)
  2. Client SSH Recommandé : http://mobaxterm.mobatek.net/
  3. Client SFTP Recommandé : https://winscp.net/eng/download.php
  4. Host Recommandé: OVH / DédiZones -- Prendre de préférence Debian Wheezy 7 x64
  5. BlackList: PulseHeberg et affiliés
  6.  
  7. ===========
  8.  
  9. ### D'abord, ajouter à /etc/apt/source.list
  10.  
  11. deb http://ftp.fr.debian.org/debian/ wheezy main
  12. deb-src http://ftp.fr.debian.org/debian/ wheezy main
  13.  
  14. deb http://ftp.fr.debian.org/debian wheezy-updates main
  15. deb-src http://ftp.fr.debian.org/debian wheezy-updates main
  16.  
  17. deb http://ftp.fr.debian.org/debian/ wheezy-proposed-updates main
  18. deb-src http://ftp.fr.debian.org/debian/ wheezy-proposed-updates main
  19.  
  20. deb http://security.debian.org/ wheezy/updates main
  21. deb-src http://security.debian.org/ wheezy/updates main`
  22.  
  23. ===========
  24.  
  25. dpkg-reconfigure debconf
  26. dpkg-reconfigure locales ###### fr_FR.UTF-8
  27. dpkg-reconfigure tzdata ###### Europe/Paris
  28. apt-get update
  29. apt-get dist-upgrade
  30. apt-get install sudo dialog nano bash-completion command-not-found byobu tmux zsh-beta logwatch cron-apt unhide rkhunter
  31. adduser pseudo
  32. gpasswd -a pseudo sudo
  33. update-command-not-found
  34. byobu-enable
  35. chsh -s /bin/zsh
  36.  
  37. ===========
  38.  
  39. ### Créer le fichier /root/.tmux.conf
  40.  
  41. set -g default-shell /bin/zsh
  42. set -g default-command /bin/zsh
  43.  
  44. ===========
  45.  
  46. ### Activation proxy SOCKS5
  47.  
  48. ssh -f -N -D 0.0.0.0:1337 localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement