Pixelfed Instance

I opened a Pixelfed instance on https://pix.benpro.fr, my account is benoit.

If you have an Activity Pub software (like Mastodon) you can follow me with @[email protected]. And a reminder that you can follow my blog posts with @[email protected] and my toots with @[email protected].

I love Activity Pub.

Quick install guide on a Debian Buster LXD container

Install these packages and follow the very basic official documentation.

# apt install php7.3-intl php7.3-gd php-imagick php-gmp php7.3-zip php7.3-soap composer php7.3-fpm nginx-full mariadb-server redis-server php7.3-bcmath php7.3-curl php7.3-simplexml php7.3-xml php7.3-mysql optipng pngquant jpegoptim gifsicle

Beware to run php artisan key:generate after composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader.

For the database you can do these steps.

mysql> GRANT ALL PRIVILEGES ON pixelfed.* TO [email protected] IDENTIFIED BY '<insertPassword>' WITH GRANT OPTION;
mysql> CREATE DATABASE pixelfed;

You'll need to add a systemd unit to start horizon job queue system.

/etc/systemd/system/pixelfed.service:

[Unit]
Description=Pixelfed task queueing via Laravel Horizon
After=network.target
Requires=php7.3-fpm.service
Requires=redis.service
Requires=mariadb.service
Wants=nginx.service

[Service]
User=www-data
Type=simple
ExecStart=/usr/bin/php /home/pixelfed/artisan horizon
Restart=on-failure

[Install]
WantedBy=multi-user.target

Finally, if you're behind a HTTPS proxy doing the TLS termination you'll need to adapt your nginx configuration.