Installation and configuration FTP server in RHEL 7
File Transfer Protocol (FTP) is a most popular way to transfer files from one machine to another machine across a network in heterogeneous environment. If you take an example of NFS (Network File system) it has an restriction to it can’t be access from other platform such as windows. FTP server does not have such a restriction it can be accessed from Linux OR windows OR OSx. Let’s see installation and configuration FTP server in RHEL 7.
- Whenever we install vsftpd package installed then ftp user will be created
- ftp user home directory will be set as /vat/ftp ftp’s document root path.
- Vsftpd has been very popular because it is a very fast.
- Lightweight FTP server and very easy to configure.
Server profile:
Packages : vsftpd
Daemon : vsftpd
Port Numbers : 20, 21
Config file path : /etc/vsftpd/vsftpd.conf
Packages : vsftpd
Daemon : vsftpd
Port Numbers : 20, 21
Config file path : /etc/vsftpd/vsftpd.conf
Features:
- It is very secure and fast
- Bandwidth throttling
- IPv6 ready
- Encryption support through SSL integration
- Virtual IP configurations
- Virtual users
- Per-user configuration
- Per-source-IP configuration and limits
Installation and Configuration FTP server in RHEL 7
Before going to install the vsftpd packages, ensure that the server has access to internet. If it doesn’t have, configure local YUM repository for vsftpd packages installation.
Install vsftpd yum command
Edit the configuration file. /etc/vsftpd/vsftpd.conf is the main configuration file of ftp server.
Restart and enable the vsftpd service
Create a rule for Firewall to allow FTP ports
Now need to allow default FTP port 20 and 21 through firewall.
Now need to allow default FTP port 20 and 21 through firewall.
Apply SELinux context to ftp directory. Enable write permission on home directories.
Edit configuration file for enable upload files.
Client Side configuration
Install ftp package through yum command
Test the ftp server and downloading files.
For files uploading. Test the FTP server
Conclusion
Installation and configuration FTP server is completed. FTP protocol is not an platform independent which support multiple platforms.
No comments:
Post a Comment