- 1. 概要
- 2. 起動
1. 概要
FTP サーバはデフォルトでインストールされていて、有効化されていないだけのようです。
root ユーザで
# systemctl status ftpd.service
● ftpd.service - FTPD Daemon
Loaded: loaded (/usr/lib/systemd/system/ftpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
2. 起動
SSH と同じ要領です。
# systemctl enable ftpd.service
Created symlink /etc/systemd/system/multi-user.target.wants/ftpd.service → /usr/lib/systemd/system/ftpd.service.
# systemctl start ftpd.service
# systemctl status ftpd.service
● ftpd.service - FTPD Daemon
Loaded: loaded (/usr/lib/systemd/system/ftpd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-12-27 13:45:29 JST; 3s ago
Process: 4042 ExecStart=/usr/bin/ftpd -D (code=exited, status=0/SUCCESS)
Main PID: 4044 (ftpd)
Tasks: 1 (limit: 4715)
Memory: 524.0K
CGroup: /system.slice/ftpd.service
mq4044 /usr/bin/ftpd -D
12月 27 13:45:29 man18kde systemd[1]: Starting FTPD Daemon...
12月 27 13:45:29 man18kde systemd[1]: ftpd.service: Can't open PID file /run/ftpd.pid (yet?) after start: No such file or directo>
12月 27 13:45:29 man18kde systemd[1]: Started FTPD Daemon.
|
|