tradicije

joined 2 weeks ago
[–] tradicije@lemmy.zip 7 points 1 day ago (1 children)

Your contribution is noted and landed you a new position at Pettyl Industries!

Read Here

[–] tradicije@lemmy.zip 1 points 1 day ago

Just like all mushrooms are edible once...

[–] tradicije@lemmy.zip 5 points 1 day ago

Yeah, for 40 bucks I get a phone with good specs and a free pillow!

[–] tradicije@lemmy.zip 5 points 1 day ago (2 children)

Maybe not an identical one, but I did find an interesting Note 9 for around $40...

I guess this is foreshadowing...

[–] tradicije@lemmy.zip 4 points 1 day ago (4 children)

Now we're speaking the same language!

[–] tradicije@lemmy.zip 2 points 1 day ago

Thank you for the kind words 🎩

[–] tradicije@lemmy.zip 8 points 1 day ago

You are absolutely fine!

People here, including you, have been very respectful and thoughtful, and I am all for feedback.

I don’t have the knowledge of the whole universe, do I? So please, by all means, I want to hear your critiques, it makes the project better and I learn along the way!

[–] tradicije@lemmy.zip 6 points 1 day ago* (last edited 1 day ago) (7 children)

Nah, an actual UPS with 7kg batteries is way cooler.

But I really appreciate the feedback!

[–] tradicije@lemmy.zip 51 points 1 day ago (4 children)

This is obviously ridiculous.

So I’ll do it.

[–] tradicije@lemmy.zip 15 points 1 day ago (3 children)

Update! Apparently removing the battery also removes half the CPU lol.

I’ll keep you posted!

[–] tradicije@lemmy.zip 7 points 1 day ago (1 children)

And we’re live!

[–] tradicije@lemmy.zip 27 points 1 day ago (4 children)

Yeah, what he said. I was just about to say the exact same thing…

 

This post is an update of the second part of my Moto server series: https://lemmy.zip/post/72142441

Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived.

Some even claimed that a phone needs a battery to work.

Very negative people.

Anyway, I removed it.

Pettyl did not care.

nginx: UP PHP-FPM: UP MariaDB: UP WordPress: UP cloudflared: UP sshd: UP

The battery is currently sitting next to the phone, contributing absolutely nothing to the project.

Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal.

There is, however, one tiny detail the haters may enjoy:

It can’t boot without the battery.

So the official Pettyl disaster recovery procedure is now:

  1. Insert battery
  2. Boot Pettyl
  3. Connect USB power
  4. Remove battery
  5. Pretend this is enterprise infrastructure

The battery is no longer a battery.

It is the starter motor.

I see no problems with this architecture.

Anyway, Part 3 is going great.

 

We did it boys! Battery is no more: https://lemmy.zip/post/72181546

This post is a follow-up to my original post: https://lemmy.zip/post/71885626

Surprisingly, it wasn’t that tough to set up.

My original plan was to install postmarketOS and turn the phone into a proper tiny Linux server. Unfortunately, my Moto E5 Play is the pettyl variant, while the available postmarketOS port is for james. I decided that turning the phone into a brick probably wasn’t an essential part of the project.

So I went with Termux instead.

It’s now running nginx, PHP, MariaDB, WordPress, SSH and cloudflared directly on the phone. Everything starts automatically on boot, and I even made a tiny WordPress plugin for anonymous Today / Total / Online visitor stats.

And yes, the website is being served by the exact phone in the photo.

1 GB of RAM. Somehow this thing is now a production server.

I named it Pettyl, after the device codename.

You can actually visit it at https://moto.dimitrium.org/.

The website is barebones, I plan to push it to the limits. Also, this project will soon be available on my GitHub page https://github.com/tradicije

Next problem: figuring out how long an old Motorola can tolerate my bullshit.

178
submitted 6 days ago* (last edited 2 days ago) by tradicije@lemmy.zip to c/selfhosted@lemmy.world
 

Update is here: https://lemmy.zip/post/72142441

Hey guys, since I got into hosting my own servers, any electronic device I see I wonder - can it become a server?

This is probably not a crazy and new idea with android phones, but I had to share it with you. If you don’t know, there’s this thing called postmarket OS, full linux experience on an android phone.

Of course, not all phones are supported, but a phone like Galaxy Note 9 is a great candidate - it supports LAN over usb, postmarket OS fully supports it (the Exinos version) and setting up a phone as a selfhosted server has it’s real perks. Pis got really expensive, not to mention they don’t have a built-in UPS (phones have batteries), they use slow SD cards, while phones have faster UFS memory, phones draw way less power.

What do you guys think? I will for sure get a used Galaxy Note 9 and explore this idea, and if all goes well, I might even buy more of them and create a cluster.

view more: next ›