this post was submitted on 27 Dec 2023
55 points (89.9% liked)

Selfhosted

40444 readers
969 users here now

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!

founded 2 years ago
MODERATORS
 

I tried earlier today and I had no luck actually getting an instance running

It would help if the explanation was specific to a raspberry pi

you are viewing a single comment's thread
view the rest of the comments
[–] RCTreeFiddy 9 points 11 months ago (1 children)

And which step in this process did you get stuck, and what were the errors, if any?

You gotta give us some more info here.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

Step 7. I dont have the errors now but I don't think I had ansible or ssh set up correctly

I dont really understand it as this is the first thing I am trying to selfhost other than a minecraft server.

[–] RCTreeFiddy 6 points 11 months ago* (last edited 11 months ago) (2 children)

SSH may be installed on the pi but may need to be enabled. That was the second to last bullet point in the requirements. The final on being to install Ansible. If you did not get the requirements taken care of, installation will not be successful.

Please first try to SSH into your pi. Once you have that done, you should install Ansible. After that, you should be able to run the playbook from step 7 and we can proceed from there.

[–] [email protected] 1 points 11 months ago (1 children)

Do I do that from my normal pc? I've never used ssh before

[–] RCTreeFiddy 13 points 11 months ago (1 children)

I’m not trying to be mean, but I think you might be trying to jump straight into the deep end before learning to swim. While the commands have been included in the guide in order for you to be able to install this, it really does help to understand what those commands do, and what they mean. I suggest first getting to know your pi a little bit better, learning how to get SSH going on that and then moving on to installing Ansible. There’s information on the raspberry pie website on how to get SSH enabled on your pi.

[–] [email protected] 1 points 11 months ago (3 children)

Alright, thanks for trying to help. Will I need ssh on my main pc to get it to work on my pi?

[–] RCTreeFiddy 5 points 11 months ago

It should already be there if it’s a Win or Linux, you just need to enable SSH on the pi, then you can remote into it by running this from a command line / shell:

ssh [email protected]

Where ‘pi’ is your user on your pi, and ‘1.2.3.4’ is the IP address or hostname for the pi.

Just want to add too that installing and hosting something like Lemmy is not really a beginner task. I’m not trying to discourage, quite the opposite. You should just know this will be a challenging endeavor, but will be rewarding once you do complete it, and you will learn a lot in the process.

[–] RCTreeFiddy 3 points 11 months ago* (last edited 11 months ago) (1 children)

No not really. You first enable it on the raspberry pie. Then you access your raspberry pie from your normal computer by running this command in your command line or shell: ssh [email protected] where ‘user’ is your raspberry pi user (pi by default), and ‘1.2.3.4’ is the ip address of the pi.

[–] muntedcrocodile 2 points 11 months ago (1 children)

Bold of u to assumw they are using linux as there main pc os. If they are using windows i beleive it doesnt come with an ssh client.

[–] PeachMan 2 points 11 months ago (1 children)

You can SSH using command line. I do have a Windows Pro license, but I THINK that it's not exclusive to Pro....

[–] muntedcrocodile 1 points 11 months ago (1 children)

Huh i vagly remember needing putty but i havnt used windows in almost 5years now.

[–] PeachMan 2 points 11 months ago

Yeah I also installed putty a long time ago, I forget if it was actually necessary or if I was just afraid of command line back then.

[–] [email protected] 2 points 11 months ago

Yeah, legit, I've messed around with this kind of thing before, and I wouldn't attempt to run lemmy myself. Major pain in the ass.

[–] [email protected] 0 points 11 months ago

Also in the comment this one is replying to, I meant to say set up correctly