DITCH Microsoft/Google with NextCloud AIO! - Server Setup Guide
Read full transcript 16 segments
-
Hello everybody. This is Tekk. In this Hello everybody. This is Tekk. In this video, what we are going to be doing is video, what we are going to be doing is video, what we are going to be doing is setting up NexCloud and we're going to setting up NexCloud and we're going to setting up NexCloud and we're going to be doing this with Nexcloud all-in-one be doing this with Nexcloud all-in-one be doing this with Nexcloud all-in-one which this is a relatively new product. which this is a relatively new product. which this is a relatively new product. I believe it was announced with the uh I believe it was announced with the uh I believe it was announced with the uh Nexcloud hub 2 update which that alone Nexcloud hub 2 update which that alone Nexcloud hub 2 update which that alone introduced a whole bunch of really cool introduced a whole bunch of really cool introduced a whole bunch of really cool updates, features, improvements, just updates, features, improvements, just updates, features, improvements, just all around a fantastic release. Now, all around a fantastic release. Now, all around a fantastic release. Now, personally, I've set up NexCloud a personally, I've set up NexCloud a personally, I've set up NexCloud a number of ways. I've done the manual number of ways. I've done the manual number of ways. I've done the manual install where you set up your databases, install where you set up your databases, install where you set up your databases, the Apache server and everything like the Apache server and everything like the Apache server and everything like that yourself and I've used the snap that yourself and I've used the snap that yourself and I've used the snap package. Now, with using NexCloud package. Now, with using NexCloud package. Now, with using NexCloud all-in-one compared to the other all-in-one compared to the other all-in-one compared to the other installation methods, I found one, the installation methods, I found one, the installation methods, I found one, the performance is substantially better, performance is substantially better, performance is substantially better, especially on something like a Office especially on something like a Office especially on something like a Office server, whether if you're going to be server, whether if you're going to be server, whether if you're going to be using ExCloud Office or only Office. And using ExCloud Office or only Office. And using ExCloud Office or only Office. And in terms of compatibility, the NexCloud in terms of compatibility, the NexCloud in terms of compatibility, the NexCloud all-in-one through Docker seems to be a all-in-one through Docker seems to be a all-in-one through Docker seems to be a little bit better than the snap package little bit better than the snap package little bit better than the snap package because the snap package does have because the snap package does have because the snap package does have issues with some of the plugins that use issues with some of the plugins that use issues with some of the plugins that use uh for example FFmpeg. Now, what we're uh for example FFmpeg. Now, what we're uh for example FFmpeg. Now, what we're going to be doing in this video is going to be doing in this video is going to be doing in this video is setting it up on the node, the sponsor setting it up on the node, the sponsor setting it up on the node, the sponsor of today's video, but majority of the of today's video, but majority of the of today's video, but majority of the steps in this can be replicated on a steps in this can be replicated on a steps in this can be replicated on a home lab, Raspberry Pi, another cloud home lab, Raspberry Pi, another cloud home lab, Raspberry Pi, another cloud service provider, whatever it may be.
-
service provider, whatever it may be. service provider, whatever it may be. And I actually do have all the steps And I actually do have all the steps And I actually do have all the steps right here. So, if you go ahead and go right here. So, if you go ahead and go right here. So, if you go ahead and go down to the link in the description, you down to the link in the description, you down to the link in the description, you could go ahead and easily copy and paste could go ahead and easily copy and paste could go ahead and easily copy and paste all of these commands. So, with that for all of these commands. So, with that for all of these commands. So, with that for the node, if you use the link in the the node, if you use the link in the the node, if you use the link in the description, you get a $100 60-day description, you get a $100 60-day description, you get a $100 60-day credit. So, you could follow along with credit. So, you could follow along with credit. So, you could follow along with this right now if you would like to. But this right now if you would like to. But this right now if you would like to. But with that, what we're going to be doing with that, what we're going to be doing with that, what we're going to be doing is setting this up on a Ubuntu server. is setting this up on a Ubuntu server. is setting this up on a Ubuntu server. And we're just going to use the latest And we're just going to use the latest And we're just going to use the latest 22.4 LTS, which is a relatively new 22.4 LTS, which is a relatively new 22.4 LTS, which is a relatively new release. For region, I'm going to select release. For region, I'm going to select release. For region, I'm going to select what is closest to me, which that's this what is closest to me, which that's this what is closest to me, which that's this California server. For our size, I'm California server. For our size, I'm California server. For our size, I'm going to go with the Nanode 2 gig, which going to go with the Nanode 2 gig, which going to go with the Nanode 2 gig, which gives us two gigs of RAM and 50 gigs of gives us two gigs of RAM and 50 gigs of gives us two gigs of RAM and 50 gigs of storage, which I honestly recommend this storage, which I honestly recommend this storage, which I honestly recommend this two gig plan over the one gig. It will two gig plan over the one gig. It will two gig plan over the one gig. It will just run a little bit better. And for just run a little bit better. And for just run a little bit better. And for me, on my actual instance, I use on a me, on my actual instance, I use on a me, on my actual instance, I use on a daily basis. I'm using the dedicated 4 daily basis. I'm using the dedicated 4 daily basis. I'm using the dedicated 4 gig plan. So, from there, we could go gig plan. So, from there, we could go gig plan. So, from there, we could go scroll down. We could give it a label. scroll down. We could give it a label. scroll down. We could give it a label. I'm going to call this I'm going to call this I'm going to call this nextcloud.hopkkey.net. nextcloud.hopkkey.net. nextcloud.hopkkey.net. That's the uh domain name that I'm going That's the uh domain name that I'm going That's the uh domain name that I'm going to be installing this on. Give yourself to be installing this on. Give yourself to be installing this on. Give yourself a good root password. And if you do need a good root password. And if you do need a good root password. And if you do need to set up Ubuntu server on some local to set up Ubuntu server on some local to set up Ubuntu server on some local hardware, I do have a separate video hardware, I do have a separate video hardware, I do have a separate video going over the typical Ubuntu server going over the typical Ubuntu server going over the typical Ubuntu server installation. So with all that looks installation. So with all that looks installation. So with all that looks good, let's go ahead and create our good, let's go ahead and create our good, let's go ahead and create our Lenode. And now our Lenode is being Lenode. And now our Lenode is being Lenode. And now our Lenode is being created. It's provisioning. So I'm going created. It's provisioning. So I'm going created. It's provisioning. So I'm going to be doing this with a domain name. You to be doing this with a domain name. You to be doing this with a domain name. You don't have to do it with a domain name, don't have to do it with a domain name, don't have to do it with a domain name, but I want to be able to have an SSL but I want to be able to have an SSL but I want to be able to have an SSL certificate and all that. So if you're certificate and all that. So if you're certificate and all that. So if you're going to skip the domain name thing for going to skip the domain name thing for going to skip the domain name thing for now, that's completely fine. and I will now, that's completely fine. and I will now, that's completely fine. and I will have timestamps below so you can skip have timestamps below so you can skip have timestamps below so you can skip around to the sections of this video around to the sections of this video around to the sections of this video that you actually need. So with that in that you actually need. So with that in that you actually need. So with that in the node we have domains right here. I'm
-
the node we have domains right here. I'm the node we have domains right here. I'm going to open this up in a new tab and going to open this up in a new tab and going to open this up in a new tab and you can see the domains I already have you can see the domains I already have you can see the domains I already have set up. You can't purchase domains set up. You can't purchase domains set up. You can't purchase domains through the node but you could go to through the node but you could go to through the node but you could go to namecheep, GoDaddy, whatever it may be. namecheep, GoDaddy, whatever it may be. namecheep, GoDaddy, whatever it may be. buy your domain there and then link the buy your domain there and then link the buy your domain there and then link the name servers to the proper name servers name servers to the proper name servers name servers to the proper name servers for Lenode which I will have on the for Lenode which I will have on the for Lenode which I will have on the screen. Now below I will link to guides screen. Now below I will link to guides screen. Now below I will link to guides to help you set all this up properly. to help you set all this up properly. to help you set all this up properly. Once you do have your domain name in Once you do have your domain name in Once you do have your domain name in here, we're going to go over to it. So here, we're going to go over to it. So here, we're going to go over to it. So I'm going to click on hopky.net. These I'm going to click on hopky.net. These I'm going to click on hopky.net. These are those named servers. And what I'm are those named servers. And what I'm are those named servers. And what I'm going to want to do is add some A going to want to do is add some A going to want to do is add some A records. So I'm going to go back over to records. So I'm going to go back over to records. So I'm going to go back over to our NextCloud instance we just created. our NextCloud instance we just created. our NextCloud instance we just created. Copy that IP address. And then I'm going Copy that IP address. And then I'm going Copy that IP address. And then I'm going to add an A record. And this is going to to add an A record. And this is going to to add an A record. And this is going to be our subdomain. So this is going to be be our subdomain. So this is going to be be our subdomain. So this is going to be nextcloud.hopkkey.net. Paste in the IP address. Hit save. And Paste in the IP address. Hit save. And now this step's not completely now this step's not completely now this step's not completely necessary, but you can see here when it necessary, but you can see here when it necessary, but you can see here when it you use the Lenode API, it does the uh you use the Lenode API, it does the uh you use the Lenode API, it does the uh IPv6 stuff automatically for you. So we IPv6 stuff automatically for you. So we IPv6 stuff automatically for you. So we might as well set that up, too. So we're might as well set that up, too. So we're might as well set that up, too. So we're going to go over here again, type in going to go over here again, type in going to go over here again, type in NexCloud once again, and then I'm going NexCloud once again, and then I'm going NexCloud once again, and then I'm going to copy the IPv6 address and paste that to copy the IPv6 address and paste that to copy the IPv6 address and paste that in right there. Click save. So now we in right there. Click save. So now we in right there. Click save. So now we have our subdomain completely set up.
-
have our subdomain completely set up. have our subdomain completely set up. Now if you did just link your domain to Now if you did just link your domain to Now if you did just link your domain to Lenode, it might take anywhere from 30 Lenode, it might take anywhere from 30 Lenode, it might take anywhere from 30 minutes to a day to completely allow the minutes to a day to completely allow the minutes to a day to completely allow the DNS servers to propagate. So just keep DNS servers to propagate. So just keep DNS servers to propagate. So just keep note of that and later in this video I note of that and later in this video I note of that and later in this video I will show you how to check to see if will show you how to check to see if will show you how to check to see if that is ready. So over here on our that is ready. So over here on our that is ready. So over here on our Lenode dashboard, we can launch the Lis Lenode dashboard, we can launch the Lis Lenode dashboard, we can launch the Lis console to make sure that it's console to make sure that it's console to make sure that it's completely booted up. And right here you completely booted up. And right here you completely booted up. And right here you can see Ubuntu localhost. It's ready to can see Ubuntu localhost. It's ready to can see Ubuntu localhost. It's ready to go. So we can copy this SSH access for go. So we can copy this SSH access for go. So we can copy this SSH access for the root account. Open up our terminal. the root account. Open up our terminal. the root account. Open up our terminal. And from here we're going to go ahead And from here we're going to go ahead And from here we're going to go ahead and connect. So I'm make this a little and connect. So I'm make this a little and connect. So I'm make this a little bit bigger than that. Paste this in. Hit bit bigger than that. Paste this in. Hit bit bigger than that. Paste this in. Hit enter. This is our server so it's safe. enter. This is our server so it's safe. enter. This is our server so it's safe. I'm going to say yes. And then we're I'm going to say yes. And then we're I'm going to say yes. And then we're going to type in our password. And now going to type in our password. And now going to type in our password. And now before we actually set up Docker, the before we actually set up Docker, the before we actually set up Docker, the NexCloud instance and all that, there's NexCloud instance and all that, there's NexCloud instance and all that, there's some general server administrative stuff some general server administrative stuff some general server administrative stuff that we're going to want to do to make that we're going to want to do to make that we're going to want to do to make sure everything just works properly and sure everything just works properly and sure everything just works properly and is as secure as possible. So the first is as secure as possible. So the first is as secure as possible. So the first thing we're going to do is create a thing we're going to do is create a thing we're going to do is create a limited pseudo user. So to do this, we limited pseudo user. So to do this, we limited pseudo user. So to do this, we just want to type in add user and the just want to type in add user and the just want to type in add user and the username that you want to choose. For username that you want to choose. For username that you want to choose. For this instance, I'm going to go with this instance, I'm going to go with this instance, I'm going to go with Brandon. Hit enter. Here you're going to Brandon. Hit enter. Here you're going to Brandon. Hit enter. Here you're going to want to make sure give it a strong want to make sure give it a strong want to make sure give it a strong complicated and secure password. And now complicated and secure password. And now complicated and secure password. And now it's going to ask for some basic it's going to ask for some basic it's going to ask for some basic information about yourself. Uh if there information about yourself. Uh if there information about yourself. Uh if there you don't have other accounts or other you don't have other accounts or other you don't have other accounts or other people accessing the server. This really people accessing the server. This really people accessing the server. This really doesn't matter. So I'm going to go ahead doesn't matter. So I'm going to go ahead doesn't matter. So I'm going to go ahead and just hit enter to skip these for and just hit enter to skip these for and just hit enter to skip these for now. Hit enter to confirm that's now. Hit enter to confirm that's now. Hit enter to confirm that's correct. And now with that user created, correct. And now with that user created, correct. And now with that user created, what we're going to want to do is add
-
what we're going to want to do is add what we're going to want to do is add this user to the pseudo users. And to do this user to the pseudo users. And to do this user to the pseudo users. And to do this, we're just going to type in user this, we're just going to type in user this, we're just going to type in user mod- a for add to the group. And the mod- a for add to the group. And the mod- a for add to the group. And the group is going to be sudo. And the user group is going to be sudo. And the user group is going to be sudo. And the user is going to be my username of Brandon. is going to be my username of Brandon. is going to be my username of Brandon. So now with that added, what we could do So now with that added, what we could do So now with that added, what we could do is actually type an exit to exit out of is actually type an exit to exit out of is actually type an exit to exit out of that SSH instance. And now I'm going to that SSH instance. And now I'm going to that SSH instance. And now I'm going to go ahead and change this to the username go ahead and change this to the username go ahead and change this to the username I just created. Reconnect. Type in our I just created. Reconnect. Type in our I just created. Reconnect. Type in our password. And now you can see I am in password. And now you can see I am in password. And now you can see I am in this pseudo user. So now we can go ahead this pseudo user. So now we can go ahead this pseudo user. So now we can go ahead and update our server. Very important to and update our server. Very important to and update our server. Very important to make sure we have all the latest make sure we have all the latest make sure we have all the latest security pack patches. So pseudoapp security pack patches. So pseudoapp security pack patches. So pseudoapp update and we can do a pseudoapp update and we can do a pseudoapp update and we can do a pseudoapp upgrade. Type in your password. Make upgrade. Type in your password. Make upgrade. Type in your password. Make sure you typed in correct. All right. sure you typed in correct. All right. sure you typed in correct. All right. And we can see here there are some very And we can see here there are some very And we can see here there are some very important new packages that are going to important new packages that are going to important new packages that are going to be installed. And we can see that there be installed. And we can see that there be installed. And we can see that there are 11 standard security updates. So of are 11 standard security updates. So of are 11 standard security updates. So of course we're going to hit enter to course we're going to hit enter to course we're going to hit enter to confirm the installation of all these confirm the installation of all these confirm the installation of all these updates. Now, for this specific update, updates. Now, for this specific update, updates. Now, for this specific update, it looks like there is a new kernel it looks like there is a new kernel it looks like there is a new kernel available. We should consider rebooting.
-
available. We should consider rebooting. available. We should consider rebooting. We will be rebooting a little bit later. We will be rebooting a little bit later. We will be rebooting a little bit later. So, for now, we'll hit okay, tab, and So, for now, we'll hit okay, tab, and So, for now, we'll hit okay, tab, and okay. So, now what we're going to do is okay. So, now what we're going to do is okay. So, now what we're going to do is check our host name. Our host name right check our host name. Our host name right check our host name. Our host name right there is local host. We can already see there is local host. We can already see there is local host. We can already see it, but if you do want to check, you can it, but if you do want to check, you can it, but if you do want to check, you can just type in host name. And we're going just type in host name. And we're going just type in host name. And we're going to go ahead and edit that and change to go ahead and edit that and change to go ahead and edit that and change that to our domain name we're going to that to our domain name we're going to that to our domain name we're going to be using. So to do this, we're going to be using. So to do this, we're going to be using. So to do this, we're going to want to do pseudo nano-et want to do pseudo nano-et want to do pseudo nano-et and go into our host name file. Here you and go into our host name file. Here you and go into our host name file. Here you could see localhost. What we're going to could see localhost. What we're going to could see localhost. What we're going to want to do is change this simply to want to do is change this simply to want to do is change this simply to nexcloud.hopkkey.net or whatever domain name you are choosing or whatever domain name you are choosing to use. So control O to output that and to use. So control O to output that and to use. So control O to output that and exit. Now before I reset the service and exit. Now before I reset the service and exit. Now before I reset the service and restart our uh server, we're going to restart our uh server, we're going to restart our uh server, we're going to want to go ahead and change the time want to go ahead and change the time want to go ahead and change the time zone. So, type in time, date, ctl, hit zone. So, type in time, date, ctl, hit zone. So, type in time, date, ctl, hit enter to see if it's already set to the enter to see if it's already set to the enter to see if it's already set to the right time zone. And you can see right right time zone. And you can see right right time zone. And you can see right now I'm at UTC +0, which that is not now I'm at UTC +0, which that is not now I'm at UTC +0, which that is not correct for what I want. If you want to correct for what I want. If you want to correct for what I want. If you want to see a list of all the time zones, you see a list of all the time zones, you see a list of all the time zones, you could just type in uh time datel list- could just type in uh time datel list- could just type in uh time datel list- time zones, and then it will give you time zones, and then it will give you time zones, and then it will give you the full list. And if you hold down the full list. And if you hold down the full list. And if you hold down enter, you can kind of scroll through enter, you can kind of scroll through enter, you can kind of scroll through and find whatever it is that you're and find whatever it is that you're and find whatever it is that you're looking for, which for me, I'm going to looking for, which for me, I'm going to looking for, which for me, I'm going to want to change this to America, Los want to change this to America, Los want to change this to America, Los Angeles. Sorl C to get out of there and Angeles. Sorl C to get out of there and Angeles. Sorl C to get out of there and enter. So, we're going to want to go enter. So, we're going to want to go enter. So, we're going to want to go pseudo time date ctl set dash time zone pseudo time date ctl set dash time zone pseudo time date ctl set dash time zone America Angles. And another important America Angles. And another important America Angles. And another important note, if you're doing this on like a Len
-
note, if you're doing this on like a Len note, if you're doing this on like a Len node, make sure it's the same time zone node, make sure it's the same time zone node, make sure it's the same time zone with whatever server you selected. It's with whatever server you selected. It's with whatever server you selected. It's just best practiced. Hit enter. Okay, just best practiced. Hit enter. Okay, just best practiced. Hit enter. Okay, good to go. And now with all that, what good to go. And now with all that, what good to go. And now with all that, what we can do is a sudo reboot. This is we can do is a sudo reboot. This is we can do is a sudo reboot. This is going to disable our connection, reboot going to disable our connection, reboot going to disable our connection, reboot our server. So it should save all these our server. So it should save all these our server. So it should save all these changes. And while we wait for it to changes. And while we wait for it to changes. And while we wait for it to reboot, that's this is where we could reboot, that's this is where we could reboot, that's this is where we could actually check to see if our DNS has actually check to see if our DNS has actually check to see if our DNS has propagated and is set up correctly. So, propagated and is set up correctly. So, propagated and is set up correctly. So, we use the NS lookup command and we're we use the NS lookup command and we're we use the NS lookup command and we're going to do nextcloud.hopkkey.net. Hit enter. And you can see we have our Hit enter. And you can see we have our IP address right there. So, everything IP address right there. So, everything IP address right there. So, everything is set up if it doesn't work. For is set up if it doesn't work. For is set up if it doesn't work. For example, if I um messed up the IP example, if I um messed up the IP example, if I um messed up the IP address, it's going to say server can't address, it's going to say server can't address, it's going to say server can't find that specific domain name that I find that specific domain name that I find that specific domain name that I looked for. But since we got this answer looked for. But since we got this answer looked for. But since we got this answer back, uh we're good to go. Now, as far back, uh we're good to go. Now, as far back, uh we're good to go. Now, as far as rebooting our server, you can always as rebooting our server, you can always as rebooting our server, you can always go over to your NexCloud dashboard and go over to your NexCloud dashboard and go over to your NexCloud dashboard and launch the Lis console to see its launch the Lis console to see its launch the Lis console to see its progress on actually rebooting because progress on actually rebooting because progress on actually rebooting because this will show you the actual prompt and this will show you the actual prompt and this will show you the actual prompt and terminal before you have SSH access. So, terminal before you have SSH access. So, terminal before you have SSH access. So, there we go. Ubuntu 22.04. And you can there we go. Ubuntu 22.04. And you can there we go. Ubuntu 22.04. And you can see our new host name right there has see our new host name right there has see our new host name right there has saved properly. So, I'm going to close saved properly. So, I'm going to close saved properly. So, I'm going to close this out and relog into our SSH this out and relog into our SSH this out and relog into our SSH instance. But this time what we can do instance. But this time what we can do instance. But this time what we can do is just type in the domain name. So that is just type in the domain name. So that is just type in the domain name. So that will be nextcloud.hopkkey.net.
-
will be nextcloud.hopkkey.net. will be nextcloud.hopkkey.net. Hit enter. This is our server. So we can Hit enter. This is our server. So we can Hit enter. This is our server. So we can say yes. And then type in our password say yes. And then type in our password say yes. And then type in our password for the Brandon user or whatever user for the Brandon user or whatever user for the Brandon user or whatever user you went ahead and created. And now you you went ahead and created. And now you you went ahead and created. And now you can see here if I type in host name, we can see here if I type in host name, we can see here if I type in host name, we do have the proper host name. And then do have the proper host name. And then do have the proper host name. And then the at@ nextcloud is that shortened host the at@ nextcloud is that shortened host the at@ nextcloud is that shortened host name that we added to that hosts file. name that we added to that hosts file. name that we added to that hosts file. So now what we're going to do is disable So now what we're going to do is disable So now what we're going to do is disable logging into SSH via root. This is logging into SSH via root. This is logging into SSH via root. This is actually a little security tip I learned actually a little security tip I learned actually a little security tip I learned from Learn Linux TV. I do recommend you from Learn Linux TV. I do recommend you from Learn Linux TV. I do recommend you check out that channel and I'll be check out that channel and I'll be check out that channel and I'll be linking to one of his videos down below linking to one of his videos down below linking to one of his videos down below going over some of the things to better going over some of the things to better going over some of the things to better secure your servers. Highly recommend secure your servers. Highly recommend secure your servers. Highly recommend that, but this is one of them. So, we're that, but this is one of them. So, we're that, but this is one of them. So, we're going to do pseudo nano etc ssh and then going to do pseudo nano etc ssh and then going to do pseudo nano etc ssh and then the sshd_config the sshd_config the sshd_config file. Type in your password. Oh, screwed file. Type in your password. Oh, screwed file. Type in your password. Oh, screwed up. Make sure it's actually ssh. There up. Make sure it's actually ssh. There up. Make sure it's actually ssh. There we go. Okay. So, now what we're going to we go. Okay. So, now what we're going to we go. Okay. So, now what we're going to do is go ahead and scroll down until you do is go ahead and scroll down until you do is go ahead and scroll down until you see the P permit route lock in or log see the P permit route lock in or log see the P permit route lock in or log in. We're going to want to say no to in. We're going to want to say no to in. We're going to want to say no to that. Save it. Make sure you didn't skip that. Save it. Make sure you didn't skip that. Save it. Make sure you didn't skip the step where we created that uh the step where we created that uh the step where we created that uh limited pseudo user before you do this limited pseudo user before you do this limited pseudo user before you do this because you want to be able to log in.
-
because you want to be able to log in. because you want to be able to log in. So, control O to save. Crl X. And now So, control O to save. Crl X. And now So, control O to save. Crl X. And now what we need to do is restart that what we need to do is restart that what we need to do is restart that service. So, pseudo uh systemctl and service. So, pseudo uh systemctl and service. So, pseudo uh systemctl and we're going to restart sshd. we're going to restart sshd. we're going to restart sshd. Hit enter and we're good to go. We Hit enter and we're good to go. We Hit enter and we're good to go. We shouldn't be able to log in with the shouldn't be able to log in with the shouldn't be able to log in with the root now. So, that's helpful. And now root now. So, that's helpful. And now root now. So, that's helpful. And now what we're going to do is open up some what we're going to do is open up some what we're going to do is open up some ports. Now, I'm going to open up all the ports. Now, I'm going to open up all the ports. Now, I'm going to open up all the ports that NexCloud can use. You ports that NexCloud can use. You ports that NexCloud can use. You probably don't have to open up all of probably don't have to open up all of probably don't have to open up all of them if you're going to just use an IP them if you're going to just use an IP them if you're going to just use an IP address, for example. If you want to see address, for example. If you want to see address, for example. If you want to see more information specifically on all the more information specifically on all the more information specifically on all the ports and everything, it is on this ports and everything, it is on this ports and everything, it is on this GitHub page. But with that, first let's GitHub page. But with that, first let's GitHub page. But with that, first let's make sure our firewall is actually make sure our firewall is actually make sure our firewall is actually enabled. So it's pseudo UFW here on enabled. So it's pseudo UFW here on enabled. So it's pseudo UFW here on iuntu. If you chose a different iuntu. If you chose a different iuntu. If you chose a different distribution, this may be different. Go distribution, this may be different. Go distribution, this may be different. Go ahead and look up whatever um ahead and look up whatever um ahead and look up whatever um applications your DRO is using. So UFW applications your DRO is using. So UFW applications your DRO is using. So UFW enable just like that. It may disrupt enable just like that. It may disrupt enable just like that. It may disrupt SSH connections. It shouldn't. So we're SSH connections. It shouldn't. So we're SSH connections. It shouldn't. So we're going to say yes. And now it's active going to say yes. And now it's active going to say yes. And now it's active and enabled on startup. So now what and enabled on startup. So now what and enabled on startup. So now what we're going to do is UFW or pseudo UFW we're going to do is UFW or pseudo UFW we're going to do is UFW or pseudo UFW allow. and we're going to open up some allow. and we're going to open up some allow. and we're going to open up some of these ports. So, the first one is of these ports. So, the first one is of these ports. So, the first one is port 80. This is just your main port 80. This is just your main port 80. This is just your main nextcloud container. And we're going to nextcloud container. And we're going to nextcloud container. And we're going to open up the TCP port. And most of these open up the TCP port. And most of these open up the TCP port. And most of these are going to be TCP ports. So, hit are going to be TCP ports. So, hit are going to be TCP ports. So, hit enter. The rules have been added. And enter. The rules have been added. And enter. The rules have been added. And now what we're going to do is add the now what we're going to do is add the now what we're going to do is add the 443 port. And this is going to be the 443 port. And this is going to be the 443 port. And this is going to be the Apache container. So, hit enter. And now Apache container. So, hit enter. And now Apache container. So, hit enter. And now what we're going to do is the 8080 port.
-
what we're going to do is the 8080 port. what we're going to do is the 8080 port. And this one for sure needs to be opened And this one for sure needs to be opened And this one for sure needs to be opened if you're going to be doing this just if you're going to be doing this just if you're going to be doing this just with your IP address. Hit enter. And now with your IP address. Hit enter. And now with your IP address. Hit enter. And now what we're going to do is the 80 and 443 what we're going to do is the 80 and 443 what we're going to do is the 80 and 443 TCP port. And this one for sure needs to TCP port. And this one for sure needs to TCP port. And this one for sure needs to be opened if you're going to be doing be opened if you're going to be doing be opened if you're going to be doing this through a domain name and you want this through a domain name and you want this through a domain name and you want to generate an SSL certificate. So hit to generate an SSL certificate. So hit to generate an SSL certificate. So hit enter. And now what we're going to do is enter. And now what we're going to do is enter. And now what we're going to do is open up the proper ports for the open up the proper ports for the open up the proper ports for the NexCloud talk instance. And that is NexCloud talk instance. And that is NexCloud talk instance. And that is going to be 3 4 7 8. And we're not going going to be 3 4 7 8. And we're not going going to be 3 4 7 8. And we're not going to do TCP or anything because we're just to do TCP or anything because we're just to do TCP or anything because we're just going to open both of the ports or both going to open both of the ports or both going to open both of the ports or both of the connection types. So, at this of the connection types. So, at this of the connection types. So, at this point, we've done everything we need to point, we've done everything we need to point, we've done everything we need to do to set up our server to get ready for do to set up our server to get ready for do to set up our server to get ready for the installation. And now, it's time for the installation. And now, it's time for the installation. And now, it's time for the actual installation. This is very the actual installation. This is very the actual installation. This is very easy. We're just going to install Docker easy. We're just going to install Docker easy. We're just going to install Docker first. We're going to do this with the first. We're going to do this with the first. We're going to do this with the curl for the getdocker.com. curl for the getdocker.com. curl for the getdocker.com. Hit enter. And then this little script Hit enter. And then this little script Hit enter. And then this little script is going to run through everything that is going to run through everything that is going to run through everything that it needs to do to properly install it needs to do to properly install it needs to do to properly install Docker. And it's actually what's Docker. And it's actually what's Docker. And it's actually what's recommended over here on the uh recommended over here on the uh recommended over here on the uh NextCloud all-in-one GitHub page going NextCloud all-in-one GitHub page going NextCloud all-in-one GitHub page going forward. All the information that I'm forward. All the information that I'm forward. All the information that I'm going to talk about in this video is going to talk about in this video is going to talk about in this video is simply here. All right. So, we are now simply here. All right. So, we are now simply here. All right. So, we are now good to go. Docker is installed. So, to good to go. Docker is installed. So, to good to go. Docker is installed. So, to run this, what we're going to do is copy run this, what we're going to do is copy run this, what we're going to do is copy and paste this command right here.
-
and paste this command right here. and paste this command right here. Pseudo docker run. And this is going to Pseudo docker run. And this is going to Pseudo docker run. And this is going to be the next cloud all in one master be the next cloud all in one master be the next cloud all in one master container. Restart always. So, if you container. Restart always. So, if you container. Restart always. So, if you restart your server, it will start up restart your server, it will start up restart your server, it will start up nextcloud. Then we have our ports for nextcloud. Then we have our ports for nextcloud. Then we have our ports for 80880 and 8043. All the volumes. And 80880 and 8043. All the volumes. And 80880 and 8043. All the volumes. And this is going to be under the all-in-one this is going to be under the all-in-one this is going to be under the all-in-one latest. You could change latest if you'd latest. You could change latest if you'd latest. You could change latest if you'd like to, but this is what I would like to, but this is what I would like to, but this is what I would recommend you go with. Refer to that recommend you go with. Refer to that recommend you go with. Refer to that GitHub page for more information. Hit GitHub page for more information. Hit GitHub page for more information. Hit enter. And now it's going to go ahead enter. And now it's going to go ahead enter. And now it's going to go ahead and pull all the files it needs, extract and pull all the files it needs, extract and pull all the files it needs, extract them, and then boot up that Docker them, and then boot up that Docker them, and then boot up that Docker container or multiple containers. You'll container or multiple containers. You'll container or multiple containers. You'll see what I'm talking about. All right. see what I'm talking about. All right. see what I'm talking about. All right. So, there we go. This is what it's going So, there we go. This is what it's going So, there we go. This is what it's going to look like when the actual Docker to look like when the actual Docker to look like when the actual Docker container starting up. And then you'll container starting up. And then you'll container starting up. And then you'll see right here, initial startup and see right here, initial startup and see right here, initial startup and Xcode all one is complete. You can go Xcode all one is complete. You can go Xcode all one is complete. You can go either to the internal IP of this server either to the internal IP of this server either to the internal IP of this server at port 8080 or you could go to the at port 8080 or you could go to the at port 8080 or you could go to the domain that points to this server at domain that points to this server at domain that points to this server at port 8443. port 8443. port 8443. So depending on what you decided to do, So depending on what you decided to do, So depending on what you decided to do, you're going to want to pick one of you're going to want to pick one of you're going to want to pick one of these. For us, we picked nextcloud or these. For us, we picked nextcloud or these. For us, we picked nextcloud or nexcloud.hopky.net.
-
nexcloud.hopky.net. nexcloud.hopky.net. So we're going to head over to that at So we're going to head over to that at So we're going to head over to that at port 8443. port 8443. port 8443. If we scroll down here, we can kind of If we scroll down here, we can kind of If we scroll down here, we can kind of monitor to see what it's doing and if monitor to see what it's doing and if monitor to see what it's doing and if there's any errors or warnings, but there's any errors or warnings, but there's any errors or warnings, but based on everything we've set up thus based on everything we've set up thus based on everything we've set up thus far, there should not be. And again, if far, there should not be. And again, if far, there should not be. And again, if you want more details of what we're you want more details of what we're you want more details of what we're doing right now, you can find this right doing right now, you can find this right doing right now, you can find this right here. And if you're doing this on a here. And if you're doing this on a here. And if you're doing this on a Raspberry Pi, this is the uh Docker Raspberry Pi, this is the uh Docker Raspberry Pi, this is the uh Docker command that you're going to want to use command that you're going to want to use command that you're going to want to use or really any other ARM CPU. So, with or really any other ARM CPU. So, with or really any other ARM CPU. So, with that, I'm going to open up a new tab. Go that, I'm going to open up a new tab. Go that, I'm going to open up a new tab. Go to nexcloud.hopkkey.net to nexcloud.hopkkey.net to nexcloud.hopkkey.net net at port 8443. net at port 8443. net at port 8443. Hit enter. Oh, we're going to want to Hit enter. Oh, we're going to want to Hit enter. Oh, we're going to want to make sure we go to the https make sure we go to the https make sure we go to the https at that address. Hit enter. If we do at that address. Hit enter. If we do at that address. Hit enter. If we do look at the console over here, you can look at the console over here, you can look at the console over here, you can probably see it doing a lot of different probably see it doing a lot of different probably see it doing a lot of different stuff. But now, this is important. This stuff. But now, this is important. This stuff. But now, this is important. This is your password to log into your is your password to log into your is your password to log into your all-in-one instance. Give this a copy. all-in-one instance. Give this a copy. all-in-one instance. Give this a copy. Ctrl + C. For me, I'm actually going to Ctrl + C. For me, I'm actually going to Ctrl + C. For me, I'm actually going to go ahead and paste it into this notepad go ahead and paste it into this notepad go ahead and paste it into this notepad right here. Open up a new tab. Ctrl +V.
-
right here. Open up a new tab. Ctrl +V. right here. Open up a new tab. Ctrl +V. because I do not want to lose that. You because I do not want to lose that. You because I do not want to lose that. You can change this if you want to, but I can change this if you want to, but I can change this if you want to, but I generally just leave it what it gives generally just leave it what it gives generally just leave it what it gives me. You could save this as an encrypted me. You could save this as an encrypted me. You could save this as an encrypted file, print it, have a hard copy, file, print it, have a hard copy, file, print it, have a hard copy, whatever you need to do. So, with that whatever you need to do. So, with that whatever you need to do. So, with that copied, we're going to want to open the copied, we're going to want to open the copied, we're going to want to open the NexCloud all-in-one login. Paste in our NexCloud all-in-one login. Paste in our NexCloud all-in-one login. Paste in our password. Go to login, and then here is password. Go to login, and then here is password. Go to login, and then here is our setup dashboard. So, if you have our setup dashboard. So, if you have our setup dashboard. So, if you have have a backup, you could go ahead and have a backup, you could go ahead and have a backup, you could go ahead and import that here. This is our first time import that here. This is our first time import that here. This is our first time setting it up, so we do not. But what setting it up, so we do not. But what setting it up, so we do not. But what we're going to want to do simply is we're going to want to do simply is we're going to want to do simply is under the new all-in-one instance, we're under the new all-in-one instance, we're under the new all-in-one instance, we're going to want to type in our domain going to want to type in our domain going to want to type in our domain name. So for this, it was nexcloud name. So for this, it was nexcloud name. So for this, it was nexcloud hopkkey.net. hopkkey.net. hopkkey.net. And if you didn't open up your ports And if you didn't open up your ports And if you didn't open up your ports properly and you hit submit, you're properly and you hit submit, you're properly and you hit submit, you're going to get a little error message going to get a little error message going to get a little error message right here. So if you do get an error at right here. So if you do get an error at right here. So if you do get an error at this point, that is what is wrong. But this point, that is what is wrong. But this point, that is what is wrong. But for here, let's hit submit. And now we for here, let's hit submit. And now we for here, let's hit submit. And now we have some uh additional options. Now, have some uh additional options. Now, have some uh additional options. Now, here is where you want to pick either here is where you want to pick either here is where you want to pick either only office or collabor collabor this is only office or collabor collabor this is only office or collabor collabor this is the next cloud office instance or I the next cloud office instance or I the next cloud office instance or I believe the base is actually Libre believe the base is actually Libre believe the base is actually Libre Office. So, it's super cool. But only Office. So, it's super cool. But only Office. So, it's super cool. But only office is also an option if you do office is also an option if you do office is also an option if you do prefer that. You're going to want to prefer that. You're going to want to prefer that. You're going to want to select one or the other. And only office select one or the other. And only office select one or the other. And only office is only supported on x80 or x64 just so is only supported on x80 or x64 just so is only supported on x80 or x64 just so I can show you what the defaults are. Uh I can show you what the defaults are. Uh I can show you what the defaults are. Uh gen I like only office. I almost would gen I like only office. I almost would gen I like only office. I almost would select this but I just want to kind of select this but I just want to kind of select this but I just want to kind of go with the defaults for this video. Hit go with the defaults for this video. Hit go with the defaults for this video. Hit save changes. And now once we click save changes. And now once we click save changes. And now once we click start containers, we're going to get start containers, we're going to get start containers, we're going to get this uh progress bar here. Now this this uh progress bar here. Now this this uh progress bar here. Now this takes a long time. So if it even takes takes a long time. So if it even takes takes a long time. So if it even takes more than like 5 minutes, uh that's more than like 5 minutes, uh that's more than like 5 minutes, uh that's fine. But it should automatically
-
fine. But it should automatically fine. But it should automatically redirect you to where you need to go. redirect you to where you need to go. redirect you to where you need to go. All right, so that took it a little bit. All right, so that took it a little bit. All right, so that took it a little bit. We have our containers here, and these We have our containers here, and these We have our containers here, and these are all the different separate Docker are all the different separate Docker are all the different separate Docker containers. We have Apache, database, containers. We have Apache, database, containers. We have Apache, database, NextCloud, and all the others. If you NextCloud, and all the others. If you NextCloud, and all the others. If you want to here, you can stop the want to here, you can stop the want to here, you can stop the containers. Up here we have our initial containers. Up here we have our initial containers. Up here we have our initial NexCloud username and password. So I'm NexCloud username and password. So I'm NexCloud username and password. So I'm going to grab this password real quick. going to grab this password real quick. going to grab this password real quick. Give that a copy. We have the options Give that a copy. We have the options Give that a copy. We have the options for our backup and restore. We can for our backup and restore. We can for our backup and restore. We can change the password of this all-in-one change the password of this all-in-one change the password of this all-in-one dashboard right here if we would like dashboard right here if we would like dashboard right here if we would like to. And additional options which we to. And additional options which we to. And additional options which we cannot change because it is currently cannot change because it is currently cannot change because it is currently running. So what we're going to do is running. So what we're going to do is running. So what we're going to do is click right here. Open your next cloud. click right here. Open your next cloud. click right here. Open your next cloud. Opens up a new tab. Now, the very first Opens up a new tab. Now, the very first Opens up a new tab. Now, the very first time everything loads, it's going to be time everything loads, it's going to be time everything loads, it's going to be a little sluggish, but after a little sluggish, but after a little sluggish, but after everything's loaded at least one time, everything's loaded at least one time, everything's loaded at least one time, you're going to have some uh pretty good you're going to have some uh pretty good you're going to have some uh pretty good performance. So, I'm going to paste in performance. So, I'm going to paste in performance. So, I'm going to paste in that password. Check it real quick. Make that password. Check it real quick. Make that password. Check it real quick. Make sure there's no spaces or nothing. Good. sure there's no spaces or nothing. Good. sure there's no spaces or nothing. Good. Log in. Give that a save. And here we Log in. Give that a save. And here we Log in. Give that a save. And here we go. We are now in our very own NexCloud go. We are now in our very own NexCloud go. We are now in our very own NexCloud instance on the node using the all-in1 instance on the node using the all-in1 instance on the node using the all-in1 Docker image. And here we go. Let's go Docker image. And here we go. Let's go Docker image. And here we go. Let's go ahead and skip through this. You can ahead and skip through this. You can ahead and skip through this. You can read all this if you'd like to. And it's read all this if you'd like to. And it's read all this if you'd like to. And it's cool because you'll get the option to cool because you'll get the option to cool because you'll get the option to install all these apps. It all works install all these apps. It all works install all these apps. It all works properly. I've been using the Docker properly. I've been using the Docker properly. I've been using the Docker image for about a week now on my image for about a week now on my image for about a week now on my official Tech Hut domain name. So, if I official Tech Hut domain name. So, if I official Tech Hut domain name. So, if I start using NexCloud, the one thing I'd start using NexCloud, the one thing I'd start using NexCloud, the one thing I'd recommend you do is uh I actually recommend you do is uh I actually recommend you do is uh I actually didn't, but if you want to change the didn't, but if you want to change the didn't, but if you want to change the default password it gives you, you could default password it gives you, you could default password it gives you, you could go into settings, go into security, and go into settings, go into security, and go into settings, go into security, and change it there, as well as any other
-
change it there, as well as any other change it there, as well as any other settings you'd like to change throughout settings you'd like to change throughout settings you'd like to change throughout here. Now, the one thing I want to point here. Now, the one thing I want to point here. Now, the one thing I want to point out is if you install this on Snap or out is if you install this on Snap or out is if you install this on Snap or even if you do a manual installation, a even if you do a manual installation, a even if you do a manual installation, a lot of the times the Office servers or lot of the times the Office servers or lot of the times the Office servers or like the writer replacements or things like the writer replacements or things like the writer replacements or things like that is super sluggish. Like you'll like that is super sluggish. Like you'll like that is super sluggish. Like you'll hit a key or you'll hit a letter and hit a key or you'll hit a letter and hit a key or you'll hit a letter and there's like a half second delay from there's like a half second delay from there's like a half second delay from where it actually gets printed. But in where it actually gets printed. But in where it actually gets printed. But in this case, if I go ahead and open up this case, if I go ahead and open up this case, if I go ahead and open up this document, this is going to open up this document, this is going to open up this document, this is going to open up in NextCloud Office. Again, we have the in NextCloud Office. Again, we have the in NextCloud Office. Again, we have the only Office option if we would like. only Office option if we would like. only Office option if we would like. Here is a little welcome. So, we can Here is a little welcome. So, we can Here is a little welcome. So, we can kind of explore through this if we would kind of explore through this if we would kind of explore through this if we would like to. And it's saying everything is like to. And it's saying everything is like to. And it's saying everything is spelled wrong. So, that's one thing I'm spelled wrong. So, that's one thing I'm spelled wrong. So, that's one thing I'm going to have to change in my settings. going to have to change in my settings. going to have to change in my settings. But, you can see here if I start typing, But, you can see here if I start typing, But, you can see here if I start typing, it's instant. There's barely any delay. it's instant. There's barely any delay. it's instant. There's barely any delay. It's basically the same performance as It's basically the same performance as It's basically the same performance as like Google services or even like like Google services or even like like Google services or even like Microsoft 365 or 360. I forgot the Microsoft 365 or 360. I forgot the Microsoft 365 or 360. I forgot the specific numbers. Anyways, this it specific numbers. Anyways, this it specific numbers. Anyways, this it performs remarkably well. And when you performs remarkably well. And when you performs remarkably well. And when you have multiple people in here, it's have multiple people in here, it's have multiple people in here, it's synced fairly instantaneously. So like synced fairly instantaneously. So like synced fairly instantaneously. So like before, it was laggy, it was choppy, you before, it was laggy, it was choppy, you before, it was laggy, it was choppy, you would be riding fast, and it would be would be riding fast, and it would be would be riding fast, and it would be skipping along. It it this performs skipping along. It it this performs skipping along. It it this performs really, really well. And that's it for really, really well. And that's it for really, really well. And that's it for the basic uh installation. If you'd like the basic uh installation. If you'd like the basic uh installation. If you'd like more NexCloud guides on things like more NexCloud guides on things like more NexCloud guides on things like setting up shared group folders and setting up shared group folders and setting up shared group folders and getting deck to work right and a whole getting deck to work right and a whole getting deck to work right and a whole lot more, leave some comments down lot more, leave some comments down lot more, leave some comments down below. And again, anything you saw in
-
below. And again, anything you saw in below. And again, anything you saw in this video, there will be a text version this video, there will be a text version this video, there will be a text version of it linked down below. And lastly, of it linked down below. And lastly, of it linked down below. And lastly, thank you to the sponsor, Lenode. I'm thank you to the sponsor, Lenode. I'm thank you to the sponsor, Lenode. I'm doing the ad read at the end because we doing the ad read at the end because we doing the ad read at the end because we used the service throughout the video, used the service throughout the video, used the service throughout the video, but Lenode is fantastic. There are a ton but Lenode is fantastic. There are a ton but Lenode is fantastic. There are a ton of one-click installers, including a of one-click installers, including a of one-click installers, including a Nexcloud one if you don't want to go Nexcloud one if you don't want to go Nexcloud one if you don't want to go through everything we just did. However, through everything we just did. However, through everything we just did. However, I personally prefer the performance of I personally prefer the performance of I personally prefer the performance of using Docker. With the node, you could using Docker. With the node, you could using Docker. With the node, you could set up various game servers, websites. I set up various game servers, websites. I set up various game servers, websites. I use it to host my very own Nextcloud use it to host my very own Nextcloud use it to host my very own Nextcloud instance as well as techut.tv. And like instance as well as techut.tv. And like instance as well as techut.tv. And like I mentioned earlier, if you use that I mentioned earlier, if you use that I mentioned earlier, if you use that link in the description, you can get a link in the description, you can get a link in the description, you can get a $100 60-day credit. So with all that, I $100 60-day credit. So with all that, I $100 60-day credit. So with all that, I do hope you enjoyed this video and I do hope you enjoyed this video and I do hope you enjoyed this video and I hope you have an absolutely beautiful hope you have an absolutely beautiful hope you have an absolutely beautiful day and goodbye.
Summary
This video demonstrates setting up Nextcloud all-in-one on a Ubuntu server, highlighting its improved performance and compatibility over other installation methods like snap, especially with Office applications and plugins like FFmpeg. The practical takeaway is using the Docker-based all-in-one solution for a more robust and efficient Nextcloud experience, applicable across various home lab or cloud environments. The tutorial provides commands and suggests using a sponsoring service with a credit offer for easy replication.