Build an Awesome Nextcloud Server (Updated for Ubuntu 22.04!)
Learn Linux TV
@learnlinuxtvAbout
Learn Linux TV is your ultimate resource for mastering Linux and open-source technology. From step-by-step Linux tutorials and distro reviews to server automation, cloud deployments, security, and DevOps workflows, this channel gives you the skills to thrive in today’s Linux Community. With over 20 years of Linux and System Administration experience, Jay (your host) shares practical insights to help you succeed with Linux — whether at home, in the data center, or in the cloud. Whether it’s Debian, Ubuntu, Fedora, Arch, or Proxmox, you’ll learn how to build, secure, and manage systems with confidence! • Linux made simple: tutorials, reviews, and sysadmin tips you can actually use. • Your go-to channel for Linux tutorials, distro reviews, and real-world sysadmin skills. • Where beginners become power users, and pros sharpen their Linux skills. Subscribe and join a community of hundreds of thousands of Linux enthusiasts who are learning, building, and growing with open source.
Latest Posts
Video Description
New: The LearnLinuxTV Nextcloud guide is now updated for Ubuntu 22.04 with this video! It's time to install Nextcloud! Nextcloud is the best platform for building your very own self-hosted collaboration platform, complete with features such as online document editing, file synchronization, calendar, contacts, and countless plugins. In this video, you'll be walked through the entire process, and by the end you'll have your very own Nextcloud server that's completely set up and ready for action by the end. *Support Learn Linux TV* Note: Commission may be earned for any and all links presented here. - Set up your own cloud server with Akamai Connected Cloud ➜ https://learnlinux.link/akamai - *Support Learn Linux TV* by becoming a channel member ➜ https://learnlinux.link/join - *Support Learn Linux TV* by becoming a Patron ➜ https://learnlinux.link/patron - Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon - Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot *🕐 Time Codes* 00:00 - Intro 01:36 - Creating an Ubuntu 22.04 instance on Linode (Linode is not required) 06:56 - Preliminary Ubuntu 22.04 tweaks before installing Nextcloud 07:39 - Creating a local Linux user to avoid using the root account 08:50 - Providing access to sudo for our local user 09:36 - Installing all available distribution updates prior to installing Nextcloud 10:59 - Setting the hostname or domain name for our Nextcloud server 16:07 - Finding the download URL for Nextcloud 18:13 - Installing MariaDB to serve as the database backend for our server 19:55 - Running the mysql_secure_installation script to increase security 22:09 - Setting up the Nextcloud Database 23:31 - Creating a database grant to allow access to the Nextcloud database 25:39 - Installing Apache for serving Nextcloud 28:44 - Enabling required Apache and PHP mods 29:26 - Installing the required files for Nextcloud 34:28 - Setting up Apache to host Nextcloud 37:54 - Configuring PHP to work with Nextcloud 44:17 - Running through the initial configuration screen for Nextcloud 48:46 - Setting up a Let's Encrypt certificate for Nextcloud (domain required) 54:06 - Misc Nextcloud tweaks *Video Specific Links* - Blog post for this video (contains the commands that were used) ➜ https://www.learnlinux.tv/?p=2122 - Nextcloud download page ➜ https://nextcloud.com/install/#instructions-server*🎓 Full Linux Courses* • Linux Crash Course ➜ https://linux.video/cc • Netdata ➜ https://linux.video/netdata • tmux ➜ https://linux.video/tmux • vim ➜ https://linux.video/vim • Bash Scripting ➜ https://linux.video/bash • Proxmox VE ➜ https://linux.video/pve • Ansible (Paid) ➜ https://learnlinux.link/ansible • LPI Linux Essentials (Paid) ➜ https://learnlinux.link/linux-essentials *🎓 More About Learn Linux TV* • Main site ➜ https://www.learnlinux.tv • Community Forums ➜ https://community.learnlinux.tv • Github Account ➜ https://github.com/LearnLinuxTV • Content Ethics ➜ https://www.learnlinux.tv/content-ethics • Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance *⚠️ Disclaimer* Learn Linux TV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. #Linux #Nextcloud #Ubuntu
Upgrade Your Everyday
AI-recommended products based on this video

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

Monster Wireless Earbuds Open Ear AC311, Bluetooth 5.4 Open Ear Headphones, Up to 30 Hours Playtimes Bluetooth Ear Earphones with Stereo Sound, Touch Control and IPX5 Waterproof Open Ear Buds

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

Monster Wireless Earbuds, Bluetooth 5.4 in Ear Stereo Headphones, Built-in Mic for Crystal Clear Call, 32H Playtime, Comfortable Fit, Fast Charging, Waterproof Earphones for Sports, Black

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

Monster Sleep Ear200, Wireless in-Ear Headphones, Bluetooth 6.0 Sleep Headphones, with ANC Active Noise Cancellation Designed for Side Sleepers, 30 Hours of bass Stereo Sound.

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

slopehill Multi Hair Stylers & Hair Straightener - 2 in 1 Wet to Dry Air Straightener and Hair Dryer Combo with High Speed Air + Rapid Heat-Up + Customizable Temperature(Pink)

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO




















