SHARE
TWEET

Sequencia Linux LAB B

Eliel_Sec Aug 1st, 2019 (edited) 203 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Sequencia de passos para configurar linux lab B
  2.  
  3. # 1 obter a source list do debian + virtual box e colar no arquivo /etc/apt/sources.list
  4. #------------------------------------------------------------------------------#
  5. #                   OFFICIAL DEBIAN REPOS                    
  6. #------------------------------------------------------------------------------#
  7.  
  8. ###### Debian Main Repos
  9. deb http://deb.debian.org/debian/ oldstable main contrib non-free
  10. deb-src http://deb.debian.org/debian/ oldstable main contrib non-free
  11.  
  12. deb http://deb.debian.org/debian/ oldstable-updates main contrib non-free
  13. deb-src http://deb.debian.org/debian/ oldstable-updates main contrib non-free
  14.  
  15. deb http://deb.debian.org/debian-security oldstable/updates main
  16. deb-src http://deb.debian.org/debian-security oldstable/updates main
  17.  
  18. deb http://ftp.debian.org/debian stretch-backports main
  19. deb-src http://ftp.debian.org/debian stretch-backports main
  20.  
  21.  
  22. # 2 Atualizar pacotes e baixar programas basicos
  23. apt-get update -y
  24. apt install curl wget apt-transport-https dirmngr
  25.  
  26. # 3 adicionar a linha seguinte no arquivo /etc/apt/sources.list
  27. deb https://download.virtualbox.org/virtualbox/debian stretch contrib
  28.  
  29. # 4 baixar a chave do virtual box no pc e instala-la
  30. wget https://www.virtualbox.org/download/oracle_vbox_2016.asc
  31. apt-key add oracle_vbox_2016.asc
  32. apt-get update -y
  33. apt-get install virtualbox-6.0
  34.  
  35. # 5 Instalar os seguintes progrmas via linha de comando
  36. nmap
  37. pompem
  38. wireshark
  39. sqlmap
  40. sqlninja
  41. hping
  42. thc hidra
  43. zen map
  44. # 6 criar um ponto de restauracao usando o programa systemback
  45. add-apt-repository "deb http://ppa.launchpad.net/nemh/systemback/ubuntu xenial main"
  46. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 382003C2C8B7B4AB813E915B14E4942973C62A1B
  47. apt update
  48. apt install systemback
  49. digite no terminal como root: systemback
  50.  
  51. 7 - Baixando e instalando o packet tracer
  52. fa├ža o download no site da cisco
  53. de permissao 777 no diretorio /opt
  54. copie o download para /opt
  55. crie uma pasta mkdir /opt/Packettracer
  56. extraia com tar
  57. tar -xvzf arquivo_packettracer -C Packettracer
  58. cd Packettracer
  59. ./Install
  60. aperte Y para todas as opcoes
  61. va para cd /opt/pt/bin/
  62. ./Packettracer se dar erro de biblioteca instale
  63. apt-get install libpng++-dev
  64. apt-get install pngquant libpng-tools tkpng
  65.  
  66. nao funcionaou nada
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top