๐ป Linux
-
# ๋ฆฌ๋ ์ค > ์๋์ฐ ๋ง์ดํธ #CentOS7_Third vim /etc/fstab ############################################################################ 192.168.111.100:/share /mnt/share nfs defaults 0 0 mount -a cd /mnt/share # ์๋์ฐ ๋ช ๋ น์ฐฝ (cmd) mount 192.168.111.100:/share * mount 192.168.111.129:/share *
CentOS7 NFS ๋ฆฌ๋ ์ค ์๋์ฐ ๋ง์ดํธ# ๋ฆฌ๋ ์ค > ์๋์ฐ ๋ง์ดํธ #CentOS7_Third vim /etc/fstab ############################################################################ 192.168.111.100:/share /mnt/share nfs defaults 0 0 mount -a cd /mnt/share # ์๋์ฐ ๋ช ๋ น์ฐฝ (cmd) mount 192.168.111.100:/share * mount 192.168.111.129:/share *
2022.04.20 -
# CentOS7_Third > Ubuntu ๋ง์ดํธ Ubuntu mount apt -y install nfs-kernel-server systemctl restart nfs-server systemctl enable nfs-server systemctl stop firewalld mkdir /share chmod 707 /share cd /share touch test1 vim /etc/exports > /share 192.168.111.*(rw,sync) systemctl restart nfs-server exportfs -v CentOS7_Third systemctl restart nfs-server systemctl status nfs-server systemctl enable nfs-server ..
CentOS7 NFS mount# CentOS7_Third > Ubuntu ๋ง์ดํธ Ubuntu mount apt -y install nfs-kernel-server systemctl restart nfs-server systemctl enable nfs-server systemctl stop firewalld mkdir /share chmod 707 /share cd /share touch test1 vim /etc/exports > /share 192.168.111.*(rw,sync) systemctl restart nfs-server exportfs -v CentOS7_Third systemctl restart nfs-server systemctl status nfs-server systemctl enable nfs-server ..
2022.04.20 -
# 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 ex..
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 ex..
2022.04.20 -
# CLI ํ๊ฒฝ ftp yum -y install epel-release yum -y install ncftp ncftp 192.168.111.100 dir cd pub/ get test # ๋ค์ด๋ก๋ ๋ช ๋ น์ด mv test test1234 put test1234 # ์ ๋ก๋ ๋ช ๋ น์ด
CentOS7 CLI ํ๊ฒฝ FTP# CLI ํ๊ฒฝ ftp yum -y install epel-release yum -y install ncftp ncftp 192.168.111.100 dir cd pub/ get test # ๋ค์ด๋ก๋ ๋ช ๋ น์ด mv test test1234 put test1234 # ์ ๋ก๋ ๋ช ๋ น์ด
2022.04.20 -
# pure-ftpd yum -y install pure-ftpd systemctl restart pure-ftpd vim /etc/pure-ftpd/pure-ftpd.conf 77 NoAnonymous no 287 AnonymousCantUpload no systemctl restart pure-ftpd
CentOS7 pure-ftpd# pure-ftpd yum -y install pure-ftpd systemctl restart pure-ftpd vim /etc/pure-ftpd/pure-ftpd.conf 77 NoAnonymous no 287 AnonymousCantUpload no systemctl restart pure-ftpd
2022.04.20 -
# Vsftpd ์ค์น yum -y install vsftpd rpm -qa | grep vsftpd #์ค์น ํ์ธ systemctl restart vsftpd systemctl enable vsftpd systemctl status vsftpd cd /var/ftp #ftp ํ์ผ ํ์ธ cd pub cp /boot/vmlinuz-0-rescue-0980594ad40741459f50ed86e038e729 test setenforce 0 firewall-config > Run/์๊ตฌ์ ๋๋ค ftp ์ ํ vim /etc/vsftpd/vsftpd.conf # vsftpd ์ค์ ํ์ผ 29 anon_upload_enable=YES 30 # 31 # Uncomment this if you want the anonymous..
CentOS7 Vsftpd ์ค์น , Ubuntu Vsftpd ์ค์น# Vsftpd ์ค์น yum -y install vsftpd rpm -qa | grep vsftpd #์ค์น ํ์ธ systemctl restart vsftpd systemctl enable vsftpd systemctl status vsftpd cd /var/ftp #ftp ํ์ผ ํ์ธ cd pub cp /boot/vmlinuz-0-rescue-0980594ad40741459f50ed86e038e729 test setenforce 0 firewall-config > Run/์๊ตฌ์ ๋๋ค ftp ์ ํ vim /etc/vsftpd/vsftpd.conf # vsftpd ์ค์ ํ์ผ 29 anon_upload_enable=YES 30 # 31 # Uncomment this if you want the anonymous..
2022.04.20