Guest User

Untitled

a guest
Apr 3rd, 2014
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.85 KB | None | 0 0
  1. login as: root
  2. root@192.168.0.115's password:
  3. Linux debianad 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
  4.  
  5. The programs included with the Debian GNU/Linux system are free software;
  6. the exact distribution terms for each program are described in the
  7. individual files in /usr/share/doc/*/copyright.
  8.  
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  10. permitted by applicable law.
  11. Last login: Wed Apr  2 21:06:53 2014 from 192.168.0.102
  12. root@debianad:~# nano /etc/apt/sources.list
  13. root@debianad:~# aptitude update
  14. Pobieranie: 1 http://ftp.pl.debian.org wheezy-backports Release.gpg [836 B]
  15. Stary  http://ftp.pl.debian.org wheezy Release.gpg
  16. Stary  http://security.debian.org wheezy/updates Release.gpg
  17. Pobieranie: 2 http://ftp.pl.debian.org wheezy-updates Release.gpg [836 B]
  18. Stary  http://security.debian.org wheezy/updates Release
  19. Pobieranie: 3 http://ftp.pl.debian.org wheezy-backports Release [147 kB]
  20. Stary  http://security.debian.org wheezy/updates/main Sources
  21. Stary  http://security.debian.org wheezy/updates/main amd64 Packages
  22. Stary  http://ftp.pl.debian.org wheezy Release
  23. Pobieranie: 4 http://ftp.pl.debian.org wheezy-updates Release [124 kB]
  24. Stary  http://security.debian.org wheezy/updates/main Translation-en
  25. Pobieranie: 5 http://ftp.pl.debian.org wheezy-backports/main amd64 Packages [326                                                                              kB]
  26. Pobieranie: 6 http://ftp.pl.debian.org wheezy-backports/main Translation-en [217                                                                              kB]
  27. Stary  http://ftp.pl.debian.org wheezy/main Sources
  28. Stary  http://ftp.pl.debian.org wheezy/main amd64 Packages
  29. Stary  http://ftp.pl.debian.org wheezy/main Translation-pl
  30. Stary  http://ftp.pl.debian.org wheezy/main Translation-en
  31. Pobieranie: 7 http://ftp.pl.debian.org wheezy-updates/main Sources [4057 B]
  32. Stary  http://ftp.pl.debian.org wheezy-updates/main amd64 Packages/DiffIndex
  33. Stary  http://ftp.pl.debian.org wheezy-updates/main Translation-en/DiffIndex
  34. Pobrano 819 kB w 1s (587 kB/s)
  35.  
  36. Bieżący status: 688 nowych [+688].
  37. root@debianad:~# aptitude upgrade
  38. Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
  39. 0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowany                                                                             ch.
  40. Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B.
  41.  
  42. root@debianad:~# aptitude install samba
  43. Następujące NOWE pakiety zostaną zainstalowane:
  44.  samba tdb-tools{a}
  45. 0 pakietów aktualizowanych, 2 instalowanych, 0 do usunięcia i 0 nieaktualizowany                                                                             ch.
  46. Do pobrania 4349 kB archiwów. Zajęte po rozpakowaniu: 23,8 MB.
  47. Kontynuować? [Y/n/?] y
  48. Pobieranie: 1 http://ftp.pl.debian.org/debian/ wheezy/main samba amd64 2:3.6.6-6                                                                             +deb7u2 [4322 kB]
  49. Pobieranie: 2 http://ftp.pl.debian.org/debian/ wheezy/main tdb-tools amd64 1.2.1                                                                             0-2 [27,0 kB]
  50. Pobrano 4349 kB w 9s (483 kB/s)
  51. Prekonfiguracja pakietów ...
  52. Wybieranie wcześniej niewybranego pakietu samba.
  53. (Odczytywanie bazy danych ... 55829 plików i katalogów obecnie zainstalowanych.)
  54. Rozpakowywanie pakietu samba (z .../samba_2%3a3.6.6-6+deb7u2_amd64.deb) ...
  55. Wybieranie wcześniej niewybranego pakietu tdb-tools.
  56. Rozpakowywanie pakietu tdb-tools (z .../tdb-tools_1.2.10-2_amd64.deb) ...
  57. Przetwarzanie wyzwalaczy pakietu man-db...
  58. Konfigurowanie pakietu samba (2:3.6.6-6+deb7u2) ...
  59. Generating /etc/default/samba...
  60. Dodawanie grupy "sambashare" (GID 118)...
  61. Gotowe.
  62. update-alternatives: użycie /usr/bin/smbstatus.samba3 jako dostarczającego /usr/                                                                             bin/smbstatus (smbstatus) w tryb auto
  63. [ ok ] Starting Samba daemons: nmbd smbd.
  64. Konfigurowanie pakietu tdb-tools (1.2.10-2) ...
  65. update-alternatives: użycie /usr/bin/tdbbackup.tdbtools jako dostarczającego /us                                                                             r/bin/tdbbackup (tdbbackup) w tryb auto
  66.  
  67. root@debianad:~# aptitude install smbclient
  68. Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
  69. 0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowany                                                                             ch.
  70. Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B.
  71.  
  72. root@debianad:~# /usr/bin/
  73. Display all 960 possibilities? (y or n)
  74. root@debianad:~# cd /usr/bin/samba/bin/samba-tool domain provision
  75. -bash: cd: /usr/bin/samba/bin/samba-tool: Nie ma takiego pliku ani katalogu
  76. root@debianad:~# /usr/bin/samba/bin/samba-tool domain provision
  77. -bash: /usr/bin/samba/bin/samba-tool: Nie ma takiego pliku ani katalogu
  78. root@debianad:~#
Advertisement
Add Comment
Please, Sign In to add comment