Linux.com

Home Learn Linux Linux Answers Hardware what is the difference between ftp, nfs and http installation?
Answers
  • ftp is a protocol specialized in transfering files.)
    nfs is a protocol to access files in an other machine file system inside the network.
    http is more used to visualize the content of files.

    Answered by vashou
    5 years ago
    1 1
  • Do you mean Linux or application installation?

    All three protocols are about file download/sharing (especially FTP and NFS) although there are some differences:

    - HTTP is the protocol used by your web browser, and it's around you everywhere. This is the transport layer for the webpages you view and the files you download from different websites. Advantages: your firewall is most likely let's this kind of traffic flow without restrictions. Disadvantage: is slower by design, also needs reconnection whenever accessing a new file (stateless protocol)

    - FTP (File Transfer Protocol): offers a higher speed when downloading content, it does not need to reconnect for every file (it's a stateful protocol, it maintains the connection), however you may need special treatment in case of an enterprise firewall and you need an FTP capable client (today almost all webbrowsers and file browsers have this function).

    - NFS (Network File System): offers the highest throughput, but it's designed for local network usage (not for the Internet) and you can access it from Windows only by installing a special package (SFU). Similar in function to the windows file sharing (NetBIOS, SMB), but much better in speed.

    Answered by tamas
    5 years ago
    0 1
  • ftp, nfs and http refer to the place on a network where the files that will be installed are going to be called from and if they do exist, arrive from.

    If the installation method is http :
    The required files will be retrieved (Downloaded) From an http server first before they are installed.

    If the installation method is nfs :
    The required files will be retrieved (Copied) From an nfs share location first before they are installed.

    If the installation method is ftp :
    The required files will be retrieved (Downloaded) From an ftp server first before they are installed.

    Answered by Zanpaktou
    5 years ago
    1 0
  • These kind of installation at least requires you already know differences between these protocols. Tamas reply is the best one but to focus on your specific question I'd like to add these notes related to installation notes only:

    NFS - Use it in local environment when you've a local NFS server with installation files from your preferred distro. In this case you already have requested files in local and you just need to add another Linux machine to your environment. You've probably have a situation like this if you've a Linux farm and you just want to be quick when installing new machines

    HTTP - Typical network installation, you're installing a new Linux machine and you'd like to start with some sort of "network minimal installer iso", you just put an ISO like this and start with remote fetching files from external repository or mirrors (from Canonical, Debian, CentOS, ...). Easy and pretty straightforward, nice to have if you just want an up to date distro.

    FTP - Basically read Tamas info, from an installation point of view is basically the same. Reliable when dealing with big files due to its nature, FTP is born for transferring files.

    Answered by ben
    5 years ago
    0 0
  • [quote name="Pierre-Lucas"]ftp is a protocol specialized in transfering files.)
    nfs is a protocol to access files in an other machine file system inside the network.
    http is more used to visualize the content of files.[/quote]

    Way to keep it brief Pierre :) my only complaint with your response is the HTTP isn't too descriptive when it comes to installation. Yes, http is used for visualizing files, but for installation purposes, http allows more transparent passing of firewall rules, because http port is unblocked by default in most firewalls.

    Answered by jmichelsen
    5 years ago
    1 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Hardware

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board