NFS 를 이용한 파일 공유

44
NFS 를 를를를 를를 를를 suckzoo

description

NFS 를 이용한 파일 공유. suckzoo. NFS. Network File System 다른 서버에서 공유한 디렉토리를 마운트 , 자신의 디렉토리처럼 이용 N 드라이브 탐색기. NFS. RPC(Remote Procedure Call) 기반 RPC 프로그램이 다른 주소 공간에서 원격 제어를 위한 프로그래머의 세사한 코딩 없이 함수나 프로시저의 실행을 허용하는 기술 (From Wikipedia). Portmapper. RPC 와 포트 번호 사이 관계 조정 - PowerPoint PPT Presentation

Transcript of NFS 를 이용한 파일 공유

NFS

NFS suckzooNFSNetwork File System

,

N NFSRPC(Remote Procedure Call)

RPC (From Wikipedia)

PortmapperRPC

Portmapper ,

, bind .NFS Server, Client

, by Server

by ClientPackagenfs-commonnfs-kernel-serverportmap

^^chmod R ugo+rwx [directory]

... /etc/exportsNFS Server , [share-dir] [client] (option)[share-dir] : [client] : (host, domain, ip)/etc/exports optionro(Read Only) rw(Read Write) no_root_squash client root NFS rootroot_squash client root (nfsnobody)secure client insecure sync client NFS service nfs-kernel-server restartservice portmap restart

RPC rpcinfo p

NFS RPC

nfs : NFS portmap : RPC nlockmgr : , mount t nfs [host]:[share dir] [mount dir]

[mount dir] mkdir .

share dir mount dir ./etc/fstabHostname:[share-dir] [mount-dir] nfs [option] [dump] [system_checking]

mount -a/etc/fstab option

NFS showmountshowmount [server] : NFS showmount e [server] : NFS

: . RPC failgg15 umount [dir]

ls . ( Very Secure FTP Daemon . .vsftpd /etc/vsftpd.conf

, parameter yes/no .

Parameters of vsftpd.confanonymous_enable = YESAnonymous local_enable = YES listen = YESstandalone/xinetd parameterpasv_enable = YESpassive mode : http://goo.gl/AdbWl

Passive mode vsftpd ?Standalone vs. XinetdStandalone daemon standalone listen . listen . .ex : sendmail /etc/init.d .

Standalone vs. XinetdXinet(eXtended InterNET services) daemon . . /etc/xinetd.d .Standalone/Xinetd vsftpd /etc/vsftpd.conf

Console FTP bit.sparcs.org .

bit wseminar3 ftp .

.

ftp wseminar3.sparcs.org-> id, pw

FTP CommandLinux command .

cd, chmod, pwd, ls, exitmkdir, rmdiropen [domain] : domain get / delete / put [file] : [file] //FTP Commandsize [file] : [file] (byte)

status : ftp session .

lcd : local directory .ex : lcd /home/suckzoo get [file] /home/suckzoo .

FTP connection with Filezilla .

FTP / FTPS / SFTPFTP (File Transfer Protocol) . ID Passwd Plain text . . .FTP / FTPS / SFTPFTPS (FTP Secure)

FTP TLS/SSL .TLS/SSL apple

FTP / FTPS / SFTPSFTP (SSH FTP)SSH(Secure shell) SCP ftp 22. putty .

ssh ., ftp .ssh .Referencenaldo NFS whitegold FTP