How to Install FTP on Oracle Linux 8.5
To Install FTP Server on Oracle Linux 8.5
Introduction:
FTP, or File Transfer Protocol, is a standard communication protocol used for transferring computer files from a server to a client over a network. The FTP protocol is built on a client-server model, which uses separate control and data connections between the client and the server.
Installation Steps:
Step 1: Check the Oracle Linux Version by using the below command
[root@linuxhelp linuxhelp]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"
ID="ol"
Step 2: Install FTP by using the below command
[root@linuxhelp ]# yum install vsftpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.piconets.webwerks.in
* extras: mirrors.piconets.webwerks.in
* updates: mirrors.piconets.webwerks.in
Resolving Dependencies
Installed size: 353 k
Is this ok [y/d/N]: y
Downloading packages:
vsftpd-3.0.2-29.el7_9.x86_64.rpm
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : vsftpd-3.0.2-29.el7_9.x86_64 1/1
Verifying : vsftpd-3.0.2-29.el7_9.x86_64 1/1
Installed:
vsftpd.x86_64 0:3.0.2-29.el7_9
Complete!
Step 3: Enable, Start and Check the Status of FTP by using the below command
[root@linuxhelp ]# systemctl enable vsftpd
Created symlink from /etc/systemd/system/multi-user.target.wants/vsftpd.service to /usr/lib/systemd/system/vsftpd.service.
[root@linuxhelp ]# systemctl start vsftpd
[root@linuxhelp/]# systemctl status vsftpd
Step 4: Stop and Disable the Firewall by using the below command
[root@linuxhelp ]# systemctl stop firewalld
[root@linuxhelp ]# systemctl disable firewalld
Step 5: Check the Configuration by using the below command
[root@linuxhelp ]# vim /etc/vsftpd/vsftpd.conf
Step 6: Add user and create password by using the below command
[root@linuxhelp ]# adduser user1
[root@linuxhelp ]# passwd user1
Changing password for user user1.
New password:
BAD PASSWORD: The password fails the dictionary check - it is too simplistic/systematic
Retype new password:
passwd: all authentication tokens updated successfully.
Step 7: Create Directory and File by using the below command
[root@linuxhelp ]# mkdir /home/user1/share1
[root@linuxhelp ]# touch /home/user1/share1/file1
Step 8: Restart the FTP by using the below command
[root@linuxhelp ]# systemctl restart vsftpd
Step 9: Now open your FTP with the server IP address in the format as shown in the below image
Step 10: Now provide user name and password as shown in the below image
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install FTP on Oracle Linux 8.5. Your feedback is much welcome.