今回は centosstream8。
FTPサーバーを立てましょう。
ftpをインスコします
dnf -y install vsftpd
設定ファイル編集
/etc/vsftpd/vsftpd.conf
# コメントを外す
chroot_local_user=YES
chroot_list_enable=YES
# 追記
pasv_enable=YES
pasv_min_port=60001
pasv_max_port=60010
force_dot_files=YES
use_localtime=YES
ユーザー追加
vim /etc/vsftpd/chroot_list
hideki
firewall を オープン
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload
起動
systemctl start vsftpd
systemctl enable vsftpd
OK