Build an Awesome Nextcloud Server (Updated for Ubuntu 22.04!)

preview_player
Показать описание
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.

*⏰ 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*

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ 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
Рекомендации по теме
Комментарии
Автор

HOLY COW YOU ROCK! Legit years and 10s of hours of researching this stuff on my own build and you put it all into one video! Keep up the great work! Im sending this to at least 5 others today!

FSULAUBACH
Автор

It worked. Not one single error by me. Thank you for the very calmness of your approach and the great blog post with the commands listed so well. There is the odd continuity error, but nothing you cannot work out if you are attentive. I am very chuffed with myself and with you. Thank you.

neiloconnell
Автор

I was thinking of installing Nextcloud on my XcpNg server, but didn't want to commit to installation research. Jay, thank you so much for hard work, you make it looks easy, but complete, to the point and w/o fluff; I greatly appreciate your hard work.
This is maybe too much to ask, but I believe that there are quite few people who are moving to Nexcloud. I would be awesome if you could provide us the continuous updates, i.e. how to update to latest, how to harden the server/database, etc. There are many videos on YouTube which walk you through how to process, but it seem like many of the content creators drop the ball a this point which leaves the followers with outdated product (just a thought).
Also; thank you very much for all of the Linux videos. Appreciate your hard work !!!

realzeti
Автор

I rarely comment on YouTube videos, but I can honestly say that THIS VIDEO is one of the easiest online tutorials I've been able to follow.

Thank you very much for taking the time out to compile this for us all, it's been most helpful!

Liked, subscribed, and will recommend to others I know that may need to a knowledgeable mind.

Thanks.

eliasbernard
Автор

By far the best comprehensive and professional and reliable instructions are have ever seen in youtube on nextcloud on Ubuntu.
Huge thanks out to you! You are a great instructor!!!!

ramkalaskar
Автор

Jay, thank you so much. I'm using Pop! OS and installed this last night without any issues. Terrific guide. Thank you for making it clear which steps were for cloud users (like Linode customers) and which were not (like me with a physical box). It went very well.

And, now, on to Floccus. :-)

desertdwarf
Автор

Excellent video making the setup of Nextcloud fairly straight forward. Nextcloud have released a major new version since the video was made but that did not seem to have too much impact on the installation process. Thank you Jay

hibberdplace
Автор

I am so impressed with this video. I am "technical" but not a Linux/Ubuntu user. It took a little learning/patience, but your tutorial was first-rate. I have Nextcloud running and files are uploading. Thank you so much!

Joseph_Valenti
Автор

Logged in just to comment, Jay I've been using linux for a few years now, still a novice. But I've learned so much from this channel . The way you explain content without extra fluff, concise, and you dive just deep enough into related material to give clarity or understanding, but not so much that it becomes a tangent. Thank you so much!

whatdo
Автор

Have wanted to do this for some time, and had some false starts. Jay, yours is so well presented, so clear, friendly, useful. Success! Much thanks. Happily becoming a Patreon supporter, may up my contribution in thanks.

bobspaulding
Автор

Thank you so much for the effort you put into this video. Got my server setup in a virtualbox on my iMac. You really have a gift for teaching.

acageybeard
Автор

30:42 Yes, I'm one of those, I like seeing text scrolling by. It reminds me of pre-systemd days. When you started your system you saw exactly what was starting. I know it's not appreciated this day and age, but I loved it (and the multiple penguins for each core/thread).

chaslinux
Автор

Thank you very much for the update for this Nextcloud series. While this is a very good tutorial for people to setup a brand new Nextcloud, I would suggest you to make a short video to cover the Nextcloud issues that may be encountered during Ubuntu OS upgrade. A few of my OS upgrades went smoothly for Nextcloud, but most of them would require me to manually update a number of settings to get the Nextcloud service back after the OS updates, mostly involving the apache2 and php.

cloudlin
Автор

Jay. You're a swell fellow! I pre-ordered your book. I look forward to even more details on Ubuntu server. I use it a ton but I always learn new things from books.

notpublic
Автор

Great video as always! :) Just some additional thoughts for perhaps newer users;
9:20: Instead of "usermod -aG sudo jay", I think it's easier to remember "adduser jay sudo". It does the same thing.
22:49: Dependencies will never change in Ubuntu 22.04LTS. It's one of the good things about having an LTS that is supported for a long time. It will probably change between LTS releases though.
28:15: If you install locally, the fact that you're able to access it through the URL does not guarantee that it's remotely accessible. Check firewall/router settings if not.
30:40: If you wanted to read the explosion of text coming from unzip, you could pipe it to less; "unzip latest.zip | less".
37:00: These days, if you want to separate services into separate servers, but don't want an actual new server, you might want to learn about LXD. It will let you run Ubuntu as a _container_, which is pretty much the same as a virtual machine, but it's much more lightweight. So if you buy one cloud instance, for instance, you can still run multiple instances of Ubuntu on it.
42:32: I would not uncomment the defaults to be "explicit". It doesn't cause any problems as such, but if you ever want to compare your configuration against the default, you will get more noise than necessary.

Finally, if you're making this as a completely private service and don't want to make a domain or setup encryption, then you can easily make yourself a VPN and make the service only be available on that VPN, which will be encrypted. This is also very useful if you want to make a network of private services that are movable, since the IP on the VPN remains static.

jeschinstad
Автор

Thank you so much Jay for this amazing tutorial. I've setup the server the manual way too and I'm really happy to see professional people doing it the same way :)
Just one question. In on of the last sessions with Tom from Lawrence system you mentioned that you prefer to containerise everything if possible.
Is there any specific reason you didn't use the official docker image for this setup?

andypandy
Автор

Thank you for the guide, I did this on my Raspberry Pi 3B+ and it's working.

angelcagiza
Автор

Wow! Thanks for this video. I had tried about 4 times previously using various guides and methods (pre-built VMs, docker, Ubuntu snap etc.) and was never able to connect to Nextcloud from my browser, despite following the guides exactly. I'm currently syncing some files from my PC, so it's obviously working now. I did have to make a few changes however. I created a self-signed certificate as I am only using it locally and do not have a domain name, which all worked fine. When clearing the errors, the memcache solution did not work for me at all and I ended up having to follow a guide for installing Redis, which did remove the error from the list. You've definitely earnt a subscription. I can't wait to look at your other videos to see what else I can learn from you. Thanks again!

rikmoran
Автор

For whatever reason this took me about 10 attempts to get working (from start to finish). I guess a lot can go wrong in the process....meanwhile, I learned a lot and FINALLY have my very own cloud. It's amazing, so thank you.

mtscott
Автор

Hi Jay, I really like your Homelab videos and wanted to let you know that I followed your video and blog post to build my Nextcloud instance in a nice VM in my new Proxmox server. thanks for creating awesome Linux content!!

minimo-studio