 Hello, this is Jim Groom and I'm here to talk to you about Installing Mastodon on Reclaim Cloud with our one-click installer that Taylor Jaden had created a few months back and I We already have some documentation, but I figured a video may further help that process So without further ado, let's look at what that process is and talk a little bit about what Mastodon is and why you might use it so this is Reclaim Cloud and This is the interface where we'll do the installation, but I guess it might be worth mentioning that Mastodon is a Decentralized federated social network akin to something like Twitter Maybe without the centralization and the potential of it being bought etc You don't necessarily need to set up your own Mastodon server to have a Mastodon account You can run it on one of many servers out there So this tutorial really is for people who want to run their own Mastodon server And that's what we make possible with Reclaim Cloud if you're just looking for an account under the server. There's plenty out there Feel free to look around and play with that. So that's Mastodon it has become for many a nice alternative to Twitter and This is what we're going to be installing this Documentation that Taylor already wrote takes you through step-by-step pretty much everything. I'm going to talk about in this video So if you need this, I will include a link in the video to this documentation so that you can find it finally We're going to go to Reclaim Cloud and I do have a link for this here Prepared this is where you can go to Reclaim Cloud sign up for an account and then use this interface to install Mastodon Okay, so let's do it We can do this by going to our marketplace which is up here and you'll see also it's right here and I'm going to click on the marketplace and I'm going to search for Mastodon and And Hopefully yes, without further ado you see there up in the left it is there and I then get Basically asked to say Here's the details here's the fields for installing Mastodon What do you want the domain name to be and this is kind of important because the domain name Once you install this app you want to establish a domain name before you don't want to go back and change it It makes it very difficult if impossible So I would say decide on your domain before you install Mastodon This is a test, but I am still going to show you how to map the domain. So I'm going to call this elephant dot Baba Tuesdays So that's going to be my domain The environment name is pretty much anything that makes it easy for you. I'm going to go elephant It could be Mastodon. It could be what have you it doesn't matter You'll notice this is saying the UK region. So it's elephant dot UK that reclaim that cloud You can decide here what region you want it to be US East West Canada UK and Germany coming soon So that's the option. I'm going to keep mine in the UK and then the display name I'm just going to call it elephant Mastodon And this is what shows up in reclaim cloud as this environment is called elephant Mastodon Anyway, you can name that whatever you want the real important piece here is to make sure you establish what domain you want before You install the app. Okay now that I'm doing that I'll click install Now this will take a little bit To install and this is basically Going through getting the container and making everything happen in the interim a couple of things we're going to want to prepare is a Pointing the domain to this environment. So wherever you host your domain, right? You can host your domain on a couple of things if you have a cPanel account You can manage your DNS and domain through cPanel I have a good example of that right here So if you go here, this is my cPanel account and these are a bunch of different domains and subdomains I have if I wanted to add another one. I would just click on create a domain And I can then go elephant dot baba tuesdays Dot com and then click submit And once I do that I will basically be given a place to Add the IP address and that's what we'll get when mastodon finishes installing If you don't have cPanel and you use it use another service for example like Cloudflare, which is something I use as well as cPanel You can go to cloudflare and you can add records there. So you can go there You can call this elephant And then once we have the IP address we'll add it there You don't do both you choose wherever your DNS is being managed and that's where you would add it So that's for adding a custom domain And let's see where we're at with the installation It's still working So it will take a second and when it's done We will go through the rest of this And so now it has been installed successfully And you'll see once it is you get this series of messages, which are pretty important. So pay attention There is a link to the article the support article that we'll look at that taylor wrote And then there's the command line Which will allow you to create an admin account And this is something you're going to want to copy and then fill in The username where it says all caps username and the email Where you want to put in the username and email you want It will create the account and give you the password. So be sure to get that information And then there's more information about configuring smtp mail and s restorage Both of which you're going to want to use for a master don server if you're running that And we'll deal with that in a separate video, but for this one We're just going to get up and running and finally and very important for the custom domain mapping is the ip address So i'm going to copy that ip address Because that's going to be the next piece is we're going to point the domain elephant.babaTuesdays.com To this environment. So we have all this this will also come as an email So don't worry about that. It will still be in your email. So you can close this out We can get rid of the marketplace interface And we should now see an environment called elephant mastodon and this is where our mastodon is installed So the other thing to keep in mind i copied that ip address, but it's also here within the docker instance Underneath the node. This is that same ip address So i'm going to now go back to my cPanel in zone editor and then there we're going to find bava Tuesdays And then we're going to look for the elephant and once we do find the elephant in the room And I guess rather than searching i'm just gonna Or rather than browsing i'm going to search and i'm going to edit now What is the default cPanel ip? I'm going to put in the ip of this server and then save it And we should be good to go For our domain being mapped. So i've done that the other thing you'll notice and let's go back to that email So here's my email and if I go here, I'll see the mastodon is up and running and I'll click on that And this will actually give me that information and I am now going to grab this command line I'm going to put my username as jim groom And then i'm going to put my email as jim at reclaim hosting Dot com and then confirmed role owner and that's it. So once I've made those changes to that Information that's going to allow me to put Create an admin account and associate it with an email. So that's the next step I go back to reclaim cloud and we have this handy dandy ssh Interface right there. So I can just go in and I'll be able to copy that command into my environment like this And it will basically create that user It will spit out the password, which i'm not too worried about you all seeing because i'm going to get rid of this environment anyway But this is basically Creating the account. So there we go. We have that password, which I am going to copy the time being and We are now set. So we've mapped the domain Elephant.BavaTuesdays.com We have created an admin account And if everything is working And we will see it's a big if Should everything be working? I can now go to elephant .BavaTuesdays Dot com And I should see a clean Um mastodon instance, and it's not up yet And this is actually something you'll run into. So it's a good demonstration When you map a domain, you have to restart the server um, and so this is talked about in the mastodon tutorial or kind of guide that Taylor wrote up and One way to do that is to copy This command which will basically Change your directory into the mastodon directory and then Take all your docker containers Turn them off or basically spin them down and then spin them back up and after that Happens your mastodon should work. So we're going to go here We're going to go to the ssh And then we're going to change the directory. It's going to automatically spin everything down And then after that it should now give me the prompt to say do you want to spin everything up? And I just says yes And all things being equal now when I go back to that 500 internal error I should now be able to refresh it and see a fresh instance of mastodon So let us see if that worked It may It didn't so hold on Let me Go back I think the case is always don't be too impatient Because it takes a little bit for That to keep to go down and come up etc. So I'm gonna just wait a second and there it is So One of the lessons from this tutorial if nothing else is patience is a virtue And also if you're mapping a domain, you do have to spin down and then spin back up the mastodon instance A couple of things um worth noting is You should at this point then go into the environment file and again, we'll have another tutorial for this And use offload media if you're hosting your own mastodon server to something like You know digital ocean spaces Amazon s3 your own hosted minio whatever you want to do but I would not host the media On your server because it gets too big too quickly and then you're going to want to use a Basically a transactional email service something like mailgun That will actually Manage and send out emails for people who sign up etc. And that's essential But again, that will be another tutorial As will the commands to actually update to the next or latest version of mastodon Which is made pretty simple with this instance. Um, and it's just a series of commands you run at the ssh So all that said this is um mastodon one click install on reclaim clap. Thanks for watching And uh, good luck with it. If you have questions, you know where to go Reclaim support will help you out