blog.radwebhosting.com
<figure aria-describedby="caption-attachment-18597" class="wp-caption aligncenter" id="attachment_18597" style="width: 1024px"><picture><source data-srcset="https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1.png.webp 1024w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-300x150.png.webp 300w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-768x384.png.webp 768w" sizes="(max-width: 1024px) 100vw, 1024px" type="image/webp"><img alt="How to install peertube on ubuntu vps" class="img-responsive wp-image-18597 size-full lazyload" data-eio="p" data-eio-rheight="512" data-eio-rwidth="1024" data-sizes="auto" data-src="https://blog-radwebhosting.b-cdn.net/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1.png" data-srcset="https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1.png 1024w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-300x150.png 300w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-768x384.png 768w" decoding="async" height="512" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAIAAQAAAAA0tiMUAAAAAnRSTlMAAHaTzTgAAABWSURBVHja7cEBAQAAAIIg/69uSEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7wYCDwABsKkODAAAAABJRU5ErkJggg==" title="How To Install Peertube On Ubuntu Vps" width="1024"/></source></picture><noscript><img alt="How to install peertube on ubuntu vps" class="img-responsive wp-image-18597 size-full" data-eio="l" data-speedycache-original-sizes="(max-width: 1024px) 100vw, 1024px" data-speedycache-original-src="https://blog-radwebhosting.b-cdn.net/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1.png" data-speedycache-original-srcset="https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1.png 1024w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-300x150.png 300w, https://blog.radwebhosting.com/wp-content/uploads/2025/02/how-to-install-peertube-on-ubuntu-vps-1024x512-1-768x384.png 768w" decoding="async" height="512" onload="speedycachell.r(this,true);" src="https://blog-radwebhosting.b-cdn.net/wp-content/plugins/speedycache-pro/assets/images/image-palceholder.png" title="How To Install Peertube On Ubuntu Vps" width="1024"/></noscript><figcaption class="wp-caption-text" id="caption-attachment-18597">Learn how to quickly install peertube-the open-source video streaming platform-on your ubuntu vps server!</figcaption></figure>
<p>This article provides an in-depth guide demonstrating how to install PeerTube on Ubuntu VPS.</p>
<div class="ez-toc-v2_0_72 ez-toc-wrap-left-text counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction" id="ez-toc-container">
<div class="ez-toc-title-container"> <p class="ez-toc-title" style="cursor:inherit">Table of Contents</p> <span class="ez-toc-title-toggle"><a aria-label="Toggle Table of Content" class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/"><span class="ez-toc-js-icon-con"><span><span class="eztoc-hide" style="display:none;">Toggle</span><span class="ez-toc-icon-toggle-span"><svg class="list-377408" fill="none" height="20px" style="fill: #999;color:#999" viewbox="0 0 24 24" width="20px" xmlns="http://www.w3.org/2000/svg"><path d="M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z" fill="currentColor"></path></svg><svg baseprofile="tiny" class="arrow-unsorted-368013" height="10px" style="fill: #999;color:#999" version="1.2" viewbox="0 0 24 24" width="10px" xmlns="http://www.w3.org/2000/svg"><path d="M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z"></path></svg></span></span></span></a></span></div><nav><ul class="ez-toc-list ez-toc-list-level-1"><ul class="ez-toc-list-level-3"><li class="ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-1" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#What_is_PeerTube" title="What is PeerTube?">What is PeerTube?</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-2" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Prerequisites" title="Prerequisites">Prerequisites</a><ul class="ez-toc-list-level-4"><li class="ez-toc-heading-level-4"><a class="ez-toc-link ez-toc-heading-3" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#System_Requirements" title="System Requirements">System Requirements</a></li><li class="ez-toc-page-1 ez-toc-heading-level-4"><a class="ez-toc-link ez-toc-heading-4" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Server_Preparation" title="Server Preparation">Server Preparation</a></li></ul></li></ul><li class="ez-toc-page-1 ez-toc-heading-level-2"><a class="ez-toc-link ez-toc-heading-5" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#How_to_Install_PeerTube_on_Ubuntu_VPS" title="How to Install PeerTube on Ubuntu VPS">How to Install PeerTube on Ubuntu VPS</a><ul class="ez-toc-list-level-3"><li class="ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-6" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Set_Up_a_PostgreSQL_Database" title="Set Up a PostgreSQL Database">Set Up a PostgreSQL Database</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-7" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Install_Redis" title="Install Redis">Install Redis</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-8" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Install_Nodejs" title="Install Node.js">Install Node.js</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-9" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Install_Yarn" title="Install Yarn">Install Yarn</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-10" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Download_and_Configure_PeerTube" title="Download and Configure PeerTube">Download and Configure PeerTube</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-11" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Install_PeerTube_Dependencies" title="Install PeerTube Dependencies">Install PeerTube Dependencies</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-12" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Set_Up_Systemd_Service" title="Set Up Systemd Service">Set Up Systemd Service</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-13" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Install_and_Configure_Nginx" title="Install and Configure Nginx">Install and Configure Nginx</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-14" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Secure_with_Lets_Encrypt_SSL" title="Secure with Let’s Encrypt SSL">Secure with Let’s Encrypt SSL</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-15" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Finalize_Installation" title="Finalize Installation">Finalize Installation</a></li><li class="ez-toc-page-1 ez-toc-heading-level-3"><a class="ez-toc-link ez-toc-heading-16" href="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/#Conclusion" title="Conclusion">Conclusion</a></li></ul></li></ul></nav></div><h3><span class="ez-toc-section" id="What_is_PeerTube"></span>What is PeerTube?<span class="ez-toc-section-end"></span></h3>
<p><a href="https://joinpeertube.org/" rel="noopener nofollow" target="_blank" title="PeerTube">PeerTube</a> is a decentralized, federated video hosting platform powered by <a href="https://webtorrent.io/" rel="noopener nofollow" target="_blank" title="WebTorrent">WebTorrent</a> and <a href="https://activitypub.rocks/" rel="noopener nofollow" target="_blank" title="ActivityPub">ActivityPub</a>. It enables users to self-host video services and interact with other PeerTube instances. This guide will walk you through the complete installation process for PeerTube on an <a href="https://radwebhosting.com/ubuntu-vps" rel="noopener" target="_blank" title="Ubuntu VPS Servers"><strong>Ubuntu VPS</strong></a>.</p>
<h3><span class="ez-toc-section" id="Prerequisites"></span><strong>Prerequisites</strong><span class="ez-toc-section-end"></span></h3>
<p>Before we discuss how to install PeerTube on Ubuntu VPS, ensure you have the following:</p>
<ol>
<li>
<h4><span class="ez-toc-section" id="System_Requirements"></span><strong>System Requirements</strong><span class="ez-toc-section-end"></span></h4>
<ul>
<li>A <strong>Ubuntu VPS (<a href="https://blog.radwebhosting.com/ubuntu-20-04-lts-focal-fossa-available-kvm-vps/" rel="noopener" target="_blank" title="Ubuntu 20.04 LTS (Focal Fossa) Now Available for KVM VPS">20.04</a> or <a href="https://blog.radwebhosting.com/ubuntu-22-04-lts-jammy-jellyfish-template-added-for-kvm-vps-servers/" rel="noopener" target="_blank" title="Ubuntu 22.04 LTS (Jammy Jellyfish) Template Added for KVM VPS Servers">22.04</a> recommended)</strong></li>
<li>At least <strong>2 CPU cores</strong>, <strong>4 GB RAM</strong>, and <strong>40 GB of storage</strong> (or more depending on your expected traffic and video storage needs)</li>
<li>A <strong>domain name</strong> (e.g., <code>yourdomain.com</code>) with proper DNS records (<a href="https://radwebhosting.com/client_area/cart.php?a=add&domain=register&sld=findacheapdomainname&tld=.com" rel="noopener" target="_blank" title="Register a Domain">Register a Domain</a>)</li>
<li>A <strong>non-root user with sudo privileges</strong></li>
</ul>
</li>
<li> <h4><span class="ez-toc-section" id="Server_Preparation"></span><strong>Server Preparation</strong><span class="ez-toc-section-end"></span></h4> <p>Ensure your system is up to date:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt update && sudo apt upgrade -y</pre> <p>Install necessary dependencies:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install -y curl wget gnupg2 unzip ffmpeg</pre></li>
</ol>
<p><a href="https://radwebhosting.com/ubuntu-vps?utm_source=blog&utm_medium=banner&utm_campaign=how_to_install_peertube_on_ubuntu_vps" rel="noopener" target="_blank"><picture><source data-srcset="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png.webp" type="image/webp"><img alt="Launch 100% ssd ubuntu vps from $2. 49/mo!" class="img-responsive aligncenter lazy lazyload" data-eio="p" data-eio-rheight="90" data-eio-rwidth="728" data-src="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png" decoding="async" height="90" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtgAAABaAQAAAACqTxxSAAAAAnRSTlMAAHaTzTgAAAAfSURBVGje7cGBAAAAAMOg+VNf4AhVAQAAAAAAAAB8AyBYAAHaCnCoAAAAAElFTkSuQmCC" title="Launch 100% Ssd Ubuntu Vps From $2.49/Mo" width="728"/></source></picture><noscript><img alt="Launch 100% ssd ubuntu vps from $2. 49/mo!" class="img-responsive aligncenter lazy" data-eio="l" data-speedycache-original-src="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png" decoding="async" height="90" onload="speedycachell.r(this,true);" src="https://blog-radwebhosting.b-cdn.net/wp-content/plugins/speedycache-pro/assets/images/image-palceholder.png" title="Launch 100% Ssd Ubuntu Vps From $2.49/Mo" width="728"/></noscript></a></p>
<h2><span class="ez-toc-section" id="How_to_Install_PeerTube_on_Ubuntu_VPS"></span>How to Install PeerTube on Ubuntu VPS<span class="ez-toc-section-end"></span></h2>
<p>To Install PeerTube on Ubuntu VPS, follow the steps provided:</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li> <h3><span class="ez-toc-section" id="Set_Up_a_PostgreSQL_Database"></span><strong>Set Up a PostgreSQL Database</strong><span class="ez-toc-section-end"></span></h3> <p>PeerTube requires PostgreSQL as its database. Install it along with the required extensions:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install -y postgresql postgresql-contrib</pre> <p>Switch to the PostgreSQL user:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo -i -u postgres</pre> <p>Create the PeerTube database and user:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">CREATE DATABASE peertube; CREATE USER peertube WITH ENCRYPTED PASSWORD 'your_secure_password'; GRANT ALL PRIVILEGES ON DATABASE peertube TO peertube; \q</pre> <p>Exit PostgreSQL.</p></li>
<li> <h3><span class="ez-toc-section" id="Install_Redis"></span><strong>Install Redis</strong><span class="ez-toc-section-end"></span></h3> <p>Redis is used for caching:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install -y redis-server sudo systemctl enable redis sudo systemctl start redis</pre></li>
<li> <h3><span class="ez-toc-section" id="Install_Nodejs"></span><strong>Install Node.js</strong><span class="ez-toc-section-end"></span></h3> <p>PeerTube requires a specific version of Node.js. Install it using the <strong>Node Version Manager (nvm)</strong>:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash source ~/.bashrc nvm install 18 nvm use 18</pre> <p>Verify the installation:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">node -v</pre> <p>It should output <strong>v18.x.x</strong>.</p></li>
<li> <h3><span class="ez-toc-section" id="Install_Yarn"></span><strong>Install Yarn</strong><span class="ez-toc-section-end"></span></h3> <p>Yarn is needed for managing PeerTube dependencies:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">npm install -g yarn</pre></li>
<li>
<h3><span class="ez-toc-section" id="Download_and_Configure_PeerTube"></span><strong>Download and Configure PeerTube</strong><span class="ez-toc-section-end"></span></h3>
<p>Create a dedicated user for PeerTube:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo adduser --disabled-login --gecos "" peertube
</pre>
<p>Switch to the PeerTube user:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo su - peertube
</pre>
<p>Clone the latest stable PeerTube release:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">git clone -b v6.0.0 https://github.com/Chocobozzz/PeerTube.git peertube
cd peertube
</pre>
<p>Copy the sample configuration:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">cp config/production.yaml.example config/production.yaml
</pre>
<p>Edit the configuration:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">nano config/production.yaml
</pre>
<p>Modify the following fields:</p>
<ul>
<li><code>webserver.hostname</code>: Set this to your domain (<code>yourdomain.com</code>).</li>
<li><code>database</code>: Update credentials to match your PostgreSQL user.</li>
<li><code>redis</code>: Ensure Redis settings are correct.</li>
</ul>
<p>Save the file (<code>CTRL+X</code>, then <code>Y</code> and <code>Enter</code>).</p></li>
<li> <h3><span class="ez-toc-section" id="Install_PeerTube_Dependencies"></span><strong>Install PeerTube Dependencies</strong><span class="ez-toc-section-end"></span></h3> <pre class="EnlighterJSRAW" data-enlighter-language="shell">yarn install --production --pure-lockfile</pre> <p>Build the PeerTube client:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">NODE_ENV=production yarn build</pre> <p>Run database migrations:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">NODE_CONFIG_DIR=./config NODE_ENV=production npm run setup</pre></li>
<li> <h3><span class="ez-toc-section" id="Set_Up_Systemd_Service"></span><strong>Set Up Systemd Service</strong><span class="ez-toc-section-end"></span></h3> <p>Exit the PeerTube user session and create a systemd service:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo nano /etc/systemd/system/peertube.service</pre> <p>Paste the following configuration:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">[Unit] Description=PeerTube After=postgresql.service redis.service [Service] Type=simple User=peertube WorkingDirectory=/home/peertube/peertube ExecStart=/usr/bin/node ./dist/server Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=peertube [Install] WantedBy=multi-user.target</pre> <p>Save and exit.</p> <p>Reload systemd:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo systemctl daemon-reload sudo systemctl enable peertube sudo systemctl start peertube</pre> <p>Check the status:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo systemctl status peertube</pre> <p>If running correctly, you should see <strong>“active (running)”</strong>.</p></li>
<li> <h3><span class="ez-toc-section" id="Install_and_Configure_Nginx"></span><strong>Install and Configure Nginx</strong><span class="ez-toc-section-end"></span></h3> <p>Install Nginx:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install -y nginx</pre> <p>Create a new configuration file for PeerTube:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo nano /etc/nginx/sites-available/peertube</pre> <p>Paste the following:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">server { listen 80; server_name yourdomain.com; location / { proxy_pass http://127.0.0.1:9000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }</pre> <p>Save and exit.</p> <p>Enable the configuration:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo ln -s /etc/nginx/sites-available/peertube /etc/nginx/sites-enabled/ sudo nginx -t sudo systemctl restart nginx</pre></li>
<li> <h3><span class="ez-toc-section" id="Secure_with_Lets_Encrypt_SSL"></span><strong>Secure with Let’s Encrypt SSL</strong><span class="ez-toc-section-end"></span></h3> <p>Install Certbot:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install -y certbot python3-certbot-nginx</pre> <p>Obtain an SSL certificate:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo certbot --nginx -d yourdomain.com</pre> <p>Follow the prompts to complete the installation. To auto-renew SSL, set up a cron job:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo crontab -e</pre> <p>Add this line at the bottom:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">0 3 * * * certbot renew --quiet</pre> <p>This will renew SSL automatically.</p></li>
<li> <h3><span class="ez-toc-section" id="Finalize_Installation"></span><strong>Finalize Installation</strong><span class="ez-toc-section-end"></span></h3> <p>Restart PeerTube and Nginx:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo systemctl restart peertube sudo systemctl restart nginx</pre> <p>Access PeerTube via <code>https://yourdomain.com</code>.</p> <p>Create an admin account:</p> <pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo -u peertube NODE_CONFIG_DIR=/home/peertube/peertube/config NODE_ENV=production npm run reset-password -- -u root</pre> <p>Set your desired password.</p></li>
</ol>
</li>
</ol>
<p><a href="https://radwebhosting.com/ubuntu-vps?utm_source=blog&utm_medium=banner&utm_campaign=how_to_install_peertube_on_ubuntu_vps" rel="noopener" target="_blank"><picture><source data-srcset="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png.webp" type="image/webp"><img alt="Launch 100% ssd ubuntu vps from $2. 49/mo!" class="img-responsive aligncenter lazy lazyload" data-eio="p" data-eio-rheight="90" data-eio-rwidth="728" data-src="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png" decoding="async" height="90" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtgAAABaAQAAAACqTxxSAAAAAnRSTlMAAHaTzTgAAAAfSURBVGje7cGBAAAAAMOg+VNf4AhVAQAAAAAAAAB8AyBYAAHaCnCoAAAAAElFTkSuQmCC" title="Launch 100% Ssd Ubuntu Vps From $2.49/Mo" width="728"/></source></picture><noscript><img alt="Launch 100% ssd ubuntu vps from $2. 49/mo!" class="img-responsive aligncenter lazy" data-eio="l" data-speedycache-original-src="//blog.radwebhosting.com/wp-content/uploads/2025/01/2.png" decoding="async" height="90" onload="speedycachell.r(this,true);" src="https://blog-radwebhosting.b-cdn.net/wp-content/plugins/speedycache-pro/assets/images/image-palceholder.png" title="Launch 100% Ssd Ubuntu Vps From $2.49/Mo" width="728"/></noscript></a></p>
<h3><span class="ez-toc-section" id="Conclusion"></span><strong>Conclusion</strong><span class="ez-toc-section-end"></span></h3>
<p>You now know how to install PeerTube on Ubuntu VPS!</p>
<p>Now that you have successfully installed <strong>PeerTube</strong> on your Ubuntu VPS, you can customize your instance, add storage, and configure federation settings.🚀</p>
<div class="addtoany_share_save_container addtoany_content addtoany_content_bottom"><div class="addtoany_header">Share this:</div><div class="a2a_kit a2a_kit_size_32 addtoany_list" data-a2a-title="How to Install PeerTube on Ubuntu VPS" data-a2a-url="https://blog.radwebhosting.com/how-to-install-peertube-on-ubuntu-vps/"><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Facebook"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Twitter"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Pinterest"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="LinkedIn"></a><a class="a2a_button_tumblr" href="https://www.addtoany.com/add_to/tumblr?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Tumblr"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Reddit"></a><a class="a2a_button_blogger" href="https://www.addtoany.com/add_to/blogger?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Blogger"></a><a class="a2a_button_buffer" href="https://www.addtoany.com/add_to/buffer?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Buffer"></a><a class="a2a_button_facebook_messenger" href="https://www.addtoany.com/add_to/facebook_messenger?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Messenger"></a><a class="a2a_button_mastodon" href="https://www.addtoany.com/add_to/mastodon?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Mastodon"></a><a class="a2a_button_bluesky" href="https://www.addtoany.com/add_to/bluesky?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Bluesky"></a><a class="a2a_button_hacker_news" href="https://www.addtoany.com/add_to/hacker_news?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Hacker News"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Telegram"></a><a class="a2a_button_slashdot" href="https://www.addtoany.com/add_to/slashdot?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Slashdot"></a><a class="a2a_button_x" href="https://www.addtoany.com/add_to/x?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="X"></a><a class="a2a_button_threads" href="https://www.addtoany.com/add_to/threads?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Threads"></a><a class="a2a_button_google_translate" href="https://www.addtoany.com/add_to/google_translate?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Google Translate"></a><a class="a2a_button_copy_link" href="https://www.addtoany.com/add_to/copy_link?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Copy Link"></a><a class="a2a_button_wordpress" href="https://www.addtoany.com/add_to/wordpress?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="WordPress"></a><a class="a2a_button_twiddla" href="https://www.addtoany.com/add_to/twiddla?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Twiddla"></a><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="WhatsApp"></a><a class="a2a_button_google_gmail" href="https://www.addtoany.com/add_to/google_gmail?linkurl=https%3A%2F%2Fblog.radwebhosting.com%2Fhow-to-install-peertube-on-ubuntu-vps%2F&linkname=How%20to%20Install%20PeerTube%20on%20Ubuntu%20VPS" rel="nofollow noopener" target="_blank" title="Gmail"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share"></a></div></div><div style="clear:both; margin-top:1em; margin-bottom:1em;"><a class="s42e5ce5925f059d01981447301a7b52c" href="https://blog.radwebhosting.com/self-hosting-a-bluesky-personal-data-server-on-ubuntu-vps/" rel="dofollow" target="_blank"><div style="padding-left:1em; padding-right:1em;"><span class="ctaText">See also</span> <span class="postTitle">Self-Hosting a Bluesky Personal Data Server on Ubuntu VPS</span></div></a></div>