So I’ve been scratching my head for two days trying to get my own lemmy server up and running.

I have limited server hosting experience but I used to design html websites back in high school through wordpress and was able to successfully set up my own mastadon instance so I’m pretty decent at following instructions, but what keeps tripping me up is ansible and how the heck it works.

The instructions (https://github.com/LemmyNet/lemmy-ansible) are telling me to install ansible on my local machine using python3. On my windows machine I installed ansible using python but when i type the ansible command into terminal it gives me no command found. Is linux required as a host machine?

I have an account over at digitalocean and I’m willing to host my own ubuntu machine over there to get my instance running but I cannot for the life of me figure out how ansible is supposed to set up a server on my windows machine. ANY help would be GREATLY appreciated… I’m tearing my hair out and feel incredibly stupid right now :D

2 points

Ansible runs on your local machine, but it executes the setup on your (Linux) server remotely via SSH. I’d definitely recommend the Ansible setup, it was the easiest I tried. Are you able to SSH into your server already?

permalink
report
reply
1 point

Stop what you are doing and use https://github.com/ubergeek77/Lemmy-Easy-Deploy

It is super easy this way.

permalink
report
reply
1 point

I just set one up using docker. Went surprisingly smoothly.

permalink
report
reply
1 point

Well the server to run lemmy must be at least from that repo debian based. (Ubuntu or debian). Per the requirements.

Anisvle prolly could run on windows. Never tested.

permalink
report
reply
1 point

Not sure how ansible works on Windows but you could use Windows Subsystem for Linux, install ansible on that and then off you go.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.5K

    Monthly active users

  • 3.3K

    Posts

  • 71K

    Comments