I am trying to use FTP on CentOS. I use this way to install:
sudo yum -y install vsftpd
when I use whereis
to check the location of vsftpd, I can find it:
But when I try
service vsftpd start
The error is:
bash: service: command not found
I have tried all different ways to fix it. But none of them worked. Could anyone please help me here?
service
command, not to thevsftpd
. I believe that on CentOS, you need to usesystemctl
.adduser
. To unlock the account, usepasswd
followed by the new user name you created.