Advertisement
rraito

linux part 1

Aug 30th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1.  
  2. service networking restart
  3. ifconfig
  4.  
  5. apt-get openssh-server
  6. visudo
  7. diisi usernya
  8. :wq
  9. :q
  10. i
  11. yyp
  12.  
  13. update
  14.  
  15. root@debian:~# history
  16. 1 init 0
  17. 2 apt-get update
  18. 3 apt-get upgrade
  19. 4 apt-get install vim
  20. 5 vim /etc/networks/interface
  21. 6 vim /etc/network/interfaces
  22. 7 nmtui
  23. 8 vim /etc/network/interfaces
  24. 9 service networking restart
  25. 10 ifconfig
  26. 11 apt-get install openssh-server
  27. 12 apt-get install sudo
  28. 13 visudo
  29. 14 update-alternatives --config editor
  30. 15 visudo
  31. 16 ifconfig
  32. 17 history
  33. 18 service ssh restart
  34. 19 ping
  35. 20 ping 192.168.84.1
  36. 21 init 0
  37. 22 history
  38. root@debian:~#
  39.  
  40. http://askubuntu.com/questions/196640/how-to-change-ip-when-etc-network-interface-file-is-missing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement