# 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 ์ ํ
<ftp://192.168.111.100/>
vim /etc/vsftpd/vsftpd.conf # vsftpd ์ค์ ํ์ผ
29 anon_upload_enable=YES
30 #
31 # Uncomment this if you want the anonymous FTP user to be able to create
32 # new directories.
33 anon_mkdir_write_enable=YES
# ์ต๋ช
์ ์ฌ์ฉ์์๊ฒ ํ์ผ ์
๋ก๋/ํด๋ ์์ฑ ๊ถํ ๋ถ์ฌ
ftpd_banner=Chaen's FTP Server # ftp์ ๋ฐฐ๋ ๋ง๋ค๊ธฐ
systemctl restart vsftpd
chown ftp.ftp /var/ftp/pub/ # ์์ ๊ถ ๋ณ๊ฒฝ
# Ubuntu vsftpd(upload,download)
# vsftpd ์ค์น
apt -y install vsftpd
# vsftpd ์ค์ ํ์ผ ์์
vim /etc/vsftpd.conf
> 25 anonymous_enable=NO ---- YES๋ก ๋ณ๊ฒฝ
31 #write_enable=YES ------ ์ฃผ์(#) ์ ๊ฑฐ
40 #anon_upload_enable=YES ์ฃผ์(#) ์ ๊ฑฐ
44 #anon_mkdir_write_enable=YES ์ฃผ์(#) ์ ๊ฑฐ
# ํด๋ ์ถ๊ฐ ๋ฐ ๊ถํ ์ค์
cd /srv/ftp
mkdir upload
chmod 777 upload # ๋๋ ํฐ๋ฆฌ ํ๊ฐ๊ถ ๋ณ๊ฒฝ
cd upload
cp /boot/vmlinuz-* upload # ์ํ ํ์ผ ๋ณต์ฌ
ls -l # ๋ณต์ฌํ ์ํ ํ์ผ ํ์ธ
cd /srv/ftp
mkdir download
chmod 777 download # ๋๋ ํฐ๋ฆฌ ํ๊ฐ๊ถ ๋ณ๊ฒฝ
cd download
cp /boot/vmlinuz-* download # ์ํ ํ์ผ ๋ณต์ฌ
ls -l # ๋ณต์ฌํ ์ํ ํ์ผ ํ์ธ
# ํ์ผ ์ง๋ผ ์ค์น ํ
ํธ์คํธ : 192.168.0.41 (Ubuntu IP)
์ฌ์ฉ์๋ช
: anonymous