Build Your Own Mastodon Server on Debian (Step by Step Server Build Guide)

  Рет қаралды 23,205

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 102
@FederatedConsciousness
@FederatedConsciousness 2 жыл бұрын
I love that you're incorporating the meme image and the deadpan humor! Your videos are amazing and the touch of nerd humor is icing on an already delicious cake!
@GlowingTree
@GlowingTree Жыл бұрын
Thanks to your guidance, I successfully set up my own Mastodon instance! Your tutorial was by far the most helpful - detailed, clear, and easy to follow. I truly appreciate it! I also encountered some issues with node version conflicts but was able to resolve them smoothly with the help of ChatGPT-4.
@chriskairalla1854
@chriskairalla1854 2 жыл бұрын
This worked great, thanks for the straightforward instruction in the video and on the blog. Two things that I had to fix in order to get everything working: 1. I had to install imagemagick for image uploading, and 2. I had to downgrade NodeJS to 16.x. I accidentally installed the latest version which was 18.x and that caused some compilation issues. Once I downgraded to 16.x it worked great.
@bagwaa9948
@bagwaa9948 2 жыл бұрын
thanks for this! I had figured out the node issue but the imagemagick issue was driving me nuts as I couldn't see any logs for these errors
@ArniesTech
@ArniesTech 2 жыл бұрын
Now THAT would be the perfect transition to your sponsor Linode 💪😁
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
I thought about having them sponsor it since I was using them anyway, but I completely forgot about it.
@joseph_donovan
@joseph_donovan 2 жыл бұрын
Made my ear lobes tingle with delight. Thank you!
@gastondalmedo9636
@gastondalmedo9636 2 жыл бұрын
wow man finished setting all up and IT WORKS ! 😲 Thx a ton
@gitgudsec
@gitgudsec 2 жыл бұрын
Apart from all the media meltdowns the experience on Twitter is completely unaffected - still the same toxic hellhole it's been for years now. Something tells me the issue is a little deeper than "new CEO bad man".
@rrittenhouse
@rrittenhouse 2 жыл бұрын
I and many others have had "this tweet is unavailable" that come and go with a refresh. While that's not enough to warrant leaving a platform, some people are using this as an exercise to see what this mastodon thing is. We don't know if Twitter is going away. I personally don't think it'll ever go completely away but it will change. Even if it's an under construction page 🤣
@AcidiFy574
@AcidiFy574 2 жыл бұрын
Elon & Twitter is made for each other
@basdfgwe
@basdfgwe Жыл бұрын
There's a couple of issues, there are some technical issues( which is not huge but still annoying). There's now the Twitter blue, Twitter blue comments are taken priority over other Twitter comments by
@the-random1
@the-random1 Жыл бұрын
This aged poorly
@muzikmyke3008
@muzikmyke3008 8 ай бұрын
@@the-random1 How? Twitter is just fine, if not better. Imagine not liking something all of a sudden because the media tells you not to. What a lil bxtch.
@averagemamil4523
@averagemamil4523 2 жыл бұрын
Brilliant & informative - thanks Jay 👏
@TheGeekYT
@TheGeekYT 2 жыл бұрын
Thanks for this extensive tutorial
@peterjansen4826
@peterjansen4826 2 жыл бұрын
Topic suggestion: make your own VPN-server. Find a good server to hire, install Linux on it and use it as a VPN. I think that this might be a great project for many of us and we can share this VPN with friends and familymembers.
@seanlopez3968
@seanlopez3968 2 жыл бұрын
Love the video as always. Just a heads up that Mastodon v4.0.2 requires a newer version of node than is provided by Debian 11 currently. Debian 11 currently uses node 12, while the official mastodon documentation is saying node 16. I can also confirm latest stable node, node 18, also does not work, so the sweet spot is definitely node 16.
@twincitiespcmd
@twincitiespcmd Жыл бұрын
What is the command for installing node 16?
@montunoproductions2848
@montunoproductions2848 Жыл бұрын
Thanks!
@nobloat5702
@nobloat5702 2 жыл бұрын
Wow thank you for this!
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
My pleasure. Literally, this was super fun!
@mohammedfarisi
@mohammedfarisi 2 жыл бұрын
Excellent content. Thank you.
@thekillerb77
@thekillerb77 2 жыл бұрын
Nice video. Thank you! Would be cool to see how to set this up with docker.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
I'm thinking about looking into that too. Sometimes solutions like docker can be TOO easy, but it still might make for an alternative video possibly.
@juhapenttila5733
@juhapenttila5733 2 жыл бұрын
It is so easy,it seems , when you do it 😊,awesome!
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
When this video came out, you're actually seeing like the 7th attempt or so.
@rodrimora
@rodrimora 2 жыл бұрын
How would you go about updating the mastodon version? would the unattended upgrades just take care of it?
@baltakatei
@baltakatei 4 ай бұрын
It would be interesting to see bandwidth costs after the Mastodon has been up for a year.
@x91w
@x91w 2 жыл бұрын
Jay Thanks. For this.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Yes, yes, yes. Super excited to do that actually. It's been on the list for a while (not specific to Mastodon) but other projects keep getting in the way. I am hoping to be caught up very soon, I would definitely like to knock those out. I think it's the most fun video I could ever work on.
@F1re4fect
@F1re4fect Жыл бұрын
My server is up and running, however I'm not getting Federated messages to show up? Any one else have this issue? Or did your external federated posts work immediately after setup?
@jeffreyschlieve590
@jeffreyschlieve590 Жыл бұрын
I used Cloudron to install, worked pretty good, BUT no one was able to join it? any ideas what went wrong?
@candidob8683
@candidob8683 Жыл бұрын
I actually thought twitter went bonkers years ago lol. Mastodon is just one option. There are others. Always great to have options.
@NyneIX9
@NyneIX9 Жыл бұрын
Hi! What are the other options, if you don't mind me asking?
@AcidiFy574
@AcidiFy574 2 жыл бұрын
Ever wanted to do a tutorial on basics of using VS-Codium ???
@chicagoa1432
@chicagoa1432 9 ай бұрын
Great tutorial very easy to understand but unfortunately I tried to do the same step by step it looks like this method is not working anymore after Mastodon update that changed the ruby version and I have been getting error, could you make an updated tutorial I will be much appreciated 👍🏻👍🏻
@twincitiespcmd
@twincitiespcmd Жыл бұрын
I am getting the following error during the email setup: E-mail could not be sent with this configuration, try again. 535 5.7.8 Error: authentication failed: authentication failure. I host my own email server so I am pretty sure I have the right settings. Is there a upgrade or downgrade to the instructions that can help me out on this error?
@PhilReynoldsLondonGeek
@PhilReynoldsLondonGeek Жыл бұрын
You have hit on the very problem I'm having. I really need to get Mastodon working on Debian 12, but I think the OpenSSL issue applies - or there's certainly something too new for compatibility. I am trying to use a Debian 11 VM in the meantime, but it is not provig reliable.
@rayk32
@rayk32 Жыл бұрын
This would've been fun, but I followed the instructions multiple times and the Mastodon site does not come up in the browser. It's a blank page with the Mastodon "M" as the browser tab title. The problem with no full install package with all the compatible software included. I think there is a Docker Compose version.
@myegane49
@myegane49 2 жыл бұрын
the only good video around that news so far.
@laideapril7416
@laideapril7416 Жыл бұрын
Thank you Jay! I followed everything to the latter and you made it look so easy! I need help at the SMTP server. And my question is, does it have to be mail from the domain I'm using? Or I can use an email from another domain. Thank you
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
It doesn’t matter if the domain matches, unless the SMTP server itself has restrictions.
@alexwhite3271
@alexwhite3271 2 жыл бұрын
I ran into an issue with nodejs with the newest version of Mastodon. I updated to newest but that isn't supported either so had to downgrade it an earlier version. I was playing with a cloudron setup but was ready to setup an instance by itself.
@ZacharyFreed
@ZacharyFreed Жыл бұрын
I am Getting a HTTP ERROR 500 any advice?
@Saampson85
@Saampson85 2 жыл бұрын
Looking to increase the posting from 4, I am having a hard time tracking down that info. Is that something you came across while making this video?
@S1lentJoy
@S1lentJoy Жыл бұрын
Jay, many security issues, you dont turn off "root" login? you should probably also only allow certs login
@JasonRundell
@JasonRundell Жыл бұрын
Also, a shared Linode Nanode 1 GB server is not large enough (in RAM I suspect) to compile the mastodon files (mastodon:setup) I didn't try Linode 2 GB, but Linode 4 GB dedicated worked.
@vanvothe4817
@vanvothe4817 2 жыл бұрын
Which distro linux do you use on your laptop?
@sandermann
@sandermann 2 жыл бұрын
Supercool, thx, subscription...done
@JasonRundell
@JasonRundell Жыл бұрын
Node version 16 is required for compiling the mastodon files (mastodon:setup)
@aditya-the918blog
@aditya-the918blog 2 жыл бұрын
Hi, I followed your tutorial but keep getting HTTP ERROR 500, I was able to see the NGINX configuration place holder but after the remaining steps I don't see my mastodon installation what would you advice me to do? My dns is propagated
@aditya-the918blog
@aditya-the918blog 2 жыл бұрын
seems to be an SSL issue, can you guide what can be done?
@christian.mathis
@christian.mathis 2 жыл бұрын
did you solve it? That happens to me too.
@aditya-the918blog
@aditya-the918blog 2 жыл бұрын
@@christian.mathis I completely chucked this video method and just followed the official documentation process, much easier and quicker result. From this video you can actually pick up a few things, like usermod, not installing in root folder(but i think official documentation does it in home, I dont know if they are the same folder structure) ya but faster and better
@Dmkjr
@Dmkjr 2 жыл бұрын
Jay, I've done this several times, but I'm getting stuck on setting up NPM with Mastodon. I've tried both http and http ports for the reverse proxy, but it's not functioning. It just routes to the NGINX default config screen. Any ideas?
@MarkMenger
@MarkMenger 2 жыл бұрын
since the NGINX config part of the example uses hostname-based routing, you may encounter this issue if you're trying to access the service using your server's IP address rather than the name in the 'server_name' directive. a quick fix can be to add an appropriate entry in your local hosts file.
@hotstovejer
@hotstovejer 2 жыл бұрын
I literally went down the federated services rabbit hole last night. Use that bandwidth!
@darthmaster6938
@darthmaster6938 2 жыл бұрын
Where do we find additional security information to add to the server ?
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Basically just the other videos I have on the channel. There's a few that will cover this, so that should point you in the right direction.
@laideapril7416
@laideapril7416 Жыл бұрын
Hi Jay, Thank you for this great video. Currently, Linode has Mastodon in its marketplace. I did direct installation from there when I visit my ip address I got the response you got (Nginx) at Time 39:00 I used a sub domain, but visiting the site I still can't access mastodon. What would you suggest I do.
@NyneIX9
@NyneIX9 Жыл бұрын
Did you ever figure it out?
@laideapril7416
@laideapril7416 Жыл бұрын
@@NyneIX9 not exactly. I used Digital Ocean instead
@alanjrobertson
@alanjrobertson 2 жыл бұрын
Nice video, but wouldn't this also work really nicely with Docker given how many different services need setup? Nginx Proxy Manager also makes it incredibly easy to setup reverse proxies.
@dollarbar1
@dollarbar1 11 ай бұрын
Uh oh. Noob here. Having ruby version troubles. Heard they're notorious for noobs. Just went full circle with ruby version and rbenv not using local version installed specified in Gemfile.
@dollarbar1
@dollarbar1 11 ай бұрын
After going full circle and becoming an amateur ruby user after 2 days, I just changed the config in the Gemfile. Call it good.
@gaffa65
@gaffa65 2 жыл бұрын
Takk!
@BlaecHrim
@BlaecHrim 2 жыл бұрын
hostnamectl set-hostname works also
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
It does, kinda. It's not thorough and that command only does half the job. On some distributions I've seen it not even alter the proper file at all. But another hesitation with showing that in videos is that it doesn't update /etc/hosts, so I figure if you have to use a text editor for that, you may as well for the other. Still a good mention on your end, thanks!
@stephenrochester6309
@stephenrochester6309 Жыл бұрын
This video is 7 days old. Following the instructions to the letter will NOT work. This is how fast technology moves in reality. Now I am trying to figure out if nginx needs something or I need to switch to a particular version of node… it’s late and I am tired!
@kote315
@kote315 2 жыл бұрын
I want Elon Musk to try to buy KZbin, so that bloggers like you will release a video on installing PeerTube. In fact, I just don’t fully understand how to run several services at the same time, on one physical server, so that they don’t interfere with each other, there are no problems with certificates, and there is access both from the local network and from outside (there are nuances with DNS).
@darthmaster6938
@darthmaster6938 2 жыл бұрын
Sorry I havent started watching the video yet but will watch it all. My question is can you run multiple Mastodon instances on 1 VM ? Ignore if answered in the video thanks.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Actually, I don't know the answer to that. If you had two different domains and databases, and kept everything in separate places, and also the instance had enough resources for both - then I struggle to think of any reason you couldn't.
@anirbandutta1371
@anirbandutta1371 2 жыл бұрын
You can always dockerize
@myegane49
@myegane49 2 жыл бұрын
could we have similar tutorials on Peertube, XMPP, Matrix, Jitsi, Searx and Openvpn please?
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Short answer: Yes. Long answer: My content schedule is pretty much set in stone until the end of December, but after that I'm already planning on doing more setup videos. And a few of those you mentioned are on the list already. Great stuff coming!
@infocus-media
@infocus-media 2 жыл бұрын
Man you have changed, I can't put my finger on it!!!, do you look younger, or older!, I am not sure!
@whoismikeyuk
@whoismikeyuk Жыл бұрын
[joining server in...]
@jimbrea200
@jimbrea200 Жыл бұрын
you are very good in your tutorials BUT YOU HAVE A SERIOUS PROBLEM SOME PEOPLE DO NOT LIKE TO USE MANY COMMANDS AND USE VIRTUAL WEBMIN OTHERS USE OTHERS ETC, be more modern in your tutorials please
@TroyBrisbin67
@TroyBrisbin67 2 жыл бұрын
LOL. Mastodon. Sounds pretty extreme to me.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
They are, they were known to grow very large when they walked the Earth. Fossil evidence is teaching us some interesting things.
@DerGedankenleser
@DerGedankenleser 2 жыл бұрын
Step by Step >>> "I leave this up to you" ... 200 million sperm and THIS DUDE WON????
@TestingAnything
@TestingAnything Жыл бұрын
Thanks for this - I followed the process and all looked good except for some reason the assets (in var/www/mastodon/system) didn't precompile. After a bit of uninstalling yarn and a couple of Ruby libraries to get versions that worked I got the assets in the directories. Then it looked great. I had to install imagemagick as it was missing. But now I can't upload media to toots - I get a "500 Error processing thumbnail for uploaded media". I've searched Google extensively and can't find a solution. I reinstalled imagemagick from source - but no luck. Is there a definitive software version list out there that I could compare with my set up? Maybe something got upgraded or downgraded and that's the problem? Or is there a directory missing from my setup? There's nothing in the logs (journalctl etc.) Been trying for days to resolve this. My head hurts from scratching. Any ideas anyone?
@TestingAnything
@TestingAnything Жыл бұрын
Well scratch all that. In desperation, I uninstalled it from source *and* apt. I had ImageMagick installed both ways apparently. Then I installed via apt. And bingo! It worked. So it looks like installing from source is a no-no or at least installing both ways?)
@mycommodorecollection
@mycommodorecollection 2 жыл бұрын
Yea, can’t have that free speech going on. smh
@_den_
@_den_ 2 жыл бұрын
Twitter has been developing for almost 15 years, and you propose to change it to this unknown crap? Bon Voyage )
@hotstovejer
@hotstovejer 2 жыл бұрын
Everything was "unknown" at some point.
@Grant_S_M
@Grant_S_M 2 жыл бұрын
Twitter is fascist-owned now. Time to leave.
@jasonbaldini
@jasonbaldini 2 жыл бұрын
Twitter was commie and now it’s not. Elon by far is no right wing only idiots think that. He’s a typical billionaire leftie that just says what he thinks. I think the point isn’t slamming mastodon but instead “why now”? Why does Twitter suck now? Answer is that it doesn’t, evil people are held accountable no matter what side they’re on so I’m looking forward to using Twitter. Setting up some cool open source software is great too, for experience.
@Grant_S_M
@Grant_S_M 2 жыл бұрын
@@jasonbaldini Musk is a RW scumbag. He told people to vote for Rs and worships Putin. Use your head.
@Grant_S_M
@Grant_S_M 2 жыл бұрын
@@paddymurphy-oconnor8255 Twitter protects fascists and billionaire mobsters. Always has. Now it's 1000X worse because one of them owns it.
@FinderX
@FinderX 2 жыл бұрын
I create a user in the server learnlinux.socia, but today can't singup (login) with my user and pass... I don't know, maybe Jay is testing something...
@ntn888
@ntn888 2 жыл бұрын
just a heads-up; oracle's OCI has free 4vcore/24Gig ram VMs instances which is free for this purpose. lookup "VM.Standard.A1.Flex"
@guidodipilla3084
@guidodipilla3084 2 жыл бұрын
Very informative as always... Thanks Jay...
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 30 М.
Каха и лужа  #непосредственнокаха
00:15
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 103 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,6 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 39 МЛН
Recover Deleted Files in Windows 11 Free Method
12:59
Evanation
Рет қаралды 187
Systemd Deep-Dive: A Complete, Easy to Understand Guide for Everyone
47:41
Nextcloud: Complete Setup Guide
41:01
Learn Linux TV
Рет қаралды 189 М.
Why I'm not telling you to host your own Mastodon
9:17
Veronica Explains
Рет қаралды 39 М.
Building your own Git Server with Gitea on AlmaLinux
39:52
Learn Linux TV
Рет қаралды 27 М.
Mastodon Is More Than A Twitter Replacement
13:04
Paige Saunders
Рет қаралды 10 М.
Your Old PC is Your New Server
11:07
Linus Tech Tips
Рет қаралды 6 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 672 М.
10 Linux Terminal Tips and Tricks to Enhance Your Workflow
44:16
Learn Linux TV
Рет қаралды 97 М.
Каха и лужа  #непосредственнокаха
00:15