How to Install and configure FTP server in Redhat / Centos Linux

Опубликовано: 21 Ноябрь 2016
на канале: Phuong Nguyen
1,860
5

How to Install and configure FTP server in Redhat/Centos Linux?

Step 1: We will use below host name and IP address for our test machine to setup FTP server

Server IP: 192.168.0.9 /// Host Name: ftp.demo.com

Just edit file /etc/hosts

#vi /etc/hosts
and add the line on bottom and save

192.168.0.9 ftp.demo.com

Step 2: Install vsftpd (very secure FTP daemon) package.

#yum install vsftpd ftp xinetd

Configuring FTP server in Linux Centos
Step 3: Configure vsftpd package. We will edit /etc/vsftpd/vsftpd.conf.

#vi /etc/vsftpd/vsftpd.conf

anonymous_enable=YES

Change the line chroot_local_user=NO to chroot_local_user=YES.
This will permit local user as FTP account.

The local user directory will be the FTP directory.

Start FTP service once you do all the above edits.
#service vsftpd start
To enable this service at boot time
#chkconfig vsftpd on

Check Ftp command line. Create ftp account to do the testing.
#useradd ftp
#passwd ftp

now open command line of other computer and test


Смотрите видео How to Install and configure FTP server in Redhat / Centos Linux онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Phuong Nguyen 21 Ноябрь 2016. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,860 раз и оно понравилось 5 посетителям.