Linux - Fedora - 共通事項 - FTP サーバ


 クラウディア


1. 概要
2. インストール
3. 起動

1. 概要

 FTP サーバは、インストールされていないので、vsftpd をインストールして使用します。

2. インストール

 こういうのは、コマンドの方が手っ取り早い。  root ユーザで

yum install vsftpd
 インストールしたら

/etc/vsftpd/vsftpd.conf
 を更新しておきます。

# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
listen_ipv6=YES
 を下記に書き換えます。

# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
listen_ipv6=NO

3. 起動

 root ユーザのまま  Firewall の起動状況を確認して

systemctl status firewalld.service
 動作していたら停止させます(まぁ、ここは仮にということで)。

systemctl stop firewalld.service
 vsftpd のサービスを起動します。

systemctl start  vsftpd.service

audiobook.jp
アフィリエイトのアクセストレード
サウンドハウス
ハイスピードプラン
earthcar(アースカー)
葬送のフリーレン Prime Video
Amazonギフトカード
健康サポート特集
ネットオークションの相場、統計、価格比較といえばオークファン
JETBOY
損保との違い
TikTok Shop 【リピート用プログラム】
ベルリッツ
U-NEXT
【usus ウズウズ】
5G CONNECT
EaseUS
薬屋の独り言
それがだいじWi-Fi