Chapter 8. Networked file sharing: Building a Nextcloud file-sharing server

 

This chapter covers

  • Installing and managing software packages using snaps
  • Configuring Apache to manage multiple websites on a single server
  • Provisioning and administering an enterprise file-sharing site
  • Configuring Nextcloud to use cloud (AWS S3) storage

After your introduction to the LAMP web server and text-based content management collaboration in the previous chapter, I’m sure you started thinking about other ways you could use the technology stack. Perhaps your mind didn’t immediately turn to the problem of enterprise file sharing, but that’s not a bad place to go to learn more about the ways Linux provides web services.

The kind of file sharing I’m talking about has nothing to do with people illegally exchanging copyrighted movies and books. Nor am I referring to peer-to-peer sharing protocols like BitTorrent, even though they can be used for perfectly legitimate purposes. Rather, I’m talking about companies with large collections of documents and other media files that must be accessible, but also safely and securely maintained.

8.1. Enterprise file sharing and Nextcloud

8.2. Installing Nextcloud using snaps

8.3. Installing Nextcloud manually

8.4. Nextcloud administration

8.5. Using AWS S3 as the primary Nextcloud storage

Summary

Key terms

Security best practices

Command-line review

Test yourself