| Vsftpd インストール root@falcon21:~# dnf -y install vsftpd インストール済み: vsftpd-3.0.5-9.el10.x86_64 完了しました! 設定 root@falcon21:~# vi /etc/vsftpd/vsftpd.conf 100 chroot_local_user=YES 101 chroot_list_enable=YES 102 allow_writeable_chroot=YES 105 chroot_list_file=/etc/vsftpd/chroot_list 111 ls_recurse_enable=YES 116 listen=Yes 125 listen_ipv6=No # 最終行へ追記 130 local_root=public_html 131 use_localtime=YES 起動 [root@falcon21 ~]# systemctl start vsftpd 自動起動設定 [root@falcon21 ~]# systemctl enable –now vsftpd Created symlink ‘/etc/systemd/system/multi-user.target.wants/vsftpd.service’ → ‘/usr/lib/systemd/system/vsftpd.service’. 再起動 [root@falcon21 ~]# systemctl restart vsftpd 動作状況確認 [root@falcon21 ~]# systemctl status vsftpd ● vsftpd.service – Vsftpd ftp daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; preset: disabled) Active: active (running) since Mon 2025-11-17 12:28:15 JST; 2min 3s ago Invocation: 46cec966c9b044658c7f0e4a729c6800 Process: 4476 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS) Main PID: 4477 (vsftpd) Tasks: 1 (limit: 47782) Memory: 744K (peak: 1.1M) CPU: 4ms CGroup: /system.slice/vsftpd.service └─4477 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf 11月 17 12:28:15 falcon21.space systemd[1]: Starting vsftpd.service – Vsftpd ftp daemon… 11月 17 12:28:15 falcon21.space systemd[1]: Started vsftpd.service – Vsftpd ftp daemon. # chroot を適用しない (上層への [cd] を許可する) ユーザーを追加 root@falcon21:~# vi /etc/vsftpd/chroot_list xxxxxx firewall設定 root@falcon21:~# firewall-cmd –add-service=ftp success root@falcon21:~# firewall-cmd –runtime-to-permanent success 設定を反映させるため再起動 [root@falcon21 ~]# systemctl restart vsftpd hayato windows10 からFTP アクセス確認 OK ******************************************************************* ftp を使ってLinux間でファイルを転送 ftpclient アプリfilezillaをインストール [root@falcon21 ~]# dnf -y install filezilla 準備 : 1/1 インストール中 : wxBase-3.2.6-3.el10_1.x86_64 1/8 インストール中 : wxGTK-i18n-3.2.6-3.el10_1.noarch 2/8 インストール中 : pugixml-1.13-6.el10_0.x86_64 3/8 インストール中 : libfilezilla-0.51.1-1.el10_1.x86_64 4/8 インストール中 : SDL3-3.2.4-1.el10.x86_64 5/8 インストール中 : sdl2-compat-2.32.50-1.el10.x86_64 6/8 インストール中 : wxGTK-3.2.6-3.el10_1.x86_64 7/8 インストール中 : filezilla-3.69.3-1.el10_1.x86_64 8/8 scriptletの実行中: filezilla-3.69.3-1.el10_1.x86_64 8/8 インストール済み: SDL3-3.2.4-1.el10.x86_64 filezilla-3.69.3-1.el10_1.x86_64 libfilezilla-0.51.1-1.el10_1.x86_64 pugixml-1.13-6.el10_0.x86_64 sdl2-compat-2.32.50-1.el10.x86_64 wxBase-3.2.6-3.el10_1.x86_64 wxGTK-3.2.6-3.el10_1.x86_64 wxGTK-i18n-3.2.6-3.el10_1.noarch 完了しました! ——————— |