์ƒˆ์†Œ์‹

์ธ๊ธฐ ๊ฒ€์ƒ‰์–ด

๐Ÿ’ป Linux

CentOS7 NFS mount

  • -
๋ฐ˜์‘ํ˜•
# CentOS7_Third > CentOS7_First ๋งˆ์šดํŠธ
NFS ์„ค์ • (CentOS7_First)
yum -y install nfs-utils

systemctl restart nfs-server
systemctl status nfs-server
systemctl enable nfs-server

mkdir /share

chmod 707 /share
cd /share
touch test1

netstat -natlp | grep rpc
lsof -i tcp:111 # nfs๋Š” rpc๋ผ๊ณ  ๋ถ™๋Š”๋‹ค

vim /etc/exports 
	> /share 192.168.111.*(rw,sync) # 192.168.111.* ๋Œ€์—ญ๋งŒ ํด๋” ๊ณต์œ ํ•œ๋‹ค / ์“ฐ๊ณ ์ฝ๊ธฐ ๊ฐ€๋Šฅ

systemctl restart nfs-server
exportfs -v

systemctl stop firewalld
setenforce 0

NFS ์„ค์ • (CentOS7_Third)
yum -y install nfs-utils

systemctl restart nfs-server
systemctl status nfs-server
systemctl enable nfs-server

showmount -e 192.168.111.100 # ๋ฐ›์„์ˆ˜ ์žˆ๋Š”์ง€ ํ™•์ธ

mkdir /mnt/share 
mount -t nfs 192.168.111.100:/share /mnt/share # 192.168.111.100์˜ /shareํด๋”์™€ /mnt/shareํด๋” ๋งˆ์šดํŠธ
df # ๋งˆ์šดํŠธ ํ™•์ธ
๋ฐ˜์‘ํ˜•

'๐Ÿ’ป Linux' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

CentOS7 NFS ๋ฆฌ๋ˆ…์Šค ์œˆ๋„์šฐ ๋งˆ์šดํŠธ  (0) 2022.04.20
CentOS7 NFS mount  (0) 2022.04.20
CentOS7 CLI ํ™˜๊ฒฝ FTP  (0) 2022.04.20
CentOS7 pure-ftpd  (0) 2022.04.20
CentOS7 Vsftpd ์„ค์น˜ , Ubuntu Vsftpd ์„ค์น˜  (0) 2022.04.20
Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.