Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Windows Linux - Install ► «««« 03 / 03 »»»»

How can I install an FTP server on Linux?


Installing an FTP server on a Linux system depends on the distribution you are using and the preferred FTP server for Ubuntu/Debian, Fedora/CentOS/RHEL, etc.



Here are the steps to install the popular FTP server  vsftpd  (Very Secure FTP Daemon) on various distributions:

1. Installing FTP Server on Ubuntu/Debian-based distributions!
2. Installing FTP Server on Fedora/CentOS/RHEL-based distributions!
3. Installing FTP Server on openSUSE-based distributions!
4. Verifying FTP Server Installation on Linux!




1.) Install FTP server on Ubuntu/Debian-based distributions!



1. Update system:

sudo aptupdate

2. Install vsftpd:

sudo apt install vsftpd

3. Start vsftpd service:

sudo systemctl start vsftpd

4. Enable vsftpd service to start automatically when the system boots:

sudo systemctl enable vsftpd

5. Edit vsftpd configuration file:

sudo nano / etc / vsftpd . conf

6. Basic configuration (in the file "/etc/vsftpd.conf" ):

- Allow local users to log in:
local_enable = YES
- Enable file uploads:
write_enable = YES

7. Restart vsftpd service to apply the changes:

sudo systemctl restart vsftpd

8. Configure firewall (if active) to allow FTP connections:

sudo ufw allow 20/ tcp
sudo ufw allow 21/ tcp
sudo ufw reload

2.) Install FTP server on Fedora/CentOS/RHEL-based distributions!



1. Update system:

sudo dnf update # For Fedora
sudo yum update # For CentOS / RHEL

2. Install vsftpd:

sudo dnf install vsftpd # For Fedora
sudo yum install vsftpd # For CentOS / RHEL

3. Start vsftpd service:

sudo systemctl start vsftpd

4. Enable vsftpd service to start automatically when the system boots:

sudo systemctl enable vsftpd

5. Edit vsftpd configuration file:

sudo nano / etc / vsftpd / vsftpd . conf

6. Basic configuration (in the file "/etc/vsftpd/vsftpd.conf" ):

- Allow local users to log in:
local_enable = YES
- Enable file uploads:
write_enable = YES

7. Restart vsftpd service to apply the changes:

sudo systemctl restart vsftpd

8. Configure firewall (if active) to allow FTP connections:

sudo firewall-cmd --zone = public --add-port = 20/ tcp --permanent
sudo firewall-cmd --zone = public --add-port = 21/ tcp --permanent
sudo firewall-cmd --reload

3.) Install FTP server on openSUSE-based distributions!



1. Update system:

sudo zypper update

2. Install vsftpd:

sudo zypper install vsftpd

3. Start vsftpd service:

sudo systemctl start vsftpd

4. Enable vsftpd service to start automatically when the system boots:

sudo systemctl enable vsftpd

5. Edit vsftpd configuration file:

sudo nano / etc / vsftpd . conf

6. Basic configuration (in the file "/etc/vsftpd.conf" ):

- Allow local users to log in:
local_enable = YES
- Enable file uploads:
write_enable = YES

7. Restart vsftpd service to apply the changes:

sudo systemctl restart vsftpd

8. Configure firewall (if active) to allow FTP connections:

sudo firewall-cmd --zone = public --add-port = 20/ tcp --permanent
sudo firewall-cmd --zone = public --add-port = 21/ tcp --permanent
sudo firewall-cmd --reload

4.) Verifying the FTP server installation on Linux!



To check if the FTP server is working correctly, you can use an FTP client like "ftp" , "lftp" or "FileZilla" to connect to the server.

Example with "ftp" :
ftp localhost

You should be prompted to enter your username and password. If the connection is successful, you have set up your FTP server correctly.

These steps should help you install and configure an FTP server on your Linux system.



Updated on: 12 July 2024 20:37 Windows
Keywords: install, linux, server, installing, system, depends, distribution, using, preferred, ubuntu, debian, fedora, centos, rhel


Similar information on the page

Windows

... How can I install Perl on my Linux server?


Installing Perl on a Linux server is relatively easy and depends on the distribution you are using. Here are the instructions for some common distributions:
Windows

... Windows 11 MS Terminal APP desktop shortcut


Here is a quick solution how to create a desktop shortcut for the MS Terminal under Windows 11, 10, and MS Server OS Content: 1. Microsoft.WindowsTerminal
Windows

... Wi-Fi and Wireless display on Windows 11?


The wireless display function under Windows 11 is very convenient and easy to make a presentation on the big TV screen in the living room or in the office
Windows

... Easy Share the folder with everyone on Windows 11?


The easy file sharing in Windows 11 can be deactivated and activated quite easily via the corresponding folder or drive options Content: 1. Share Folder,
Windows

... Clean up TEMP quickly on Windows 11


Its easy to quickly clean up temporary files and temporary folders on Windows 11 or with one button klick 1. Deleting the temporary files via the
Windows

... Multiple windows with multiple monitors behave on Windows 11


The new function to easily influence the behavior of the window with multiple monitors on Windows 11 is practical and can also be adapted Everyone probably
Windows

... Is the new Windows 11 really installed?


It is quite easy to see whether the new Windows 11 has really been installed on your computer Content: 1. Is the new Windows 11 installed? 2.



▲ Back to the top ▲




Beginner # Hardware # Install # Security # Update #




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + QuickTextPaste
  + DesktopNoteOK
  + ShortDoorNote
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg ERR2: softwareok.de • softwareok.com • softwareok.com • softwareok.eu
59.53 msec.


>> ☕ Buy SoftwareOK a Coffee ☕ <<



► Restart the MS Explorer in Windows 8.1 / 10 / 11 (Reset, Filemanager)! ◄
► Portable use of Don't Sleep on Windows 10 / 11 and protected folder problem! ◄
► Is there a recycle bin for the Windows 10 / 11 Desktop (show, hide)? ◄
► Start or Run Google chrome in the Metro Mode in Windows 8.1! ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....