Posts
For some reasons, I decided to use FreeBSD on my laptop. Several times have I tried it in the last few years. Several times have I stopped after the first issue that I felt was sign of it not being built for me.
This time, I’ll go for at least a whole month of using it. So I can really decide if I keep using it ; or switch back to OpenBSD.Continue reading...
My daily routine when it comes to staying informed of what happens in the world is to read RSS feeds from various sources. To do so, I created an account on Feedly and use their iOS App. But I noticed that I often “forget” to launch the app ; whereas I check Mastodon several times a day. So I decided to configure a Bot that will parse my RSS feeds and publish them on my Masto Home page.Continue reading...
I’m using KeePassXC to manage my secrets. But when I log into my OpenBSD laptop, I’m still asked to enter my SSH passphrase to fill-in ssh-agent(1). Somehow, it’s great ; maybe other system don’t even propose that feature out of the box. But what if KeePassXC could know about my passphrase(s) and interact with ssh-agent(1). Well, it can.Continue reading...
https://www.howtoforge.com/how-to-install-mastodon-social-network-with-docker-on-ubuntu-1804/#step-install-docker https://alien.slackbook.org/blog/slackware-cloud-server-series-episode-7-decentralized-social-media/ rm -r /home/containers/mastodon mkdir -p /home/containers/mastodon/{postgresql,redis,public/system,els} chown -R 991:991 /home/containers/mastodon/public
mkdir -p ~/sources/mastodon-local && cd ~/sources/mastodon-local wget -O docker-compose.yml.orig https://github.com/mastodon/mastodon/raw/main/docker-compose.yml wget https://github.com/mastodon/mastodon/raw/main/docker-compose.yml vim docker-compose.yml
wget https://raw.githubusercontent.com/mastodon/mastodon/main/.env.production.sample cp .env.production.sample .env.production
docker-compose build
generate passwords tr -dc ‘[:alnum:]’ </dev/urandom | fold -w 20 | head -n 5 docker run –rm –name postgres-bootstrap -v /home/containers/mastodon/postgresql:/var/lib/postgresql/data -e POSTGRES_PASSWORD=“pH8zwxLqpRRISGngF5bG” -d postgres:14-alpine
docker exec -it postgres-bootstrap psql -U postgres (…) postgres=# CREATE USER mastodon WITH PASSWORD ’noaFFyTCW7ghG0P8haL4’ CREATEDB; exit CREATE ROLE postgres-# \qContinue reading...
Transfert photos from iPhone to SFTP server $ ssh-keygen -C "PhotoSync access key" -t ed25519 -f ~/.ssh/photosync # groupadd -g 4010 photosync # usermod -G photosync ptijo # useradd -m -c "PhotoSync Joel Carnat" -d /home/photosync/ptijo -g photosync -s /sbin/nologin -u 4000 $(date | sha512 | cut -c 1-14) # chmod 0770 /home/photosync/ptijo # install -D -g photosync -m 0644 -o d645a1022127e9 ~ptijo/.ssh/photosync.pub ~d645a1022127e9/.ssh/authorized_keys # /etc/ssh/sshd_config # rcctl reload sshd !Continue reading...