Hello Friends,
In this article I’ll explain how to configure FTP server on Fedora.
Following settings also works on all fedora versions above 7
You need to be in root account for doing such configuration.
In Fedora versions above 7, portmap has been replaced by RPCBind. So trying following commands will not work
———————————————-
# rpm -qa portmap
# which ‘portmap’
# yum install portmap
# whereis portmap
———————————————-
To install RPCBind and NFS, use following command
# yum install rpcbind
# yum install nfs-utils nfs-utils-lib
Step 1:
Add the following line in /etc/exports file using following command and save file.
# vi /etc/exports
/var/ftp/pub <tab> <your_ip_address>/<subnet_address>(no,sync,no_root_squash)
Step 2:
Start all the services required
# service vsftp start
# service rpcbind start
Step 3:
Then type this command
# chkconfig rpcbind on
# chkconfig nfs on
Step 4:
Go to /var/ftp/ and create the directory and add files that you want to share.
Step 5:
To check if FTP Server is working or not, type in browser
ftp://<your_ip_address>
Enjoy 😀