How to create an SFTP Server using Linux CentOS?

SCP comes by default. SFTP is an older protocol. Unless you specifically need SFTP I would just use the default SCP.

If you absolutely have to have sftp.
Run the following as root (or sudo)
#> yum install -y vsftpd
#> systemctl enable vsftpd
#> systemctl start vsftpd

Members online