Nextcloud with S3 Object Storage | How To Set Up on Linode

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey guys it's gardner your friendly neighborhood developer advocate with lenode uh today we're going to set up a nexcloud instance using uh our one-click marketplace this is the best and easiest way to set up an xcloud instance on the node we're also going to talk about how to configure s3 compatible object storage on your server by setting up object storage on your next cloud server you're actually going to be able to get the best bang for the buck when it comes to storage space you're not going to have to worry about running out of space on your lenode based on the service or the plan that you have you're actually going to have object storage that's a huge game changer in my opinion this configuration also separates your content from your actual node so if your instance ever goes down for whatever reason you still have access to your s3 bucket that's a pretty awesome benefit before we get started we're going to need a couple things so let's go over this so first you're going to want to sign in or create your lenote account then you want to create an api token and you can generate one by clicking here clicking my profile api tokens and then add a personal access token give it a label something descriptive so you know what it's for let's say next cloud developer advocate to demo token you can never be too verbose and then you want to go ahead and click on read write for domains and hit create don't lose this number if you close this you'll never be able to get that back again you'll have to generate a new token and then you'll want to make sure that object storage is enabled for your account so you'll want to go over to accounts settings and then enable it under object storage i already have it enabled on my account and you'll also want to make sure that you have a domain name available uh you don't have to have a domain name we'll go over that in a minute all right from here you'll want to go to marketplace here on the left click on one click if it's not selected and then go ahead and click next cloud and we'll go through the process real fast here you want to create a password for your database again you'll want to remember this so write it down because you'll need this later and you want to make sure that you have a good strong password here as well now you'll see on the screen it's going to say optional until that goes away all these steps are going to be completely optional for you personally i would recommend most of these steps so under the limited sudo user you're going to want to create a username and give it a strong password now if you don't have a an ssh key you'll want to go ahead and actually create one you can do that by opening your terminal and you can type in ssh keygen and then tell it what you want to name it as so we'll just call this nextcloud demo i would recommend giving it a password and then you're done so now what you want to do is type cat next cloud demo dot pub and you'll want to copy that right into the ssh key field and obviously if you gave it a different name than next cloud demo you'll want to give it you want to use the name that you actually gave it all right then go ahead and enter your api token here so here for the domain name you want to enter the domain name that you'll be using if you're not going to be using a domain name you can leave this blank and you can access your next cloud instance through the lenods ip address which we'll show you how to get to in a moment for the for this domain name we'll just do uh cloud demo dot heavy element dot io which is a domain that i already own email address let's just do uh account heavy element dot io for uh certbot ssl uh you can answer yes here i would recommend doing that unless you are gonna configure ssl yourself some other way um for me that's the simplest way to do it i just click yes i believe you're going to need a domain to get that to work though so here for select an image debian 10 is the only distro that's supported with this one click app that's fine for the most part you're just going to be using netcloud itself so i just leave that as is for the region i'm in the northeast united states so i'm going to pick the node that is closest to me and that would be newark new jersey picking a data center that's closest to you will reduce uh network latency now for lenode plan this is where things get interesting you can go ahead and click lenode one gigabyte next cloud's documentation says that you only need 512 megabytes of ram in order to run nexcloud efficiently since our documentation recommends a one gigabyte linode that's all i think you might need unless you plan on doing something like resource intensive uh where you are installing a bunch of plugins in nexcloud cloud personally i could see it being within reason to get the two gigabyte node plan but but because we're doing object storage in this tutorial uh the one gigabyte the node should be sufficient and uh you won't you won't actually end up using a quarter of this for your next cloud install because we're going to be doing object storage now you're going to want to give your lenode a good label a good label can never be too far away lenode cloud storage demo give it a root password and you can give it any ssh keys that you have stored with your lenovo you can enable backups for an extra two dollars a month which i would recommend doing and you can also get a private ip address but now you're ready to actually create your lenode so let's go ahead and do that now you'll notice that it will take just a few minutes to get your lenode provisioned and booting the one-click install script will run it'll take generally between two to five minutes once this process has completely finished you'll want to grab your ip address from here or your domain name that you configured earlier so from here just go ahead and select your ip address open a new tab and type that baby in right there now we're at our configuration screen this is how we start next cloud properly so the first thing you want to do on this screen is go ahead and type in a user account name that you're going to use i usually go by g bryant because that's my name and you go ahead and type in a secure password all right if you want to change this you can i would recommend leaving it the way it is so then you want to type in your database information the database user is next cloud unless you changed it the password is going to be whatever you set for your password database name can be next cloud and then you can also check whether you want to install recommended apps most of them are pretty useful so i would go ahead and do that and then click finish going to take a second and set up the database get everything configured for you on nextcloud it takes a second there we go now we're going to install all of the recommended applications it's kind of hard to see that spinny little uh loading icon but it's there and all right once that's finished it's going to log you in automatically you can skip through this here or you can just close it all right so now we're all set up with nextcloud let's go ahead and install the things that we're going to need to enable external storage support so click on the little gear up here and click and click on the apps section and then you're going to want to click on the search and type in external storage support this first result here external storage support you want to click enable on that now that it's enabled we can go into the settings and then under administration we're going to go to external storages and we're going to uh start the process so the first thing that we're going to type in here is the folder name this is where we're going to put documents and files that we want to put on the object storage uh that's the folder name so we'll call this uh bucket why not and then we're gonna choose amazon s3 for authentication make sure it's set to access key it looks like that's the only option here for the bucket we're going to have to create a unique bucket name it cannot already exist on the nodes server if it does it's going to have an error it's going to cause an error so let's go ahead and pick a unique bucket name because gotta be unique depending on where you want your lenode bucket to be located you're gonna want to choose a hostname from the table that's on screen right now we're going to end up going with the us east one we're going to put in the port which is 443 we're going to do region id which is us east one the region id needs to correspond with the uh with the host name you must enable ssl in order for this to work and you need to leave these other two unchecked and finally in the node cloud manager we're gonna actually have to enable uh object storage i already have it enabled so what we'll have to do is go to object storage access keys and then create a new access key give it a label so so just object storage demo click submit and it will generate an access key and a secret key put in the access key and then we're going to put in the secret key here boom and then we're going to make sure that it's available for whatever users we want to enable it for uh i'm just going to give it to myself and then we're going to click this little checkbox once we click save assuming everything goes correctly we're going to get this little check box here now we're done with that so if we click on our files look we have bucket now bucket has a little icon there because that's an external storage so we click on that and we drop our files in here it's actually going to be synchronized to our s3 bucket how awesome is that so yeah i thought that was pretty cool uh i wanted to share that with you guys and i'm glad that you're here checking out lenode's channel if you want more tutorials just like this one make sure you subscribe to the lenode youtube channel i've been your developer advocate gardner and i'll see you guys later [Music] you
Info
Channel: Linode
Views: 7,933
Rating: undefined out of 5
Keywords: nextcloud setup, nextcloud install, how to install nextcloud, cloud storage, cloud computing, nextcloud installation tutorial, install nextcloud, cloud hosting, object storage, linode server setup, nextcloud tutorial, nextcloud installation tutorial linux, private cloud, object storage s3, object storage tutorial, object storage linode, nextcloud server, nextcloud server ubuntu, nextcloud server build, nextcloud server install, linode, vps, linode nextcloud, linux, server
Id: QWaCg4q4a0A
Channel Id: undefined
Length: 10min 54sec (654 seconds)
Published: Fri Oct 02 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.