Тёмный

How to Set Up Nextcloud on Ubuntu 24.04 LTS 

Learn Linux TV
Подписаться 690 тыс.
Просмотров 47 тыс.
50% 1

Nextcloud is a powerful server application that enables you to take full control over your data, and roll out your very own cloud solution! In this video, Jay will go over the entire process of setting up Nextcloud.
🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT
Commemorate the largest outage in history with the latest addition to the LLTV merch shop.
Get yours here ➜ learnlinux.link/crash-shirt
🎓 BRAND NEW UDEMY COURSES AVAILABLE!
Check out my new courses on Udemy and learn something new!
• Getting Started with Ansible ➜ learnlinux.link/ansible
• LPI Linux Essentials Complete Workshop ➜ learnlinux.link/linux-essentials
🐧 SUPPORT LINUX LEARNING!
• Grab some Linux swag ➜ merch.learnlinux.tv
• Become a Channel Member ➜ learnlinux.link/member
• Become a Patron ➜ learnlinux.link/patron
• 5% discount on LPI exam vouchers ➜ learnlinux.link/lpi-voucher
• Check out my latest book ➜ ubuntuserverbook.com
• Grab an awesome Pi-powered KVM ➜ learnlinux.link/tinypilot
• Jay's Gear - Server, Computer and Video Production Stuff ➜ learnlinux.link/amazon
Note: Royalties and/or commission is earned from each of the above links
⏰ TIME CODES
00:00 - Intro
01:56 - What You'll Need to Get started
04:49 - Downloading Nextcloud via wget
05:28 - Creating a non-root user
06:38 - Configuring the host name
07:37 - Installing updates via apt
08:49 - Downloading the Nextcloud zip file
09:36 - Setting up our MariaDB Database
15:08 - Installing Apache and PHP
18:26 - Installing Nextcloud's files
21:29 - Setting up Apache
23:49 - Setting Up PHP
27:09 - Enabling required Apache modules
28:12 - Setting up a Let's Encrypt certificate via certbot
30:50 - Navigating the Nextcloud Setup Wizard
32:05 - Resolving Nextcloud Warnings & Errors
Official Blog Post
Check out the following article for all the commands and configuration that were used in this video. ➜ learnlinux.link/nextcloud*🎓 FULL LINUX COURSES FROM LEARN LINUX TV*
• Linux Crash Course ➜ linux.video/cc
• Learn tmux ➜ linux.video/tmux
• Learn vim ➜ linux.video/vim
• Bash Scripting Series ➜ linux.video/bash
• Proxmox VE ➜ linux.video/pve
• Getting Started with Ansible (Udemy) ➜ learnlinux.link/ansible
• LPI Linux Essentials Workshop (Udemy) ➜ learnlinux.link/linux-essentials
🌐 LEARN LINUX TV ON THE WEB
• Main site ➜ www.learnlinux.tv
• Community ➜ community.learnlinux.tv
• Official Github Account ➜ github.com/LearnLinuxTV
• Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ thehomelab.show
• Jay on Udemy ➜ www.udemy.com/user/jay-lacroix-3
• Jay on Twitter ➜ x.com/JayTheLinuxGuy
• Content Ethics ➜ www.learnlinux.tv/content-ethics
• Request Assistance ➜ www.learnlinux.tv/request-ass...
⚠️ DISCLAIMER
Learn Linux TV provides 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. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.
#Nextcloud #DevOps #Linux

Наука

Опубликовано:

 

