• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install FTP server on oracle Linux

  • 02:21 passwd ftpuser
  • 02:51 vim /etc/vsftpd/user_list
  • 03:25 vim /etc/vsftpd/vsftpd.conf
  • 04:23 systemctl restart vsftpd
  • 04:42 touch /home/ftpuser/abc{1..10}
  • 05:23 rpm -f ftp
  • 05:32 yum install ftp
  • 05:49 ftp 192.168.6.132
  • 06:15 ls
  • 06:32 get abc1
  • 06:44 !ls
  • 06:52 exit
6968

To Install and configure vsftpd server on oracle linux

Introduction :

• FTP stands for file transfer protocol, used for transfer files from a server to the network. • FTP is built on a client–server model architecture. • The initial client-to-server connection on port 21.

Installation steps :

Step 1 : check the OS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Oracle Linux Server"
VERSION="8.4"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.4"

Step 2 : Install vsftpd packages by using the below command

 [root@linuxhelp ~]# yum install vsftpd
Last metadata expiration check: 20:47:21 ago on Friday 26 November 2021 09:35:06 AM IST.
Dependencies resolved.
Installing:
 vsftpd                        x86_64                        3.0.3-34.el8                        ol8_appstream                        181 k
  Verifying        : vsftpd-3.0.3-34.el8.x86_64                                                                                         1/1 
Installed:
  vsftpd-3.0.3-34.el8.x86_64                                                                                                                
Complete!

Step 3 : Start the vsftpd service by using the below command

[root@linuxhelp ~]# systemctl start vsftpd

Step 4 : Enable the vsftpd service by using the below command

 [root@linuxhelp ~]# systemctl enable vsftpd
Created symlink /etc/systemd/system/multi-user.target.wants/vsftpd.service → /usr/lib/systemd/system/vsftpd.service.

Step 5 : Check the status of vsftpd service by using the below command

 [root@linuxhelp ~]# systemctl status vsftpd
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2021-11-27 06:22:52 IST; 28s ago
 Main PID: 6863 (vsftpd)
    Tasks: 1 (limit: 10509)
   Memory: 648.0K
   CGroup: /system.slice/vsftpd.service
           └─6863 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

Nov 27 06:22:52 linuxhelp systemd[1]: Starting Vsftpd ftp daemon...
Nov 27 06:22:52 linuxhelp systemd[1]: Started Vsftpd ftp daemon.
**Step 6 : Create user for ftp by using the below command** ``` [root@linuxhelp ~]# useradd ftpuser ``` **Step 7 : Set password for the ftpuser by using the below command** ``` [root@linuxhelp ~]# passwd ftpuser Changing password for user ftpuser. New password: BAD PASSWORD: The password is shorter than 8 characters Retype new password: passwd: all authentication tokens updated successfully ```

Step 8 : Add the ftpuser into userlist file by using the below command

[root@linuxhelp ~]# vim /etc/vsftpd/user_list

# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
ftpuser

step 9 : Edit the configuration file ensure the followings lines are uncomment by using the below command

[root@linuxhelp ~]# vim /etc/vsftpd/vsftpd.conf 
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=NO
listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO

step 10 : Restart the vsftpd service by using the below command

 [root@linuxhelp ~]# systemctl restart vsftpd

Step 11 : create some files in ftpuser home directory by using the below command

 [root@linuxhelp ~]# touch /home/ftpuser/abc{1..10}

Step 12 : check whether the client package is installed by using the below command

[root@client ~]# rpm -q ftp
package ftp is not installed

step 13 : Install the ftp package by using the below command

 [root@client ~]# yum install ftp
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package ftp.x86_64 0:0.17-67.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
Installing:
 ftp                         x86_64                         0.17-67.el7                            ol7_latest                          60 k
Install  1 Package
Total download size: 60 k
  Verifying  : ftp-0.17-67.el7.x86_64                                                                                                   1/1 
Installed:
  ftp.x86_64 0:0.17-67.el7                                                                                                                  
Complete!

Step 14 : Connect to the ftp server by using the below command

[linux@client ~]$ ftp 192.168.6.132
Connected to 192.168.6.132 (192.168.6.132).
220 (vsFTPd 3.0.3)
Name (192.168.6.132:linux): ftpuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

Step 15 : List the content by using the below command

ftp> ls
227 Entering Passive Mode (192,168,6,132,246,40).
150 Here comes the directory listing.
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc1
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc10
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc2
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc3
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc4
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc5
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc6
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc7
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc8
-rw-r--r--    1 0        0               0 Nov 27 01:15 abc9
226 Directory send OK.

Step 16: Download the contents by using the below command

ftp> get abc1
local: abc1 remote: abc1
227 Entering Passive Mode (192,168,6,132,22,142).
150 Opening BINARY mode data connection for abc1 (0 bytes).
226 Transfer complete.

Step 17 : Check the downloads by using the below command

ftp> !ls
abc1  Desktop  Documents  Downloads  Music  Pictures  Public  Templates  test.txt  Videos

step 18 : Exit from the ftp

ftp> exit
221 Goodbye

By this Installation and configuration of vsftpd server on oracle Linux has come to an end.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What FTP stands for?

A

FTP stands for file transfer protocol.

Q

What is the port used by FTP?

A

port 21 is used by default.

Q

Is it possible to access the FTP as an Anonymous user?

A

Yes, if it is enabled we can login.

Q

What is SFTP stands for?

A

SFTP stands for ssh file transfer protocol.

Q

Is FTP use userdatagram protocol ?

A

No, its run under TCP protocol.

Related Tutorials in How to install FTP server on oracle Linux

Related Tutorials in How to install FTP server on oracle Linux

How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to install, configure and access FTP server via filezilla in Centos
How to install, configure and access FTP server via filezilla in Centos
Jul 14, 2016
How to Install FileZilla in Debian
How to Install FileZilla in Debian
Nov 29, 2016
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to use Aureport command on Linux
How to use Aureport command on Linux
Nov 28, 2017
How to install Development tools on Linux
How to install Development tools on Linux
Jun 12, 2018
How to Install mod_ssl and SSL certificate on Oracle Linux
How to Install mod_ssl and SSL certificate on Oracle Linux
Dec 30, 2021

Related Forums in How to install FTP server on oracle Linux

Related Forums in How to install FTP server on oracle Linux

Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018

Related News in How to install FTP server on oracle Linux

Related News in How to install FTP server on oracle Linux

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.