From 589cdd13bd69ee92208a9a165132faf740339980 Mon Sep 17 00:00:00 2001 From: diamondop1234 Date: Thu, 29 Jul 2021 08:46:10 +0200 Subject: added peertube guide --- pix/peertube-icon.svg | 118 +++++++++++++++++++++++++++++++++++++++++++++++++ pix/peertube-login.jpg | Bin 0 -> 76446 bytes pix/peertube.svg | 83 ++++++++++++++++++++++++++++++++++ 3 files changed, 201 insertions(+) create mode 100644 pix/peertube-icon.svg create mode 100644 pix/peertube-login.jpg create mode 100644 pix/peertube.svg (limited to 'pix') diff --git a/pix/peertube-icon.svg b/pix/peertube-icon.svg new file mode 100644 index 0000000..38992a5 --- /dev/null +++ b/pix/peertube-icon.svg @@ -0,0 +1,118 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/pix/peertube-login.jpg b/pix/peertube-login.jpg new file mode 100644 index 0000000..d191cc4 Binary files /dev/null and b/pix/peertube-login.jpg differ diff --git a/pix/peertube.svg b/pix/peertube.svg new file mode 100644 index 0000000..2696fe0 --- /dev/null +++ b/pix/peertube.svg @@ -0,0 +1,83 @@ + + + + + + image/svg+xml + + Peertube_V3_logo Copy + + + + + + PeerTube logo + + + + + + + + + -- cgit v1.2.3 From 2850cb7954833f2c6eb1febeaa91a4026ad09b3d Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 29 Jul 2021 10:43:31 -0400 Subject: peertube tweaks --- index.html | 2 +- peertube.html | 34 ++++++++---- pix/peertube-icon.svg | 118 ---------------------------------------- pix/peertube.svg | 147 +++++++++++++++++++++++++++++++------------------- 4 files changed, 116 insertions(+), 185 deletions(-) delete mode 100644 pix/peertube-icon.svg (limited to 'pix') diff --git a/index.html b/index.html index 8441d6c..5f1f203 100644 --- a/index.html +++ b/index.html @@ -64,6 +64,7 @@
  • Host your own git repositories
  • Private and Encrypted Chat with xmpp logoXMPP
  • Pleroma, a federated Twitter-like Microblogging Site
  • +
  • peertube logoPeerTube, a federated YouTube-like video Site
  • Setting up a Nextcloud Instance (file hosting and more)
  • Setting up Gitea
  • Creating your own chat server with IRC
  • @@ -112,7 +113,6 @@
  • Email webclients
  • Simple static site generators
  • Calibre (library server)
  • -
  • PeerTube (like YouTube)
  • XMPP ejabberd
  • Movim for XMPP
  • diff --git a/peertube.html b/peertube.html index ad00d65..e38a2ba 100644 --- a/peertube.html +++ b/peertube.html @@ -15,15 +15,15 @@ PeerTube logo -

    PeerTube is a self-hosted and (optionally) federated video sharing platform that saves bandwith on videos the more people watch. - PeerTube instances can follow each other to share videos and grow the federated network, +

    PeerTube is a self-hosted and (optionally) federated video sharing platform that saves bandwith on videos the more people watch. + PeerTube instances can follow each other to share videos and grow the federated network, but you can always keep your instance to yourself if you choose to.

    Prerequisites

    Most of PeerTube's dependencies can be installed with this command:

    -
    apt install curl sudo unzip vim ffmpeg postgresql postgresql-contrib g++ make redis-server git python-dev cron wget
    +
    apt install -y curl sudo unzip vim ffmpeg postgresql postgresql-contrib g++ make redis-server git python-dev cron wget

    It's also important to start all associated daemons:

    @@ -32,7 +32,7 @@

    PeerTube also requires NodeJS 14 and yarn which cannot be installed from the Debian repositories. This means they have to be installed from separate, external repos:

    curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
    -apt-get install -y nodejs
    +apt install -y nodejs
     npm install --global yarn

    In addition to these dependencies, it's recommended to create a dedicated PeerTube user to install and manage PeerTube.

    @@ -40,7 +40,7 @@ npm install --global yarn
    useradd -m -d /var/www/peertube -s /bin/bash -p peertube peertube

    Database

    - +

    PeerTube requires a PostgreSQL database to function. To create it, first make a new Postgres user named PeerTube:

    su postgres
    @@ -128,8 +128,8 @@ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-loc
     
     	
    cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube
    -

    Because the PeerTube config is so long, it's recommended to use sed to modify the contents of the file, - replacing ${WEBSERVER_HOST} with your hostname, +

    Because the PeerTube config is so long, it's recommended to use sed to modify the contents of the file, + replacing ${WEBSERVER_HOST} with your hostname, and $(PEERTUBE_HOST) with your localhost and port, which by default should be 127.0.0.1:9000:

    sed -i 's/${WEBSERVER_HOST}/example.org/g' /etc/nginx/sites-available/peertube
    @@ -163,8 +163,8 @@ systemctl daemon-reload

    Using PeerTube

    To set a password for your admin user, run:

    - -
    cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root
    + +
    cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root

    Login to your PeerTube instance using the admin email specified in your production.yaml file and the admin password you just set.

    @@ -173,7 +173,21 @@ systemctl daemon-reload

    Once logged in, it's recommended to create a separate user without admin privileges for uploading videos to PeerTube. This can be done easily from the users tab in the administration section:

    -

    Enjoy your PeerTube instance!

    +

    Enjoy your PeerTube instance!

    + +
    + +

    Updating PeerTube

    + +

    PeerTube is constantly adding new features, so it's a good idea to check for new updates and add them if you wish. Just in the past year, they have added livestreaming and more.

    + +

    Updating is fairly easy now since an upgrade.sh script has been added. Just run:

    + +
    cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh
    + +

    + Although check the changelog to see if there are additional manual requirements for particular updates. +


    Written by Denshi. Donate Monero here [QR]

    diff --git a/pix/peertube-icon.svg b/pix/peertube-icon.svg deleted file mode 100644 index 38992a5..0000000 --- a/pix/peertube-icon.svg +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/pix/peertube.svg b/pix/peertube.svg index 2696fe0..38992a5 100644 --- a/pix/peertube.svg +++ b/pix/peertube.svg @@ -7,77 +7,112 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - inkscape:version="1.0 (4035a4fb49, 2020-05-01)" - sodipodi:docname="brand.svg" - id="svg895" + viewBox="2799 -911 16 22" version="1.1" - viewBox="0 0 456 100" - height="100" - width="456"> + id="svg13" + sodipodi:docname="logo.svg" + width="16" + height="22" + inkscape:version="0.92.2 5c3e80d, 2017-08-06"> + id="metadata17"> image/svg+xml - Peertube_V3_logo Copy + - - PeerTube logo + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1916" + inkscape:window-height="1040" + id="namedview15" + showgrid="false" + inkscape:zoom="29.790476" + inkscape:cx="-1.1827326" + inkscape:cy="12.088" + inkscape:window-x="0" + inkscape:window-y="18" + inkscape:window-maximized="0" + inkscape:current-layer="svg13" /> + + + + id="Artboard_1" + data-name="Artboard – 1" + class="cls-1" + transform="translate(0.03356777,-1.9929667)"> - - - - + id="Symbol_3_1" + data-name="Symbol 3 – 1" + transform="translate(2759,-975)"> + + + + + + -- cgit v1.2.3