7 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@xenobis81
@xenobis81 Месяц назад
I cannot thank you enough for this fantastic tutorial. I now have NextCloud running on my own hardware at home and it's sensational.
@roadkill11000
@roadkill11000 2 месяца назад
Great tutorial. I used CasaOS and installed NextCloud as a container from their "app store" then access it from outside the network via Tailscale. It was a lot easier and within my scope plus no domain name needed. Without a guide like yours I would be completely lost trying to install NC as a standalone. I always learn something new from your videos, thanks!
@minstrel.design
@minstrel.design 2 месяца назад
I've been looking for a simple solution to this very issue - how on earth do I access Nextcloud from outside my home network. And since there are tons of different guides and whatnot, I quickly got confused. If you happen to know the answer to this question, I'd be very grateful. So, in the Nextcloud there's an app called Talk. What should I do to simply create a Talk room, set it so only guests with a link I give them can enter, then simply get the link to that room and send it to my friends? Thanks in advance!
@spcenc1102
@spcenc1102 2 месяца назад
Great channel, bought merchandise too. Setup is manageable. It's keeping all the updates correctly, and backups and restoring that is the challenge
@jasonvanwyngaard4387
@jasonvanwyngaard4387 24 дня назад
I've used many of your tutorials to prepare for this installation, you are the master. Thank you.
@jhPampoo
@jhPampoo 14 дней назад
Another tutorial about setting up nextcloud with cloudflared tunnel would be awesome sir
@Kanalabonnierer
@Kanalabonnierer Месяц назад
Thank you for your great work. I learned so much about Linux.
@replicant9611
@replicant9611 2 месяца назад
This is great tutorial, Jay. If you don't mind, I would like to request another chapter. Can you make a tutorial on how to automate this process with Ansible and/or Terraform? So that you can build immutable artefact and deploy it to the cloud provider?
@mahmoudchairi3776
@mahmoudchairi3776 Месяц назад
This tutorial is amazing ! Thanks !
@orodimusprime
@orodimusprime Месяц назад
I always use your tutorials when installing nextcloud! also always wondered why nextcloud comes installed with errors out of the box
@DiegoGZorrilla
@DiegoGZorrilla 17 дней назад
Amazing tutorial, works great. Thank you
@jim7smith
@jim7smith Месяц назад
Thanks, Jay Well Done
@weholmes5315
@weholmes5315 2 месяца назад
Perfect timing! Setting up Nextcloud is my fun project for this weekend (after backing up my NAS). Let's gooooo😅
@TagliatelleGrande
@TagliatelleGrande 2 месяца назад
An excellent tutorial, as usual! I rarely find tutorials on YT as detailed and well explained. Curious what you recommend for background jobs. I changed the owner of config.php to root like you did, but learned that the cron jobs must be executed by the same user that owns config.php. Is it safe to run cron.php as root if you need cron jobs for a larger instance, or is it better to keep config.php owned by www-data in that case? Thanks for everything!!
@chad2304
@chad2304 8 дней назад
Thanks for the video. I actually am learning a lot by following along with this. Learning the long way is the best way. I found the blog post but I think the link may need to be fixed fyi
@raul230285
@raul230285 2 месяца назад
Amazing 🎉
@d3stinYwOw
@d3stinYwOw 2 месяца назад
When we're on Ubuntu spree, refreshed MAAS setup would be awesome! Plus, would be great to show alternative to manual setup - using snap package. I use it personally at home and works great. It automatically sets up Nextcloud, MySQL, Redis etc.
@RafaelSchaffer7
@RafaelSchaffer7 Месяц назад
snap package works perfectly, until you try to change some basic stuff, like the data directory location. Then it's a complete nightmare...
@d3stinYwOw
@d3stinYwOw Месяц назад
@@RafaelSchaffer7 You mean $HOME/snap? You can symlink and hide it if necessary, isn't too bothering for me.
@danielstellmon5330
@danielstellmon5330 Месяц назад
Are there any major differences between running bare metal vs docker?
@thomas8954
@thomas8954 3 дня назад
thanks a lot, great job , great tutorial.never found better in the internet !!
@JPrez-io6qj
@JPrez-io6qj 9 дней назад
Thank you for putting this together. Any plans to have a video that also includes nginx with nextcloud and large file support in the pipeline?
@lambscaped
@lambscaped 2 месяца назад
Thankyou so much for your content, and as everybody is saying nice thumbnail, just to add it would be great if you can show how to riddle out of the cronjob error, is something that has keep me away of my nextcloud installation.
@logananderon9693
@logananderon9693 Месяц назад
Good intro!
@bruno-zl9qn
@bruno-zl9qn Месяц назад
Excellent video. It's not so often that I can follow a tutorial to install a piece of software, and exactly replicate on my machine. NOTE: ignore from 33:21 to 33:45 ('chown' command missing, but fixed right after). NOTE2: at 41:20, the occ command will fail (it does not show in the video). But the fix is right after.
@ts.432
@ts.432 2 месяца назад
What would be the advantages of using NextCloud or CasaOS over a NAS server. I have OMV running, and I am pretty satisfied with that. However, when i was looking for an open source NAS, I stumbled upon these Cloud systems and became rather curious.
@davidbotescu2815
@davidbotescu2815 2 месяца назад
Hey, it would be great if you could do another tour of your office and show us what you use on a daily basis.
@fbifido2
@fbifido2 2 месяца назад
at the end did you undo the: 1. occ executable 2. unmod the apcu.ini file
@devsiwon
@devsiwon Месяц назад
Thank you so much for this, nextcloud install through truenas scale is such a pain to setup dns/vpn...
@mattiaippolito1625
@mattiaippolito1625 2 месяца назад
I’d love to use Nextcloud but every time I try to use this software it’s always a mess. It’s too difficult to install and very difficult to maintain for a home user. Not to talk about keeping it updated. And if something stop working there is no way to fix it unless you are a NASA software engineer
@maginos1310
@maginos1310 Месяц назад
Maybe you want to have a look at the All-in-One Docker, which is much easier to set up and maintain.
@mattiaippolito1625
@mattiaippolito1625 Месяц назад
@@maginos1310 I spun up one container once to test it…. First I did not understand how to map to my NAS for the storage part and second after some time and some upgrades it just broke up and never started again and I could not fix it… I can’t put all of my data on that kind of risk. I’m not saying Nextcloud is a bad product… it’s just me….its too much above my knowledge….
@leito1996
@leito1996 28 дней назад
On Ubuntu nextcloud snap is dead simple. I prefer all in one for configurability though
@conniemarcus3389
@conniemarcus3389 5 дней назад
Im my opinion it is a learning curve. Most important is (if you keep relevant data on NC) to have a proper backup from the beginning. Then you can try to repair things and use the backup in case it goes sideways. …but I have to admit, it is a pain in the butt sometimes, when things do not work after an update …and this just happens too often.
@amartinezforero
@amartinezforero 16 дней назад
Hello, thank you fot the tutorial. is great, easy to follow. In my case i want to install this at home, i already have one installation with public ip at my office and so far all is good, even i have collabora running for about 3 years, nissues at all. But in home y have dynamic ip and i cannot get to open port 80 or 443 due to restrictions of my ISP, i have access to my modem but when trying to obtain the certbot i got an error due to connection because the 443 port is bloked for the ISP is there other way to have a secure certificate other than 80 port or 443, how can i configure certbot to find another port? Thank you for the time to read this.
@user-tc4xy6jl7o
@user-tc4xy6jl7o 13 дней назад
Maybe try using a different port for your web traffic coming in.
@prymus1005
@prymus1005 2 месяца назад
Do you know when I install ubuntu 24.04LTS why it has out of the box snad and snap store update error in the app center?
@nik10gaming23
@nik10gaming23 3 дня назад
I haven't watched it, but can someone tell me if there is step of port forwarding? does not seem to be in chapters
@sg96951
@sg96951 2 месяца назад
Nice tutorial. Why not using nginx instead of apache?
@mikebolton2388
@mikebolton2388 3 дня назад
hey man, i used your tutorial for 22.04 but it worked on 24.04. only thing i cannot figure out is how to do mp4 preview generation. i enabled preview gen on app store and tried to use the ./occ command from github but it doesnt work. maybe you can make a video on that?
@aktifkopyalamamerkezi3495
@aktifkopyalamamerkezi3495 Месяц назад
Hello, Could you please make a system installation video integrated with cloudflare zero tunnel on Ubuntu for a machine in our home?
@MisbahulIhsan
@MisbahulIhsan 2 месяца назад
Yea🎉
@fbifido2
@fbifido2 2 месяца назад
can you show how to protect your server using UFW, and still allow user access?
@rahneshin752
@rahneshin752 2 месяца назад
❤❤❤
@LeeRaymondCM
@LeeRaymondCM 28 дней назад
Thanks for the video. It is great. I know some Linux but not enough to be sufficient. But I think I can follow steps listed in the blog. Having said that, I have also encountered some other RU-vidr (e.g., Gary Explains) using snap as the package installation tool. And all he did, was just snapd nextcloud and the next thing he did, was pointing a web browser to the ip address of the machine and there NextCloud is already running and one can start configuring it or simply start using it. My guess is that all of those mariadb, apache2 etc. were installed as dependencies behind the scene. My question to you is, what are the downside of doing that, instead of like going through dozens of commands you demo'ed? Esp. in the context of setting this up in a home machine without exposing to the internet? Thanks a lot!
@user-tc4xy6jl7o
@user-tc4xy6jl7o 13 дней назад
Snap installations have been known to not be as robust. But plenty of people use it, so each the own.
@BerkayYetgin
@BerkayYetgin 2 месяца назад
Shoud we disable root user after creating new admin account?
@foggoblin323
@foggoblin323 Месяц назад
My server went down after a power outage. What command do I use to start nextcloud again after login?
@orcamay
@orcamay Месяц назад
will this work on debian 12
@fbifido2
@fbifido2 2 месяца назад
@15:41 - does next cloud also works with nginx webserver?
@jasonmehlhoff8877
@jasonmehlhoff8877 2 месяца назад
I use it with NPM.
@Felix-ve9hs
@Felix-ve9hs 2 месяца назад
Yes, Nextcloud does work with Nginx, but it isn't officially supported.
@goodday-fo7mf
@goodday-fo7mf 2 месяца назад
Nice tutorial. But you can save a ton of time writing "sudo snap install nextcloud" to the Ubuntu server terminal and you have basically the same in a few minutes. And not only that, you probably don't need to solve dependencies after some time, just set it and forget it...
@aberriz
@aberriz 2 месяца назад
Funny. I had just finished doing your previous version of this tutorial a couple of weeks ago. Now I am getting not having the latest everything anxiety /D
@zyghom
@zyghom 2 месяца назад
I wanted to abandon google calendar and use on my android phones, macs, iphones and windows machines nextcloud calendar. But I was not able to find proper integration of such calendar into phones/computers. So for me nextcloud is not a remedy for all. But I was able to abandon google drive, onedrive etc.
@Atheawesome45
@Atheawesome45 2 месяца назад
33:43 did that command even run? I think you got an error
@freckhard
@freckhard 2 месяца назад
no it did not run, jay forgot "chown", so what he wanted was sudo chown root:www-data and then the filepath, I am impressed that he missed that! 🙂 edit: ah I see, a few seconds later he shows the correct command, must've been an edit misshap!
@NandorSolymosi
@NandorSolymosi 2 месяца назад
Debian 12 + RustDesk + Tailscale + Paperless-ngx + Immich + Jellyfin is enough for me ... 🙂
@robertopontone
@robertopontone 2 месяца назад
why not using the snap installation fo NC?
@GourmetSaint
@GourmetSaint 2 месяца назад
I’ve been using a snap installation of NC for years. Works wonderfully.
@Lexsoufz
@Lexsoufz Месяц назад
Hi, new to Linux, what is different between snaps and flatpacks ?
@GourmetSaint
@GourmetSaint Месяц назад
​@Lexsoufz Snap is a proprietary container, developed by Canonical and flatpak is open source. I don't believe Nextcloud is available as a flatpak, where as, it's an available option when you install Ubuntu server.
@nageswaraopatha5445
@nageswaraopatha5445 26 дней назад
😂😂😂bro, you are doing yoga in sky 🤯🤣🤣🤣
@summercicada8141
@summercicada8141 2 месяца назад
My concern is why NextCloud has such a nasty after-installation warnings inside the administrator settings? Cannot the team do something about it? Everytime I see this, it makes me prefer rather other open source other than NextCloud.
@dingokidneys
@dingokidneys 2 месяца назад
They look to me to be relevant to more professional level, multi-user installations rather than a home lab type install.
@SifatUllah-12
@SifatUllah-12 2 месяца назад
Came for epic thumbnail. Stayed for great tutorial.
@Snatch_184
@Snatch_184 2 месяца назад
What if i don't have a domain and I do not want to expose nextcloud to the internet?
@tdevosodense
@tdevosodense 2 месяца назад
🤔🤔 why not just use snap packages ? I installed nextcloud last week using that
@LearnLinuxTV
@LearnLinuxTV 2 месяца назад
It’s better to do it manually, otherwise you won’t learn anything. Plus, this way you have full control over each and every component.
@pablogonzalez2009
@pablogonzalez2009 Месяц назад
link doesn't work
@kkoppa
@kkoppa Месяц назад
Whats 127.0.1.1?
@littlepeon
@littlepeon 20 дней назад
That is your localhost address. It is "home" for your system.
@RazoBeckett.
@RazoBeckett. 2 месяца назад
God thumbnail 🤣
@shellcatt
@shellcatt 2 месяца назад
Great late night sleep material. Next time you could try and create a 90 min video for native installation of something that's usually up & running with Docker in under 3 min.
@SiBex_ovh
@SiBex_ovh 2 месяца назад
Why on logo of video you have ooo -> Out Of Office ? xD #Joke
@AlexCernat
@AlexCernat Месяц назад
chown php files as www-data is a no brainer, it's web security 101 negated 😞
@ibrahsanz
@ibrahsanz 2 месяца назад
nah im paying for onedrive
@LearnLinuxTV
@LearnLinuxTV 2 месяца назад
I can understand going another direction. But why watch a Nextcloud video if that’s not what you’re into?
@ask_carbon
@ask_carbon 2 месяца назад
NextCloud is slow and bloated with unnecessary functions.
@freckhard
@freckhard 2 месяца назад
I take that any day over your or my government sifting through my dropbox lol
@ask_carbon
@ask_carbon 2 месяца назад
​@@freckhard Lmao I never posed Dropbox as an alternative. Just that among the FOSS projects NextCloud is bloated with unnecessary features trying in to compete with Office 365/Gcloud suite. There a re 10 different foss projects which do all the stuff NextCloud does much better.
@UnwalledGarden
@UnwalledGarden Месяц назад
@@ask_carbonsuch as?
@diggajupadhyay
@diggajupadhyay 2 месяца назад
I swear people will make Thumbnail anything just to make it unique
@lawman2112
@lawman2112 2 месяца назад
Error: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.7-2ubuntu2_amd64.deb (--unpack): new mariadb-server package pre-installation script subprocess returned error exit status 1 new mariadb-server package pre-installation script subprocess returned error exit status 1
Далее
60 Linux Commands you NEED to know (in 10 minutes)
10:50
Я НЕ ОЖИДАЛ ЭТОГО!!! #Shorts #Глент
00:19
Essential First Steps for Every New Linux Server Build
20:39
ownCloud Vs Nextcloud
12:23
Просмотров 202 тыс.
The Linux Tier List
27:34
Просмотров 1 млн
Proxmox Automation with Proxmox Helper Scripts!
24:15
5 reasons EVERYONE needs a home server
12:05
Просмотров 397 тыс.
10 Common Linux Issues and How to Fix Them
23:45
Просмотров 77 тыс.
A SERIOUS Home Server That's Affordable
18:59
Просмотров 139 тыс.
Cool Gaming PC Build! #shorts
1:00
Просмотров 4,6 млн