Wednesday 14 February 2018

FTP Server and Client Configuration on REDHAT 7

Hi Friends,
I am Back after a long time, Sorry for that
Today, I am Telling You the Configuration of FTP on REDHAT 7
So, Let's Start....

To install ftp we need to install a package named 'vsftpd' (very secure file transfer protocol daemon).

First of all check if package is already install or not with the following command.

#rpm -qa vsftpd (press Enter)                                        (-qa means query all)
or
#service vsftpd status

Note if install then it will show the package otherwise we have to install it.

package is available in RHEL DVD Packages Folder or you can download it from Internet.

goto dvd packages folder with following command

#cd /run/media/root/DVD_Name/Packages/ (press Enter)

#rpm -i <package name>  (press Enter)

after installation we have to start/restart ftp service with the following command

#service vsftpd start/restart (press enter)  (note after every time when machine reboot we ave to restart vsftpdd service, But if
we want to start vsftpdd service automatically everytime then we have to
execute following command)

# chkconfig vsftpd on

(Note Where is FTP Default directory /var/ftp)



we have to install ftp.x.x.x. package to login on ftp server using terminal

command to login
#ftp <ip address>

command for downloadinf files
#get <filename>

We have have to check Firewall settings
it must be enabled for ftp

if firewall package not install then install system-config-firewall.x.x.x.rpm package

Thanks !!
Hope You Like IT !

1 comment: