PeerTube

From ArchWiki
Jump to navigation Jump to search

From Wikipedia:PeerTube:

PeerTube is a free and open-source, decentralized, federated video platform powered by ActivityPub and WebTorrent, that uses peer-to-peer technology to reduce load on individual servers when viewing videos.

Installation

Install the peertubeAUR package.

Setup

Follow the configuration steps of the production guide:

  1. Create a database and user in PostgreSQL.
  2. Edit the first section of the /etc/peertube/production.yaml
  3. If you want to edit the settings through the web UI, you must change the ownership of the config folder
    # chown -R peertube:peertube /etc/peertube
  4. (Optional) Configure and start a reverse proxy. PeerTube has official support for nginx, and the configuration file can be found at /usr/share/webapps/peertube/support/nginx/peertube.
  5. (Optional)

Finally, start the peertube service and point your browser to the URL from the configuration file (http://localhost:9000 by default without a reverse proxy).

Note: Once an address has been set in the configuration file, e.g. peertube.example.com, users can only login from that address, and not from other locations, such as localhost:9000.