티스토리 뷰

목차


    반응형

    xinetd 설치.
    apt-get install xinetd
    /etc/init.d/xinetd restart


    tftp 설치
    apt-get install tftpd-hpa tftp-hpa

    ls /usr/sbin/in.*
    in.tftpd <-- 나와야 한다.

    vi /etc/default/tftpd-hpa  파일 있는지 확인.

    mkdir /tftpboot
    chown nobody /tftpboot

    service tfptd-hpa restart     서비스 재시작.


    putty 설치
    apt-get install putty
    ls /usr/bin/putty
    putty <-- 나와야 한다.


    nfs 설치
    apt-get install nfs-kernel-server
    vi /etc/exports 

    /nfsroot *(rw,no_root_squash,no_all_squash,async)                        -----  1번

    /nfsroot 192.168.5.100(rw,no_root_squash,no_all_squash,async)        -----  2번
    /nfsroot localhost(rw,no_root_squash,no_all_squash,async)

    1,2번 중 한가지를 제일 하단에 추가.  (2번은 2줄 모두 작성해야 함)
    /nftroot는 nfs를 사용할 폴더. ip는 nfs의 사용을 허용할 ip. * 는 모든 ip 허용.

    /etc/init.d/nfs-kernel-server restart
    /etc/init.d/portmap restart

    mkdir ~/test
    mount localhost:/nfsroot ~/test

    그러면 ~/test 의 내용과 /nfsroot의 내용이 동일하게 보인다.


    유용한 정보가 되셨다면 아래 손가락 버튼 한번 눌러주세요 ^-^

    반응형