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

  Рет қаралды 22,664

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 102
@FederatedConsciousness
@FederatedConsciousness Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Now THAT would be the perfect transition to your sponsor Linode 💪😁
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
I thought about having them sponsor it since I was using them anyway, but I completely forgot about it.
@gitgudsec
@gitgudsec Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 6 ай бұрын
@@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.
@joseph_donovan
@joseph_donovan Жыл бұрын
Made my ear lobes tingle with delight. Thank you!
@averagemamil4523
@averagemamil4523 Жыл бұрын
Brilliant & informative - thanks Jay 👏
@gastondalmedo9636
@gastondalmedo9636 Жыл бұрын
wow man finished setting all up and IT WORKS ! 😲 Thx a ton
@seanlopez3968
@seanlopez3968 Жыл бұрын
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?
@thekillerb77
@thekillerb77 Жыл бұрын
Nice video. Thank you! Would be cool to see how to set this up with docker.
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
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.
@rodrimora
@rodrimora Жыл бұрын
How would you go about updating the mastodon version? would the unattended upgrades just take care of it?
@baltakatei
@baltakatei 3 ай бұрын
It would be interesting to see bandwidth costs after the Mastodon has been up for a year.
@TheGeekYT
@TheGeekYT Жыл бұрын
Thanks for this extensive tutorial
@peterjansen4826
@peterjansen4826 Жыл бұрын
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.
@chicagoa1432
@chicagoa1432 7 ай бұрын
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 👍🏻👍🏻
@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.
@S1lentJoy
@S1lentJoy Жыл бұрын
Jay, many security issues, you dont turn off "root" login? you should probably also only allow certs login
@montunoproductions2848
@montunoproductions2848 Жыл бұрын
Thanks!
@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.
@jeffreyschlieve590
@jeffreyschlieve590 Жыл бұрын
I used Cloudron to install, worked pretty good, BUT no one was able to join it? any ideas what went wrong?
@AcidiFy574
@AcidiFy574 Жыл бұрын
Ever wanted to do a tutorial on basics of using VS-Codium ???
@mohammedfarisi
@mohammedfarisi Жыл бұрын
Excellent content. Thank you.
@Saampson85
@Saampson85 Жыл бұрын
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?
@nobloat5702
@nobloat5702 Жыл бұрын
Wow thank you for this!
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
My pleasure. Literally, this was super fun!
@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.
@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.
@alexwhite3271
@alexwhite3271 Жыл бұрын
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.
@juhapenttila5733
@juhapenttila5733 Жыл бұрын
It is so easy,it seems , when you do it 😊,awesome!
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
When this video came out, you're actually seeing like the 7th attempt or so.
@JasonRundell
@JasonRundell Жыл бұрын
Node version 16 is required for compiling the mastodon files (mastodon:setup)
@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?
@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?
@x91w
@x91w Жыл бұрын
Jay Thanks. For this.
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
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.
@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?
@vanvothe4817
@vanvothe4817 Жыл бұрын
Which distro linux do you use on your laptop?
@myegane49
@myegane49 Жыл бұрын
the only good video around that news so far.
@alanjrobertson
@alanjrobertson Жыл бұрын
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.
@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
@ZacharyFreed
@ZacharyFreed Жыл бұрын
I am Getting a HTTP ERROR 500 any advice?
@darthmaster6938
@darthmaster6938 Жыл бұрын
Where do we find additional security information to add to the server ?
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
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.
@BlaecHrim
@BlaecHrim Жыл бұрын
hostnamectl set-hostname works also
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
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!
@dollarbar1
@dollarbar1 10 ай бұрын
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 10 ай бұрын
After going full circle and becoming an amateur ruby user after 2 days, I just changed the config in the Gemfile. Call it good.
@hotstovejer
@hotstovejer Жыл бұрын
I literally went down the federated services rabbit hole last night. Use that bandwidth!
@Dmkjr
@Dmkjr Жыл бұрын
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 Жыл бұрын
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.
@sandermann
@sandermann Жыл бұрын
Supercool, thx, subscription...done
@aditya-the918blog
@aditya-the918blog Жыл бұрын
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 Жыл бұрын
seems to be an SSL issue, can you guide what can be done?
@christian.mathis
@christian.mathis Жыл бұрын
did you solve it? That happens to me too.
@aditya-the918blog
@aditya-the918blog Жыл бұрын
@@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
@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!
@darthmaster6938
@darthmaster6938 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
You can always dockerize
@gaffa65
@gaffa65 Жыл бұрын
Takk!
@myegane49
@myegane49 Жыл бұрын
could we have similar tutorials on Peertube, XMPP, Matrix, Jitsi, Searx and Openvpn please?
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
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!
@kote315
@kote315 Жыл бұрын
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).
@infocus-media
@infocus-media Жыл бұрын
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 Жыл бұрын
LOL. Mastodon. Sounds pretty extreme to me.
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
They are, they were known to grow very large when they walked the Earth. Fossil evidence is teaching us some interesting things.
@DerGedankenleser
@DerGedankenleser Жыл бұрын
Step by Step >>> "I leave this up to you" ... 200 million sperm and THIS DUDE WON????
@mycommodorecollection
@mycommodorecollection Жыл бұрын
Yea, can’t have that free speech going on. smh
@_den_
@_den_ Жыл бұрын
Twitter has been developing for almost 15 years, and you propose to change it to this unknown crap? Bon Voyage )
@hotstovejer
@hotstovejer Жыл бұрын
Everything was "unknown" at some point.
@Grant_S_M
@Grant_S_M Жыл бұрын
Twitter is fascist-owned now. Time to leave.
@jasonbaldini
@jasonbaldini Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@paddymurphy-oconnor8255 Twitter protects fascists and billionaire mobsters. Always has. Now it's 1000X worse because one of them owns it.
@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?)
@FinderX
@FinderX Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Very informative as always... Thanks Jay...
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 28 М.
Linux New User Guide: 10 Things I Wish I Knew
23:31
Learn Linux TV
Рет қаралды 461 М.
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 56 МЛН
Mastodon Is More Than A Twitter Replacement
13:04
Paige Saunders
Рет қаралды 9 М.
I Made a Mastodon Server
8:49
Action Retro
Рет қаралды 22 М.
Your Old PC is Your New Server
11:07
Linus Tech Tips
Рет қаралды 6 МЛН
Essential First Steps for Every New Linux Server Build
20:39
Learn Linux TV
Рет қаралды 176 М.
Linux Crash Course - Understanding Logging
29:10
Learn Linux TV
Рет қаралды 49 М.
Beginner's Guide: 15 Essential Tweaks for New Fedora Workstation Users
43:19
How to Set Up a Linux Home Server from Start to Finish!
1:04:59
hoff._world
Рет қаралды 35 М.
Linux from Scratch
2:35:42
Titus Tech Talk
Рет қаралды 178 М.