 Hi Lauren, how are you? I may or may not be watching the stream in terms of the chat so forgive me on that but I'll try. I will try. Today I am going to be looking at the installation of Mastodon server which is really kind of of interest for folks who want to run their own server. Again that's not necessarily going to be for everybody and I understand that but this is a way for me to document some of this stuff and kind of get familiar with it given it's in my wheelhouse so to speak. So anyway I am going to start there and see how this works. So I'm setting up a new Mastodon instance. This will be my third or fourth time. I set one up for DS106 one for Bava Tuesdays which I'll still be playing with. Another one for a fake one for DS106.social so I can document everything in streams and then this is the fourth one so it is the fourth for Reclaim Hosting. I'm going to create a server for Reclaim Hosting so we can have an instance there and then if folks at Reclaim want to get on Mastodon and play with it but apart have a separate identity maybe from another Mastodon. Makes sense right? So anyway that's what we're doing here. I am interested in it because it's going to be installing Mastodon 4.0.2 and then also playing with digital ocean spaces so I wanted to play with that. That's a new feature and I might even map a domain for files but we'll see. Anyway let's get started. First things first let us create a new environment. This is how I've been doing it. We're not doing it as a Docker instance. We're doing it as a VPS so it's a Docker image but we're installing basically a virtual server and then installing it on the server. So we're doing that with Debian 11.5 and that's that. So I just choose Docker image Debian 11.5 under VPS and I'll do that again Debian 11.5 so that's chosen and then I want to make sure that it has a public IP address and I think if I do that I should be able to say enable. I'm going to kind of leave that off and do that. Let's just do enable. This will give me a public IP address. I don't want that so forgive me I don't know how I got into that but I do want the public IP addresses on which is what I want and so I don't know why I gave it an Nginx maybe because of the SSL but we're going to run the cert on the server so we don't need an Nginx load balancer. Other thing here I'm going to call it reclaim mastodon so that will be it. I'm going to keep it in the US that's fine and I could put it in other places like US West, Canada, UK. I'll keep it in US East that's fine and that's pretty much all I have to do here. The only other thing I might want to do and I'll click on the Debian here. Ah that's not right. I want click on Debian do public IP version 4 and then make this I'm going to make this a minimum 4 gig server. It may be bigger but for now minimum 4 gigs and that's that so I also won't need this much disk space. I can go down to probably 50 because I'm going to be offloading media so 50 is very safe. It's probably even less but I'll stick with 50 for now and that is now me creating the VPS so I got a Debian 11.5 I got the public IP version 4 on and I have changed the cloudlets to up to 32 or 4 gig server so it can scale up to 4 gigs and I kept the disk down to 50 gigs because it won't need more than that. I have the environment named Reclaim Macedon and then there's the region US East. All good? Good. So that is now creating which is beautiful and the next thing we're going to do is we're going to leave this alone for a little bit let it create and then I am going to look at some other things that we have to set up and I'll even show you the domain so here's the domain we're going to be using it's they have a couple Reclaim Domains, Reclaim Hosting Dev, Reclaim Hosting.com these are all running through Cloudflare the one I recently registered is Reclaim Rocks. That's going to be the name of our master down server Reclaim Rocks. I tried Reclaim.Social but it was taken and then I was looking around and I was like you know what let's just do Reclaim Rocks and so we are so when that server gets propagated here it's going to have an IP address and I'm going to need that and I'm going to point that IP address in this DNS to an A record and then that server will be pointing to this domain Reclaim Rocks first step and we'll come back when that's done but in the interim I can set up our transactional email through Mailgun something I've done I'm getting very familiar with now let me pull that over this is Mailgun and this is where we're going to set up an email for Reclaim Rocks so to do this I am just going to go to Sending and I'm going to go to Domains and I'm going to add a new domain this domain will be you guessed it Reclaim Rocks and that's where our server will our emails will come from so Mailgun is taking a second to load so let's just see why I don't know if I'm having I'll just do a quick refresh here I do have a couple of Mailgun accounts so if that's an issue I can recheck but very strange to see a service like that have issues but but knowing what I know it's definitely not crazy and okay here it seems to be going if it doesn't it's no problem because we can set up the cloud media in the interim so I'm not concerned but it looks to be working which is great and I am now going to add a new domain and that new domain will be called Reclaim Rocks and it's going to be a US domain name region and it's uh I'm going to keep it as a shared IP that's a setting that I have with Mailgun and it has now created this instance of a domain for email at this point I need to go in and grab these settings to create two text records two mx records and this I'm just going to copy over into cloudflare so watch this I copy the first one which is this text record I copied then I put in the type is text the hostname reclaim that rocks and then this value so I'm going to add a new record I'm going to call it a text record boom boom boom I'm going to call it reclaim that rocks and then I'm going to put that in there and save boom that's one of four records we do need we're going to need a second text record and it's going to also be I know it's not going to be for Reclaim Rocks let's go see what it's going to be it's going to be for this k uh k1 dot underscore domain key dot reclaim that rocks not going to remember that so I'm copying and pasting and then I'm going to get this value which is longer and then that's going to be the second text record boom done third text record is no third record is going to be an mx record not a text record it's going to be a mail exchange record again reclaim rocks the priority is 10 and this is basically to point my name servers to mailgun or my mail servers not name servers to mailgun so I'm going to do that and go to mx where are you there you are no I don't want that I want mx I'm going to do reclaim dot rocks and then mail server is that and priority is 10 and so that's we're going to do a second one and it's just going to be the same settings except the mail server is going to be mxb not mxa okay so let's do that quickly add a second record it's going to be an mx record and it's going to be reclaim dot rocks no spell it right because that will create all sorts of problems if you don't and then it's going to be mx not a but mxb dot mailgun dot org and then this priority is 10 and that is required and then we do that save now the final thing and I usually don't do this so I'll probably leave it out is checking whether people have kind of opened and clicked and unsubscribed and I'm not too concerned about this so I'm going to leave it off but you can add this fifth record which is a C name record so let me go in look at my records text text mx mx we look good so then I'm going to go here and I am going to see if I can verify these records and the mx records verified right away the text records did not so I'm going to see if I have a problem I just think it might take them a little bit longer but one of them and then if I do it again I bet you this one will go too no this one didn't so let's just see a b oh looks right to the key reclaim no it's not right I forgot the s huh reclaim oh did I do the same thing there hopefully not it's stupid it's not yes that's right so I forgot the s on the other one and that probably is why it didn't work yep good to definitely good to verify your work as you can see it's done I had a typo that is now complete so my transactional email is set up we're going to need to now get the smtp settings which will actually allow us to connect it with mastodon we do that here um there's the smtp hostname the port is going to be 587 the email or main mail is going to be postmaster at reclaim rocks and then we're going to have a password that's going to ask us to reset and I'm going to do that right now and then it's going to have a little thing here where it says copy and I will and then I'm going to put this in a text file that I'll come back to during the installation so we don't have to worry about that password just yet but I am going to grab some of these details here because they'll be useful in a bit basically the hostname the port 587 and the postmaster at reclaim rocks perfect okay so I have everything I need for mail I can now disregard mail gun if there are issues we can return to that but for now I think we're pretty good on that front let me just see okay yes I think we are okay so I can close off mail gun I'm back at cloud flare and then I am going to look here and oh look at that my server has installed right so there's reclaim mastodon and I have all I'm not using any cloudlets yet because it's not really started and I will have an email with the root password and everything I need there but for my purposes I need this IP address right now so I'm going to copy that and I'm going to go back into cloud flare I'm going to add a new record this time an a record and I'm going to put the IP address there and I'm going to put the domain here and at this point now we also have the domain pointing to our server so this is connected we have the domain connected to the server we have the email transactional email service working the final piece is offloading media and so this is new for me because I have used aws is s3 but at this point I want to test using um digital ocean so that's what I and they have a object storage like amazon's s3 called spaces and so I want to use digital ocean spaces to set this up so this is going to be a kind of a new a new world for me and all right so now I am in digital ocean I am going to create an access code or an access token for um a new space and you can associate these access tokens kind of like the secret keys for aws so I'm going to generate a new key I'm going to call it reclaim mastodon or reclaim rocks yeah let's call it reclaim rocks right and then the key we're just going to do this and it should automatically create a key and then I can also get the secret key so there's my automatic key and let me go again to my um text file I'm going to do that right now and this is spaces I'm kind of fired up to see if spaces works because this is new and then there's the secret key which I'll only see this once and I will change it because obviously it's on the stream and then the other thing I need here is nothing that's all this is reclaim rocks that's the name of the key and then I have my credentials on top of that so we are good so I'm going to now go back to spaces itself here and I am now going to I already actually have created a bucket called reclaim social um let's just see if I can associate so there's a bucket or it's essentially a space but same thing as a bucket but I'm going to delete it and do it and reclaim rocks so I'm just going to start from scratch so let me destroy this one I will destroy you there's nothing in it so I can cleanly destroy it enter the name of the space reclaim social all right destroy so that's gone and I'm going to create a new space and the space I want to create is where is it where can I oh there it is create a new one it's up top you can't see it there's a green box above I'm going to create a new space and you'll see digital ocean I'm going to put it in New York and I am going to allow file listing sure I'm going to create this reclaim I'm going to call it reclaim rocks and then it's going to be part of our thing CDN I'm not going to worry about a CDN just yet and I'm going to create the space and this should now create a new space for me in digital ocean and it's called reclaim rocks so that's the name which I'm going to have to remember and I don't know what else they're going to need so I'm going to keep this open because we might have to come back to this only users who connect I'm going to keep this one enable has no effect on whether individual files are visible if anonymous users can list the names okay we'll look at that later we'll see what that is we might need this endpoint so I'm going to grab that endpoint that's information we could use during the setup which is coming soon enough so there's that and anything else there's a cores configuration we might have to look at CDN is not working okay so I am fairly confident that I don't need to worry about digital ocean spaces just right now so we're good we got cloud flare connected to the server we got transactional email with mail gun we now have digital ocean spaces for a file cloud storage of files on that server which could be nice which is new and I think at this point we're ready to go to mastodon's guide and go through installing this so I have the guide somewhere and I can actually actually I'll leave it like that where is my mastodon guide okay give me one second let me do join mastodon let me try this there it is admin install okay so this is the mastodon admin install guide and I can pull this down a little bit you probably see that and so they're going to talk about prerequisites we're doing it on devian 11 and then the one thing they're going to say is they're going to take us through the install before we do though one of the things we do to prepare the server is you don't have to worry about the ssa space login because you can do that through reclaim cloud you don't have to worry about the firewall because that's some part of reclaim cloud you do want to update the system packages and I am not going to install fail to ban that's something we can do after the fact so I'm going to leave that alone the only thing I'm going to do is update all packages on the new server and in reclaim cloud you can just click right here on the web ssh and it brings in an ssh which is nice and that's where I'm going to be doing this one from and I am going to update the server packages and then we're going to go through the whole install process together here now and my goal is to get it all done in 40 minutes we'll see if I'm so lucky but that's the goal an hour stream with another mastodon server set up yeah I'm not sure if anyone's watching Lauren was but if you are I can keep track on the chat every so often but if not no worries no one's listening no one's watching that's the fate of life online okay reclaim mastodon that's going so now let's go here to preparing your machine that's the one we just did all those updates that's fine now we're going to go installing from source and this is where we actually start installing and preparing the server to run ruby post gree sql sidekick all the different packages that this server needs to run mastodon that's what we're going to be spending the next 30 to 40 minutes doing so hold on to your butt so right now it's a lot of copy and paste and there'll be a couple of times when we kind of break from this and I'll let you know but right now I'm on join mastodon.org slash admin slash install just doing copy and paste there is nothing magic here so I'm going here and then I'm going to copy my first call and that's going to go and get some packages looks like everything's fine then I'm going to go here and looks like I'm going to install something no js related so I'm going to click here I'm going to paste and that worked seemingly yeah and then I'm going to go here this is post gree sql so this is getting the database info I think I have everything see that I I am making a I gotta be careful not to make a mess if you're me so I'm gonna do this get all of this now a little bit awkward here sorry about that I tried to bring it down but then I went to the system packages which was annoying so I'm just gonna do this god that's okay see that and go back boom so copy that and then go back into my reclaimed cloud instance and then boom boom boom looks like that all worked beautiful off to the next one which is system packages and I'm just going to copy this all in ready let's do it yes and here we go now I hear something on you hear the boop boop I think that's a notification on mastodon itself but I'm not sure anyway I guess I don't really have to worry too much about that but it's happening okay so that's installing the cert bot it's kind of going through the whole process this may take a little bit but yet another installation of mastodon which for me is very fun I'm enjoying mastodon a lot and Lauren is tuning in I hope you're enjoying this Lauren I don't know at least there's one and this is a kind of shows you the tedium of setting up mastodon if nothing else and then that's another stream where we have digital ocean and I can my idea with this one is use this stream to document and take screenshots for the official documentation in um reclaim hosting because I think recommending people use digital ocean spaces is going to be a little bit easier than using um amazon s3 but we'll see um plus having more options is never a bad thing I guess so we are still sitting here we'll see if this pushes through or not but I am seeing that it's still sitting there waiting if I have to restart that that's fine but sometimes some of these oh wait you know what happened this is stupid let me just control C I think let's just see I had to I had to click yeah not I should have known but anyway it's moving along could be a lot worse could be a lot worse so let's see what the next piece is while that works we're gonna install a yarn or enable yarn and then set the version to classic so that's coming next I'm gonna do a little pre copy before we do and this is at 48 percent moving right along 52 have a little coffee I hope everyone Tuesday before Thanksgiving is going good there is no Thanksgiving in Italy so this is a wonderful week for me because everyone takes off and I don't have any obligations so I can just work and I have some plans I want to actually get reclaim radio to link in to reclaim mastodon instance because the two are synced so I think the latest version of azura cast will have webhooks for mastodon which is exciting so anyway core pack enabled did that and then we're going to do yarn set classic so that is one of my plans for this week a lot of mastodon work good that's done even though I linked twice and now we're going to do some installing they're going to add a user called mastodon because certain things you only want to do as a user mastodon I'm going to put my name well let me put reclaim reclaim hosting room number 106 there is no need for a room number I just always do 106 anyway that's all done and then I'm going to go back here and I'm going to change to that user su switch user dash mastodon and there we are I'm no longer root I'm now the mastodon user and now I think we're going to be installing some things and I do want to see what version they have because did I make a mistake did I do 3.03 yet no not yet because it should be 3.04 they switched that's good they I've been ahead of the documentation for a while but now it's updated which is awesome because now this will work so I'm going to get this and then I'm going to just get each of these lines copy and paste and it's a little tedious but the end result is fun that's and I'm I'm kind of getting familiar with the process which is what I want I really want to know it inside out because if people ask questions and we've already gotten questions that reclaim hosting around like how do you run this and I've been spending some time fine tuning the DS 106 instance just to see like what would it take to host and even support it and so that's kind of why I'm doing yet another one of these and that's good so we have worked through this line which is the r-benv and r-benv build and now we're putting in the ruby version which is 3.0.4 which it was previously 3.0.3 for the last version of master down but 4.02 now takes this is the global version of ruby 3.04 which is something I know because I tried to install I tried to install 4.02 on 3.03 is that confusing master down version 4.02 on ruby 3.03 and it was like uh-uh but you could change it by just changing this line from 3.03 to 3.04 and it worked so again I don't want to pretend I know more than I do about ruby these are just dependencies I'm installing I'm just janitor here putting stuff where it needs to be I have no idea in the larger scheme how they were actually working together and compiling truth be told so you know okay so we're doing yes don't don't Amanda welcome it's cool and yeah no I will be working on the dock but I got two I got two videos out it's not like I've been sitting on my hands here but reclaims a very demanding place to work can I talk with my ombudsman is there HR someone I can talk to I need to talk to someone feeling pressured in my stream streaming pressure yeah ruby is a boogie man I have I I found though that with this instance it really is a lot of copy and paste the real boogie man of installing mastodon at least I'm reclaim cloud is engine x this stuff pretty much works this is just like push in done push in done it's engine x you're like white knuckling to see if it works ruby is kind of pushing through right now but documenting the engine x stuff you know there was a couple of things tim recommended some stuff taylor did some stuff when we installed it and I found like combinations of both have worked for me and it changes on each instance so that's the one that's really like I'm trying to make sure it's right okay so it's still working yeah yeah HR I would like you to not put anything on my to-do list the thing is cool while we're sitting here is the guy who develops azure cast is on mastodon and was like I think it would be really cool to build into the next version of mastodon the ability to automatically send to mastodon when someone's guy was live or what's playing which is great for DS 106 radios mastodon and reclaimed so I was super excited so in this next one you can see here on the so back to the the instance here you can see here it's saying our bend global 3.0.4 but it also tells you that right here it says hey this is what the new default should be so I'm just going to copy it there paste it and done okay so we're moving right along we're here we're going to now go to the ruby gem installer bundler and like you said Amanda there's nothing worse than doing gem bundle installers and ruby ruby starts to get a little bit hardcore and it's one of the reasons I abandoned Jekyll frankly is because I couldn't keep the thing up to date and manage it so I think we're done here at this point and I can exit that and it will exit basically I'm just exiting from the mastodon user I'm now back to root and here we are and I think at this point we are going to set up post gree SQL and read us now this is where we kind of step off the script for a second and I'm going to add two commands here that you're going to want to run before you start the next step it's system ctl or system command start and then post gree sql I found that in order for the next part to work s q post gree sql needs to be started same is true of read us you do system ctl start and then rather than post gree sql you do read us I was reading about it today post gree sql is the database it's not using my sql it's using post gree sql and read us is the object caching so it's basically doing some caching in a separate server space from what I understand inside kick hq is like process requesting so anyway I'm starting to learn more about the various systems in mastodon that are working but I do know for it to work in reclaim cloud these two commands need to be started and entered before doing the next piece okay so first caveat then we're going to go here and this is talking about setting up post gree sql I don't do this optimization with the PG tune I've done that after I guess if you're into that you can but this tutorial is not going to take you through that because I brought the DS 106 server down today because I was using pj to pg tune and some of those settings and so I am a little bit like nervous about it so I'm going to go with simple and use the default settings here and then I'm going to create a post gree user and that's that and then I am now going to actually that's to get into post gree now I'm going to create the user and it was created we're done and next we are going to switch back into the user mastodon and now I think we're going to go through the setup this is where we put in the different stuff all right yeah so let's try this we're going to do get clone and so we're going to get the latest version of mastodon that's all that's doing is it's a command that's saying go get the latest version of mastodon I almost know what I'm talking about almost but not really and then once that runs I am going to check it out so check it out great no issues there we're 4.0.2 that's the version that's good that's where we want to be and then now we're doing the final dependencies before we actually go through the installer for mastodon this is just prepping the server this is not having installed server we have the package of mastodon on there now but we're still doing dependencies and prepping of the actual server before the installation FYI so there's no real like mastodon's not running yet if you will and I think we did hit a little error um before uh oh no actually we didn't we might hit it here but I wouldn't worry about it yeah this is fetching more gems perfect there we go all pushing through and then another final line and again I'm just doing a lot of copying and pasting here from the join mastodon official install from source doc that's what I'm using right so that's still working great let me check the chat make sure I'm not ignoring anybody okay same exactly yeah I imagine that same is referring to the fact that you have abandoned Jekyll um yeah it was too hard and I even tried to use that kind of a simplified version of omega called wax for exhibits and I liked what it was doing but it was running in jekyll I couldn't get it to run a reclaim cloud which is just insane it shouldn't be that hard okay so there you start seeing the first mention of sidekick which is what I'm learning a bit more of a it's dealing with some of the the processing and I think the activity hub or activity pub that actually makes mastodon federated but it can be a resource hog I'm learning so that's interesting so I think we have a lot of that set up and I think at this point we've hit no real errors and I think at this point yeah we're ready to do the mastodon setup so this is the ruby on rails app setup I believe so let's just see I did it twice so let's not make that mistake going back here and try that again okay now at this point this is the point where you need to have your mail gun issue the issues all worked out your cloud media which I'll see if digital ocean spaces works I'm not sure if it will be my first time trying that your domain name all of that so I have all that set so let's do it okay my domain name is reclaim rocks what do you think about our mastodon server being called reclaim rocks I think it's cool and is this a single user mode I'm going to say no I want this to people to be able to create accounts at reclaim who are associated with this and we'll see where it goes but I want it to be a multi tenant host for many potential accounts so the default is multi tenant which is what I want are you using um docker no I'm not post greenhouse this is all the fault it's nice boom boom boom boom all done same with ravis redis readus I don't know how they pronounce it all the fault don't worry boom do you want to store uploaded files on the cloud yes and that is absolutely a big point you should if you're setting up a mastodon server whether it reclaim or wherever offload your files we've had ours up for like a deus 106 server up for like eight days and it's up to 12 gigs and there's 30 people on it that's a lot and the reason why it's getting so many files and I think Taylor mentioned this is so many of those files are coming in from the federated and caching so we need to set up some rules to stop the caching but that could explode if you have viral videos or other things like that like that's the storage could get really big even if you clear it out month uh weekly so do use especially on reclaim cloud use cloud storage like amazon s3 or in this case I'm going to be using digital ocean do you want to use do you want to store uploaded files on the cloud yes I do there it is digital ocean spaces this is new with version 4.0.2 it wasn't here previously another option is amazon s3 which is what I've used on the deus 106 setup and that was that's working but there's also minio which you can host on reclaim cloud but again reclaim cloud is not an object storage space that's not ideal for that so digital ocean might be your easiest and the best bet so let's try it okay what is the space name this is where this is new to me so the space name is hold on it is this it is basically reclaim rocks let me try this let's see if I got this right reclaim rocks good and then it's in new york city 3 yes space endpoint new york city 3 digital ocean spaces dot com correct space access key is this oh this this might be easier digital ocean spaces so that's the key and then i have to put the secret key which i'm going to have to change because it's going to put this in plain text which is unfortunate but that's fine we're going to do that do you want to access the upload of files from your own domain i kind of do but right now i'm not going to worry about that i'm just going to i because i haven't set it up but i would love to have something like files dot reclaim dot rocks so i'll come back to this but for right now no do you want to send emails i absolutely want to send email oh okay no i don't want to send emails from my local host do not don't listen to me you do not want to send them from your local host you want to use a service like mailgun send grid something else so here it's no and that's the default so go with the default and then you're going to say what and they default all to mailgun which is nice because this is our smtp dot mailgun dot org that's the default port 587 default username is your email address so it's postmaster at reclaim dot rocks because i set up all that on the first go round beautiful my smt password again this will be in clear text so i'm gonna have to change this but um that's fine this is for demonstration purposes at this point oh did they hide it i'm gonna have to delete this all the way and that's long but it almost seems like they hit it i don't know let's see we'll see i don't know what to hit it enough that one they don't show but they do show the secret key which is bizarre smtp i'm just going to use plain open ssl verify mode i'm going to do none um start auto and then the email from is just going to be notifications that reclaim that rocks i'm just dealing with them by default send a test this is beautiful i love that they do this i want to test it and see if it worked send test email to myself so jim groom at gmail.com and then i'll know right now if it worked email cannot be sent try again i think the reason is try again yes the reason is do you want them sent from local is because of that password do you want them sent from local host no yes that's the default default post master at reclaim dot rocks boom that's all correct password this is what i want to get let's start this again i think this is where i went wrong okay plain yes none auto that's fine do you want to send one yes and do i want to send it to jim groom at gmail.com it's always good to make there it is i was right my password was all messed up so the configuration will be written to dot env that production which is beautiful that means all of this stuff will be saved so yes please do if the database already exists this will erase its contents that's fine there's no database it's a brand new install so yes and it is now installing the database with all the various settings the final step is compiling css and js this can be time intensive and consume a lot of ram that's fine we set up our server with four gigs should be plenty and this is working so that is happening it's happening all right so we'll let that run and i'll go back and see space rocks futuristic get rocks not rods that's also true do you all like reclaim that rocks scale of one to ten and i will not accept six if you put six just don't comment if it's six or less don't put anything in this chat okay so i have to say like hit that like and subscribe button and six is not accepted thank you i'm coming to my stream all right and then this is just compiling that's all working it's as good this is another instance i'm loving it and then after we're done with this we're going to exit out and then we're going to set up engine x and that's kind of i've done that enough times now that i'm not too concerned but that's where things can go a little bonkers so we'll see i'm here for it i like it i you like it i want a number uh-oh neither of you are gonna and scale of one to ten reclaim that rocks i was thinking there was going to be a little bit more excitement about it and not lying you want to create an admin user straight away okay heads up on this you do want to create an admin this is the admin for the actual mastodon application right so you do want to do this i'm going to make it reclaim and that is wait i'm going to say yes i do and then are they going to ask me what i username i'm going to make the username reclaim and then the email is going to be this is always interesting for right now i can change this but i'm going to make it myself but i can change that um or i can make other admins so i'm not too worried there's my password okay so i'm going to go i have a document here and i'm going to go there and i'm going to reclaim there's that and what else did i have that's that's the password and the email i need the email it's associated so you need basically the email you've associated with the admin name which is reclaimed from me the email is jim at reclaim hosting comm and then this password copy those all down once you've done that you're going to want to um exit out of this right here and then you're now out of the mastodon user into root and at this point we're going to start with engine x okay so we're going to do this we're going to copy and this is when we start getting into the web server um engine x um which is kind of a a replacement for apache or like light speed it's similar but engine x can be confusing if you don't know it that well so we're going to be copying a version of engine x.conf into um a file called um sites available mastodon slash mastodon so that's what we just did there and then the next step is we're going to do a kind of a sim link so whatever that file has or we update that file with will also reflect in the sites enabled folder so they're basically linking the two files whatever you do to mastodon insights available changes for sites enabled um and that's that we've done that piece now we are going to start engine x we're gonna they're gonna ask us to reload it shouldn't have shouldn't have any problems with this right now at least yet so let's just see it's not active yeah it's never been started so there's no reloading it we just have to do start and control process exited so it doesn't look like engine x is starting i'm not surprised we have to do a couple of things there so let's go in and edit engine x so here yeah we have to change all of these .coms i jump that skip that step um and do all the things that i know we have to do anyway so let's start that so at this point we're going to be editing the mastodon file that we just got copied over into sites available here so i'm going to go into this file and actually for me because i'm not necessarily a command line commie i'm going to go into the config in reclaim cloud and i am going to do a couple of things i'm going to go into um etc right and then engine x where is that that's the file where the engine x files and um configs are right here so i am going to add that to favorites so that will show up here and i can do the same thing for home mastodon live which is where mastodon lives so if i go home mastodon live and i add live to favorites that allows me to access those two folders which i'll need regularly and easily so that's nice okay so i now have um everything installed noise professor what the hell is happening i am such a fan big fan so where i am noise professor just so you know is i've installed pretty much everything including mastodon and now i'm at engine x trying to make sure and this is actually one of the trickiest parts trying to make sure it works cleanly so um let's look at sites available there's two there's a default in the mastodon i found that for me for it to work on reclaim cloud i'm going to go in and edit mastodon but then i'm ultimately going to default i'm delete the default and then rename this mastodon default in fact i can do that right now i'm just going to delete the default and then i'm going to rename mastodon default i know it seems strange and this is probably wonky and not necessary but i know it works so for what it's worth let it be known noise professor amanda and lauren wow three whole four whole watchers big fan so anyway this is the engine x config file which is now called the fault and there's a couple of things we have to do here and it's odd and i can't explain to you entirely why so know that but it did work and it continues to work so at least i can say i'm reclaim cloud do this and you will not complain right it's like you know follow the word and don't ask why so you notice what i'm doing i'm copying the listen here with the ssl http and the listen here for 443 with ssl http and that's basically the hgtps listening codes in apache but this is engine x so it's basically like listen over this port or listen to that i have to get rid of the ssl http in these two lines on or comment out these two and this in this way it will work so very strange the other thing i have to do is i have to rename the domain reclaim rocks which did not get a vote a scale one to ten just people said like it which i don't believe i'm not going to take that personal but i am calling hr shortly reclaim that rocks is going to be our mastodon server name whether or not you like it um and then this is i'm going to find all the places where it says example dot com there are four i know this because i've done this that many times um you're going to change it here on listen to port 80 right the main http on listen to port 443 which is hgtps you're going to change it there and then there's two file structures where you're going to need to change it and we're going to uncomment these lines after we run our um cert bot to get ssl so we'll come back to this file but for all intents and purposes now that i've done this engine x will start and run which is the problem i had right before so i can now save this file okay and if i go back here there's the default file and if i go back to ssh i'm going to try that command again where i did to i tried to restart engine x and let's just do start doesn't look like it likes me right now it doesn't okay so i got to go back oh i know why one more thing yeah this is i've done this a lot and i'm still stupid all right the final thing is i've got to change this engine x comp this is the main one we were editing the default file in sites available i'm going to go back to the main directory engine x and then go to this engine x comp file configuration file and i'm going to open that and you'll remember because it happened seconds ago that i changed the name from default from mastodon to default and here on line 60 i'm going to now go and say i want you to include not all files in that structure i don't know why this doesn't work but it doesn't look for all of them i'm going to say just find in sites enabled the file called default and when i do that and save this all things being equal it should now restart so let's let's try that so i'm going to go here and i'm going to go back to my web ssh and i am going to try it this time and it worked you'll know it worked because it won't give you an error this is good so now engine x is running my temporary changes to that file are going to get us to where we can run the cert bot and then i'm going to do a couple more edits and then we'll be done okay so let's go back to installing from source this is the reload engine x um thank you professor thank you i believe in you how do you feel about the server being called reclaim.rock scale 1 to 10 10 being the highest 1 being the lowest and 6 being unacceptable okay so i did this engine x worked and now i'm going to try and get an ssl cert they give you cert bot engine x slash this with example.com but mine's going to be reclaim.rock scale 1 to 10 so i'm going to put this in to reclaim.rock they're going to ask me for some information like my email i'm going to do reclaim hosting.com boom and then they're going to ask me you know do i bullet terms of service short 3.4 that's so messed up what is 3.4 you don't like it reclaim rocks it really does all right it failed that sucks all right let's see why so requesting a certificate for reclaim.rock performing the following challenges htpo challenge for reclaim rocks i know why it failed this is good i'm taking you through every piece that i forgot and then i relearned you are now living with me okay so it did fail and you're like damn it why did it fail it failed because i didn't turn the damn firewall off on reclaim cloud it's a yes thank you that's see if you have to look the whole thing is lie to me that's the the bottom line lie lie lie yeah it's a 10 maybe a rox but life okay let me let me not get sidetracked by the commentary which is awesome so i am now in my reclaim cloud server instance and there's a place above called settings and if i click on that there is going to be a place on the firewall where i can actually change some settings i should have done this and i didn't yet i want to allow traffic over http and https for both tcp and udp so not having done that i got the fail and that's my bell from my house so there's nothing i could do about it so i'm just gonna have to bear with me because if no one answers it it could get really annoying in here okay so i added both port 80 and 443 which we saw on the listen for the server because that's where it's doing it the fact that they weren't open is why we got the blockage but to be sure i'm going to turn the firewall off all together i do have to remember to turn it back on or else bad things can happen but i do need to turn it off and then i do need to go back to my um command line and then i do need to run the cert bot again and it worked it worked it worked you believed in me and it was true yeah that's that all things being equal and i'm going to check my notes we might have a master dom server at reclaim dot r o x no r o c k s all right so oh no we don't yet i made that mistake before so that's there i'm going to quickly do these two things this is the final two kind of like system start commands and i've forgotten them before but this time i will not so uh permission denied i don't have to worry about that that was my mistake i do that every time because i just become robot mode where i copy and paste and don't read that i didn't need to do that command so anyway i am one command away from potentially having a a live server i am going to go back i did all the commands i needed to do on this installing from source i am going to put the firewall back up and turn that back on now the big piece and i want someone out there in the audience to test this for me is reclaim dot rocks loading is there a master dom server it's 20 seconds behind so i'm gonna have to wait at least 20 seconds to get an answer and i'm really nervous to see if there is that we'll see i don't know will it let will it load the thing is is it's four o'clock so i'm gonna get this thing up and running arguably in record time and then the only thing i'm gonna test is the uploads whether they worked it doesn't work oh no too many oh okay good now stay tuned there's a reason why and that's good or maybe not good i don't know but i had to change something remember i said i had to change things back in the nginx file that's what happened that's why it's not loading so if i go to nginx into sites available and i go into that default now i'm gonna have to actually do a couple of things remember those two lines i uncommented or i commented out i'm gonna have to uncomment them and then these two lines i added i'm gonna get rid of first thing the other thing is now these two ssl cert comment lines need to be uncommented as well so i'm gonna save that and then i'm gonna restart nginx and i still i'm feeling pretty confident but we'll see confidence killed many a spirit so restart nginx because that was definitely the the error we got was an nginx error so oh ready no damn it what did i do wrong am i going wrong i was so confident i'm yeah i that that was not what that was not the the end game i wanted hold on so we did this we did that oh there's one more thing jesus if it's crazy how quickly i forget so what happened is cert bot adds some things um and when they add things where are those things they added because that was one of the things we also ran into a cert bot added is it a double let me just see if i can find this boom boom boom boom a cert bot where are you cert bot yeah there's a place where cert bot might have added some other things but i'm not seeing those here okay give me a second this is this is truly a live performance it is i i've done this and documented you pain in the ass but let me see it's still i i feel i feel under pressure now i i built this all up i'm so close all right gosh let me refresh this nginx we got that reclaim rocks mastodine well known allow all then there's 443 usually the ssl will write another set to the default but i'm not seeing them something in here i wonder still believe me yeah well you're not gonna believe in me for long let's see try clearing your cash there's too many redirects do it last exactly thank you i'm going i'm gonna have to look at something quickly so let me see i'm gonna get out of this and then i'm going to go into this and i'm going to look at my nginx file there because i'm so close utc nginx x sites available i think i did something wrong there so let's see that's default edit the default file and then there's that root home allow all ssl protocols cash uncommented those lines i did keep alive send file boom boom boom use deployment something that's so annoying because there's something in this so here's what i'm going to do and this is kind of tricky but i'm going to do it and i don't care so what i'm going to do is i'm going to grab my config file from one i know that works and then so here's ds 106 social i'm going to go in there and then i'm going to look at the config file there and i'm going to show you what was different sites available there's the default so this is on the ds 106 master down server and you'll notice see this i had a whole bunch of second listens that i commented out but i'm not seeing them on the other one from managed by cert bot see that that's what i'm looking for but i don't see them but there's the server name and then the that i don't even see the the 80 they're at the bottom see this error page okay this is what i'm going to do this is my risk there's an 80 at the top like this whole like first listen one i got rid of it and i'm going to do that again screw it why not reclaim master dom see this i think this is extra so you're so extra okay let me get out of this and i'm going to go into the place no all right i will not give up because noise professor believes in me i'm not going to give up and no one else ranked it 3.4 fuck 3.4 how's going on out there all right anyway default open i am going to do this see this this i think is superfluous i think i've already got that i can't oddly get down get down get down to that piece but i believe that this is already at the very bottom of the of the of the server or am i wrong no it's not on this one let me see one more thing that's okay anyway i'm gonna try it and then i have one more idea yeah see this name ds106 social where is that server name stuff showing up right that's the question is it no it's not server let's just see server name home live public location do do do do do tell me that you want to be free all right i'm gonna see if this goes above that i think that's right this kind of really kind of got weird with the server setup but i think this is gonna fix it i guess i hope obviously this can't be um ds106 social this has to be reclaimed rocks because it does all right i think this is correct now and before i know i'm i'm off on a tangent here forgive me before look at this where does that thing end does it end there no there's no closing here did i delete something in that beginning hold on one second there's that see that no it's right tell me that you want to be free all right all right i don't know i'm confused i'm confused but i'm ready to try because what can happen right so worst thing that can happen just doesn't work but it might and that's what we got a hope springs eternal in the human breast so we're going to restart um engine x system ctl restart and if we don't get any errors that's going to be nice and we did it and then we're going to go here and we're going to see if this let's see that didn't want to go this route why is it different okay so watch what we're going to do i'm going to take the whole reclaim mastodon thing the whole damn thing i'm going to copy that on another file so there's that and then i'm going to go that site's available default good and then i'm going to go into d s 106 social is that whatever you already had yes okay so watch take that ds 106 social and everywhere that it says what it says ds 106 social i'm going to replace it so let's try search edit find ds 106 social no social dot ds 106 study deal no that us jesus okay and i'm going to replace that with reclaim that rocks now that should give me a working a working config file that's the that's the goal isn't it all right so that's on ds 106 social don't need to worry about that and close that so i don't mess it up because that seems to be loading fine and i'm going to go in here and then take this top part let's see hey and it's all right with me i'm gonna try this once again let's see okay engine x restarted that's good okay i gotta start it i gotta try it on a different browser let's try it i think it might be cash there i have to believe no what the hell all right i can't believe this where let's just see one thing all right i'm not giving up this i'm sure you all are done and that's understandable but i am not giving up on this where did i mess up claimed that rocks we claimed that rocks that's all good we claimed that rocks okay so is there a problem with my default file that's going to be the real question did i do something there and not fix it that could be the case all right let's see 60 default all right do i have to actually look at error files live claim rocks live listen server name 136 okay let's just see something here definitely the server is running it's 5118 103 so could this be a dns issue if i unproxy it i can't imagine but let's just see because they could be giving their own ssl certificate but that's not the case damn it uh reclaim rocks so where did i go too many times redirected so that was the error we had previously when i went to do something like this so let me just see system reload let's just try something like this shouldn't make a difference but not giving up okay or don't do yeah there is that okay so that's good big fan noise professor ah so this is reclaim mastodon i put all that stuff in reclaim rocks server name change rocks i think it will did i change did i misspell the domain somewhere that's also possible but it all looks good see this is where i told you the anginex can sometimes let me just see if there's anything where it says added by sir pop managed by sir pot so here's this second piece check this out let's just see i just don't know okay i'm gonna try it uh i don't know but i had some luck with something similar of getting rid of this whole server thing so i'm i don't know if this is like i have my questions but since noise professor believes in me i'm going with it okay that worked so it didn't have a bad configuration and then let me just try one more thing rocks uh oh no it worked yes that's what i'm talking about with anginex and because you believed in me noise professor and you stayed that's why this works right now the anginex stuff can be confusing and i think i need a better explanation but ultimately what fixed it and it worked in different versions in different ways which is why i had mentioned this as i was starting this and i'm 20 minutes over i wanted to be because it's a stupid thing but i do and this is only like that because it cached it will probably load here soon but anyway i'll come back to that but the problem was this yeah amazing i don't know about that could have been a lot better um but oh we want to test something so i'm not gonna forget that because i got sidetracked but the issue was this um for life indeed thank you thank you both for hanging around and you know it feels good to have it fixed so this whole thing here um this i copied from ds106 is mastodon but this stuff was uncommented but when i did the tutorial for setting up 4.0.2 with ds106.social i had to uncomment this whole block but it works on ds106 social without an issue which is why it's just weird um ds106 i'm getting confused ds106 social was the test that never it just a test social.ds106.us is the one that's running but has a different server config in nginx this stuff is not uncommented yet it still works but here it has to be uncommented for it to work isn't that bizarre anyway that was my issue here's the big thing i want to test though and then i do have to go the big thing i want to test is yes that's so cool the big now nginx is exactly amanda um i want to test so remember i created the reclaim user and the login so i have jim at reclaimhosting.com perfect and then i'm going to go to my handy dandy file because i'm going to see if amazon s3 worked that's what i want to look at just so you know that's my final test so i'm got my password for this i'm going to log in so login works which is beautiful and then here is my profile and then this is where i would toot and then if you have uh an admin profile you could administer users and all that like this gives you a lot of overhead you can kind of see some of the different server elements like post-gre hero and sidekick which i'm learning a bunch about it's pretty cool anyway reclaim is for life and it is and it rocks and it rocks for you professor not a six so this is going to be a silly one not a six ever beautiful okay so i'm going to go here and i'm going to find an image and i usually use well let me find a reclaim hosting image claim hosting logo and then i'll do it on this mac and then there's that one put that there oh so what this means is that i now have images going into amazon s3 versus aws s3 or amazon spaces versus aws aws s3 which is huge in terms of simplicity it's so much easier um so i can publish this it worked i could obviously change it to the reclaim logo and all that which i will but the other cool thing and let's look at this quickly is here is digital oceans um spaces area and then i'm going to look at reclaim rocks and it has two items in it and one of them is going to be and it's got some weird file like you can see how the files they are crazy it's like 109 but this is offloading cloud storage to amazon no to digital oceans s3 i mean digital ocean spaces jesus i'm inexact and this god Jesus that file structure is miserable this is the actual image it's on see that it's on digital ocean it worked that's awesome so at least that not all the worst thank you all for uh tagging along and encouraging me i probably would have given up if i hadn't thought that were people there and it would make for a kind of dramatic ending i do have to bolt out of this but that's another mastodon instance installed and anginex is the bogeyman you're right amanda at the same time um reclaim now has mastodon and uh i'll set that up and kind of tweak it in a little bit and then i have to change some passwords and everything else but all using this guide and storing from source you can do it on reclaim cloud as you can see it can kind of be a a bug a bear at some points with anginex but we're close to getting that solved and actually i'm glad to say my documentation that is on my blog and that i'll be turning into documentation for reclaim hosting um will uh have the right at least what made it work here um so this is not um wrong and if anything else to your point it will take us through getting it so anyway that's it you all rule thanks for watching i'm going to end this stream but not before i say yeah