OS:Linux_CentOS7
[root@cent ~]# yum -y install vsftpd ←FTP機能インストール
読み込んだプラグイン:fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 156 kB 00:00:00
(2/4): extras/7/x86_64/primary_db | 181 kB 00:00:01
(3/4): updates/7/x86_64/primary_db | 6.9 MB 00:00:09
(4/4): base/7/x86_64/primary_db | 5.7 MB 00:00:14
Determining fastest mirrors
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ vsftpd.x86_64 0:3.0.2-22.el7 を インストール
--> 依存性解決を終了しました。
依存性を解決しました
=====================================================================================================================
Package アーキテクチャー バージョン リポジトリー 容量
=====================================================================================================================
インストール中:
vsftpd x86_64 3.0.2-22.el7 base 169 k
トランザクションの要約
=====================================================================================================================
インストール 1 パッケージ
総ダウンロード容量: 169 k
インストール容量: 348 k
Downloading packages:
警告: /var/cache/yum/x86_64/7/base/packages/vsftpd-3.0.2-22.el7.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID f4a80eb5: NOKEY
vsftpd-3.0.2-22.el7.x86_64.rpm の公開鍵がインストールされていません
vsftpd-3.0.2-22.el7.x86_64.rpm | 169 kB 00:00:00
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 から鍵を取得中です。
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-4.1708.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : vsftpd-3.0.2-22.el7.x86_64 1/1
検証中 : vsftpd-3.0.2-22.el7.x86_64 1/1
インストール:
vsftpd.x86_64 0:3.0.2-22.el7
完了しました!
[root@cent ~]#
[root@cent ~]#
[root@cent ~]#
[root@cent ~]# systemctl start vsftpd ←FTP起動
[root@cent ~]#
[root@cent ~]#
[root@cent ~]# systemctl status vsftpd ←FTP動作確認(起動状態)
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
Active: active (running) since 金 2018-03-16 18:04:26 JST; 33s ago
Process: 1428 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 1429 (vsftpd)
CGroup: /system.slice/vsftpd.service
mq1429 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
3月 16 18:04:26 cent systemd[1]: Starting Vsftpd ftp daemon...
3月 16 18:04:26 cent systemd[1]: Started Vsftpd ftp daemon.
[root@cent ~]#
[root@cent ~]#
[root@cent ~]# systemctl stop vsftpd ←FTP停止
[root@cent ~]#
[root@cent ~]#
[root@cent ~]# systemctl status vsftpd ←FTP動作確認(停止状態)
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
3月 16 18:04:26 cent systemd[1]: Starting Vsftpd ftp daemon...
3月 16 18:04:26 cent systemd[1]: Started Vsftpd ftp daemon.
3月 16 18:05:46 cent systemd[1]: Stopping Vsftpd ftp daemon...
3月 16 18:05:46 cent systemd[1]: Stopped Vsftpd ftp daemon.
[root@cent ~]#