Servidor Dhcp y Ftp

download Servidor Dhcp y Ftp

of 25

Transcript of Servidor Dhcp y Ftp

  • 7/25/2019 Servidor Dhcp y Ftp

    1/25

    CARRERA: INGENIERIA EN SISTEMAS

    CURSO: SISTEMAS OPERATIVOS ABIERTOS

    CICLO: IX

    ING. AMILCAR CARDOZA

    SERVIDOR DHCP

    Y

    SERVIDOR FTP

    GRUPO 1

    ESTUDIANTE: CARLOS FRANCISCO AMBROCIO GAMAS

    ESTUDIANTE: OTNY ARODY BAUTISTA ANGEL

    ESTUDIANTE: OSCAR GEOVANI SAMAYOA

    ESTUDIANTE: VICTOR ALBERTO MORALES

    1. Ingresa!s "!! r!!#

  • 7/25/2019 Servidor Dhcp y Ftp

    2/25

    Sudo su

    $. Ins#a%a!s e% ser&'(!r ()"*

  • 7/25/2019 Servidor Dhcp y Ftp

    3/25

    +. C!n,'g-ra!s %a ('re""'!nes *ara e% ser&'(!r DCP

  • 7/25/2019 Servidor Dhcp y Ftp

    4/25

    /. C!n,'g-ra!s %a #ar0e#a (e re(

    Sudo nano /etc/default/isc-dhcp-serer

    . C!n,'g-ra"'2n (e% ser&'(!r DCP

  • 7/25/2019 Servidor Dhcp y Ftp

    5/25

    3. Re4!!#

    5. In'"'a!s e% ser&'(!rIngresa!s "!n#rase6a

    sudo /etc/init!d/isc-dhcp-serer start

  • 7/25/2019 Servidor Dhcp y Ftp

    6/25

    7. A*aga!s %as a8-'nas ser&'(!r 9 "%'en#e 9 "a4'a!s %a "!n,'g-ra"'2n (e

    re( na# a re( 'n#erna 9 *!ner%e n!4re re(1.

    ;. V's#a (e a8-'na ser&'(!r 9 "%'en#e en &'r#-a% 4!

  • 7/25/2019 Servidor Dhcp y Ftp

    7/25

    1.A% re'n'"'ar en#ra!s a %a #er'na% 9 es"r'4'!s ',"!n,'g *ara &er,'"'ar %a

    "!n,'g-ra"'2n (e% ser&'(!r.

  • 7/25/2019 Servidor Dhcp y Ftp

    8/25

    11. Ta4'=n en#ra!s a %a "!n,'g-ra"'2n (e% "%'en#e 9 es"r'4'!s ',"!n,'g*ara

    &er','"ar %a '* 8-e se en"-en#re en e% rang! as'gna(! en e% ser&'(!r.

    1$.Rea%'>a!s -n *'ng (e% ser&'(!r a% "%'en#e "!n %as '* as'gna(as *ara

    &er','"ar 8-e #engan "!ne

  • 7/25/2019 Servidor Dhcp y Ftp

    9/25

    1+.Rea%'>a!s -n *'ng (e% "%'en#e a% ser&'(!r "!n %a '* as'gna(a *ara &er','"ar

    8-e #enga "!ne

  • 7/25/2019 Servidor Dhcp y Ftp

    10/25

    SERVIDOR FTP "FOR#$ %&

    %& Para instalar el seridor FTP' escri(i)os en un ter)inal sudo aptitude

    install sftpd sino arranca el co)ando se e*ecutaapt-+et install aptitude para,ue lo reconca.

    %& sudo aptitude install sftpd & apt-+et install aptitude

    http://es.ccm.net/contents/263-protocolo-ftp-protocolo-de-transferencia-de-archivoshttp://es.ccm.net/contents/263-protocolo-ftp-protocolo-de-transferencia-de-archivos
  • 7/25/2019 Servidor Dhcp y Ftp

    11/25

  • 7/25/2019 Servidor Dhcp y Ftp

    12/25

    & Confi+uracion del Seridor FTP

    0a confi+uraci1n del seridor FTP se hace editando elfichero/etc/sftpd!confPara editar este fichero' escri(i)os. +2su +edit /etc/sftpd!conf sino arrancael co)ando se e*ecuta el pro+ra)a +2su con el co)ando apt/+et install +2supara lue+o e*ecutar de nueo el co)ando +2su +edit /etc/sftpd!conf 3 hacerla confi+uracion respectia!

    0a confi+uraci1n del seridor FTP se hace editando elfichero /etc/sftpd!confPara editar este fichero' escri(i)os.

    +2su +edit /etc/sftpd!conf

  • 7/25/2019 Servidor Dhcp y Ftp

    13/25

  • 7/25/2019 Servidor Dhcp y Ftp

    14/25

    !% Dene+ar los accesos FTP an1ni)os

    Ca)(ia)os la l4nea.

    anon3)ous5ena(le67O

    2.2 Permitir a los usuarios locales conectarse al servidor FTP

    local5ena(le6YES

  • 7/25/2019 Servidor Dhcp y Ftp

    15/25

  • 7/25/2019 Servidor Dhcp y Ftp

    16/25

    2.3 Permitir a los usuario subir fcheros

    8rite5ena(le6YES

    !9 Ele+ir la interfa

    Por defecto el seridor FTP estar: en escucha en todas las interfaces! Si

    desea)os restrin+ir' por e*e)plo' ;nica)ente a nuestra red local en %

  • 7/25/2019 Servidor Dhcp y Ftp

    17/25

  • 7/25/2019 Servidor Dhcp y Ftp

    18/25

    3. Reiniciar el servidor FTP

    Reinicia)os el seridor FTP para ,ue to)e en cuenta las )odificaciones ,ue

    aca(a)os de realiar! Escri(i)os el co)ando.

    sudo /etc/init!d/sftpd restart

  • 7/25/2019 Servidor Dhcp y Ftp

    19/25

  • 7/25/2019 Servidor Dhcp y Ftp

    20/25

    SERVIDOR FTP "FOR#$ &

    E*e>a!s Ins#a%an(! e% ser&'(!r FTP:

    sudoapt-+etinstallsftpd

    instalado apt-+et+edit

  • 7/25/2019 Servidor Dhcp y Ftp

    21/25

    A4r'!s e%

    ar")'&! (e

    "!n,'g-ra"'2n ?#ene( en "-en#a s' es#a's en -s-ar'! r!!# n! ne"es'#a's *!ner

    s-(! @:

    s-(!ge('# e#"&s,#*(."!n,

    Rea%'>a!s %!s s'g-'en#es "a4'!s:

    an!n9!-sena4%eNO

    %!"a%ena4%eYES

    r'#eena4%eYES

    %!"a%-as$$

    ,#*(4annerB'en&en'(s a% Ser&'(!r FTP "

    )r!!#%!"a%-serYES

  • 7/25/2019 Servidor Dhcp y Ftp

    22/25

    Crea"'2n (e% gr-*!.

    A)!ra #ene!s 8-e "rear -n gr-*! e% "-a% "!n#r!%e a% ser&'"'! (e &s,#*( (e %a

    s'g-'en#e anera: sudo +roupadd ftp

  • 7/25/2019 Servidor Dhcp y Ftp

    23/25

    Crea"'2n (e% )!e.

    Tene!s 8-e "rear e% (e*!s'#! ! e% )!e (!n(e e% -s-ar'! &a a%!0ar s-

    'n,!ra"'2n "-an(! e% ser&'(!r &s,#*( #er'na (e 'ns#a%arse "rea -na "ar*e#a en

    )!e 8-e(an(! (e %a s'g-'en#e anera.

    sudo)2dir /ho)e/ftp/directorio

    Crea"'2n (e s)e%%FTPL! 8-e )are!s es "rear -n s)e%% &'r#-a% ! ,an#asa *ara

    8-e %!s -s-ar'!s n! *-e(an "!ne"#arse a -na ses'2n (e% s's#ea !*era#'&!.

    s-(!('r 4'n,#*

    Y a 8-e %! "rea!sa)!ra #ene!s 8-e e('#ar e% s'g-'en#e ar")'&!.

  • 7/25/2019 Servidor Dhcp y Ftp

    24/25

    s-(! nan! e#"s)e%%s

    Agregar a% ,'na% (e% ar")'&! e#",#*.

    4'n4as)

    4'nr4as)

    4'n,#*

    Para *!(er "rear -s-ar'!s *ara n-es#r! ser&'"'! ,#* se !"-*a e% s'g-'en#e

    "!an(!.

    s-(!-sera(( Hg ,#* H( )!e,#*('re"#!r'! Hs 4'n,#* -s-ar'!

    Tene!s 8-e agregar%e -na "!n#rase6a a n-es#r! -s-ar'! "rea(!.

    sudopass8dusuario

    Enter ne8 >7I? pass8ord.

    Ret3pe ne8 >7I? pass8ord.

    pass8d. pass8ord updated successfull3

  • 7/25/2019 Servidor Dhcp y Ftp

    25/25