Turn an Old Laptop into a Private Cloud Server Nextcloud + Remote Access Full Guide

Опубликовано: 09 Апрель 2026
на канале: Gadgets Pod
737
22

Turn your old laptop or desktop into a powerful private cloud server using Nextcloud and Ubuntu Server. In this step-by-step tutorial on GadgetsPod, we build a self-hosted cloud storage system that works like Google Drive or Dropbox — but completely under your control.

You’ll learn how to install Ubuntu Server, set up Nextcloud, configure networking, and enable secure remote access using Twingate, allowing you to access your files from anywhere without port forwarding.

Self-hosting solutions like Nextcloud allow you to store documents, photos, and files securely on your own hardware while syncing across devices, giving you complete control over your data and privacy.

By the end of this video, you'll have a fully functional home cloud server that you and your family can access securely from anywhere in the world.

🎬 What You’ll Learn in This Video
✔ Turn an old laptop into a home server
✔ Install Ubuntu Server
✔ Install and configure Nextcloud
✔ Access your cloud from browser and mobile
✔ Configure SSL (self-signed certificate)
✔ Secure remote access using Twingate
✔ Share cloud storage with family members
✔ Prevent laptop sleep when lid closes

Timestamps:

📺 Previous Video (Twingate Setup)
   • Access Your Home Network from Anywhere | T...  

🔗 Useful Links

Software Used
Ubuntu Server
https://ubuntu.com/download/server
Nextcloud
https://nextcloud.com
Twingate
https://www.twingate.com
Balena Etcher (Bootable USB Tool)
https://www.balena.io/etcher/
PuTTY (SSH Client)
https://www.putty.org/
Advanced IP Scanner
https://www.advanced-ip-scanner.com/

💻 Commands Used in This Video

Update system packages
sudo apt update && sudo apt upgrade -y

Find IP address
ip addr

Install Nextcloud
sudo snap install nextcloud

Verify installation
sudo snap changes nextcloud

Check Nextcloud services
sudo snap services nextcloud

Create admin account
sudo nextcloud.manual-install admin password

Check trusted domains
sudo nextcloud.occ config:system:get trusted_domains

Add server IP or domain to trusted domains
sudo nextcloud.occ config:system:set trusted_domains 1 --value=SERVER_IP

Enable HTTPS using self-signed certificate
sudo nextcloud.enable-https self-signed

Enable HTTPS using Let’s Encrypt (if you have a domain)
sudo nextcloud.enable-https lets-encrypt

Prevent Laptop Sleep When Lid is Closed
Edit lid close behavior
sudo nano /etc/systemd/logind.conf

Change
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

Restart service
sudo systemctl restart systemd-logind

📊 Twingate Connector Installation
Install Twingate Connector on Linux
curl -s https://binaries.twingate.com/connect... | sudo bash

👍 If You Found This Video Helpful
✔ Like the video
✔ Subscribe to GadgetsPod
✔ Share it with someone who wants their own cloud storage

⏱️ Timestamps:
00:00 Introduction – Turn an Old Laptop into a Cloud Server
00:38 What We Need? Project Requirements
02:26 Installing Ubuntu Server on the Laptop
02:47 Creating the Ubuntu Bootable USB
03:27 Connecting the Ubuntu Installation USB to the Laptop
03:40 Entering BIOS and Updating Boot Order
04:08 Booting the Laptop from USB
04:17 Starting the Ubuntu Server Installation
04:35 Ubuntu Installation Configuration Steps
07:14 First Login to Ubuntu Server
07:33 Finding the Server IP Address
08:29 Assigning IP Address Reservation on Router
08:43 Connecting to the Server using SSH
09:26 Updating System Packages
09:54 Installing Nextcloud on Ubuntu Server
12:17 Configuring SSL (Let's Encrypt or Self-Signed Certificate)
14:52 Accessing Nextcloud from the Browser – First Login to Your Private Cloud
15:46 Installing Nextcloud App on Desktop/Laptop & Uploading and Accessing Files
17:59 Installing Nextcloud App on Mobile Device & Uploading and Accessing Files
19:05 Installing the Twingate Connector – Making Storage Accessible from Anywhere
21:38 Adding Nextcloud Server as a Resource in Twingate
22:31 Connecting to Your Server Remotely – Using the Twingate Client (Mobile & PC)
23:54 Creating Groups and Users in Nextcloud
25:24 Inviting Family Members via Twingate – Securely Sharing Your Home Cloud
26:16 Prevent Laptop Sleep When Lid is Closed
26:50 Closing Comments

#Nextcloud
#HomeServer
#SelfHosted
#UbuntuServer
#PrivateCloud