zergling_man

u/zergling_man@lemmy.perthchat.org
4 posts · 80 comments

Recent posts

Recent comments

How do I figure out which parts of a guide should be followed and which ones shouldn't? If ignoring a part makes the guide work better then it's a bad guide and you should find a better one.ツ

I haven't gotten it to work yet so I disagree. If you systemctl start nginx, can you access localhost:80? If so, success, you've run nginx. Very simple.

It doesn't tell you to actually run nginx, it assumes it will automatically run when installed. I don't know why, that sounds like dumb behaviour even if it were correct. You are right about the guides being trash.

I recommend getting used to package manager (apt, dpkg) and system daemon/init system (systemd - accessed via systemctl) and then ignoring that guide. Installing and running nginx isn't complex enough to warrant a guide; installing packages and running services, in general, are just. Configuring nginx, however... If you know the concepts, it's pretty easy. The concepts are hard.

Look in /etc/nginx/nginx.conf, it probably includes ./sites-available/*.conf, look in there for ssl_certificate(_key) that mentions that fullchain.pem, remove/comment(#) and restart nginx. It may still bitch about not having a cert for ssl, in which case take that out of the listen directives too.

putty

That's your problem. Putty does keys differently to normal ssh.

ansible

docker

.

So, why can't you install lemmy? I'm going to assume you're using ubuntu. If you are willing to swap to arch (which I think DO offers), I recommend it. Get an AUR helper installed (a bit of hassle, I like trizen) and install lemmy from AUR. You'll need to bump the commit unless you like 0.17.3. I'll be doing that tonight so I can post relevant bits. If not, post errors.

Or just keep doing containers so you can have weird and wonderful errors like no dns.