<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>pixelfed &amp;mdash; mixt</title>
    <link>http://mixt.qwazix.com/tag:pixelfed</link>
    <description></description>
    <pubDate>Thu, 16 Apr 2026 05:44:52 +0300</pubDate>
    <item>
      <title>Pixelfed installation on ubuntu 18.04</title>
      <link>http://mixt.qwazix.com/pixelfed-installation-on-ubuntu-18-04</link>
      <description>&lt;![CDATA[This is a guide on how to install #pixelfed on ubuntu 18.04 since that is a distribution most probably to find on cheap VPS&#39;s.&#xA;&#xA;Preparation&#xA;&#xA;In most servers this stuff is pre-installed, but when you just install ubuntu server with no extra options they are missing. There&#39;s no harm trying, worst that can happen is to get an &#34;already installed&#34; message.&#xA;&#xA;In some cases (minimal default installation) you will need to add the add-apt-repository command. I also had to install the https transport for apt (that is a program that allows apt to download over https instead of http) because some newer repositories require it. Do this now because sometimes an installation might fail halfway through if it&#39;s not installed and that&#39;s a tough situation to get out of.&#xA;&#xA;sudo apt install software-properties-common apt-transport-https&#xA;&#xA;and the trash command so that you don&#39;t actually delete things permanently with rm&#xA;&#xA;sudo apt install trash-cli&#xA;&#xA;Then you can use trash useless-filename-here to delete stuff.&#xA;&#xA;I like the micro editor because it uses the modern GUI editor conventions in the terminal (such as Ctrl+C, Ctrl+V for copy and paste).&#xA;&#xA;  The second command adds micro to PATH for all users because for some reason /snap/bin is not in the&#xA;path for every user.&#xA;&#xA;sudo snap install micro --classic&#xA;sudo sed -i &#39;s#&#34;$#:/snap/bin&#34;#&#39; /etc/environment&#xA;or if that doesn&#39;t work&#xA;&#xA;curl https://getmic.ro | bash&#xA;&#xA;Installation of dependencies&#xA;&#xA;First add php ppa&#39;s. This step adds newer php versions to this old ubuntu because pixelfed doesn&#39;t run with older ones.&#xA;sudo add-apt-repository ppa:ondrej/php&#xA;(The ondrej apache ppa is not required but the ppa maintainer recommends adding it)&#xA;&#xA;Then add mariadb (mysql-equivalent) repositories. The same goes here, pixelfed requires newer versions.&#xA;&#xA;sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8&#xA;sudo add-apt-repository &#39;deb [arch=amd64,arm64,i386,ppc64el] http://ftp.cc.uoc.gr/mirrors/mariadb/repo/10.2/ubuntu xenial main&#39;&#xA;&#xA;Refresh caches&#xA;&#xA;sudo apt update&#xA;    &#xA;Upgrade what can be upgraded&#xA;&#xA;sudo apt upgrade&#xA;&#xA;Answer yes to the prompt&#xA;&#xA;Install nginx&#xA;sudo apt install nginx&#xA;Install php and mysql&#xA;sudo apt install php7.3 mariadb-server&#xA;You might need to remove apache.&#xA;sudo apt remove apache2&#xA;If it says it&#39;s not installed don&#39;t worry about it, all is well.&#xA;&#xA;Install other required modules&#xA;sudo apt install imagemagick composer redis-server jpegoptim optipng pngquant php7.3-xml php7.3-pdo php7.3-json php7.3-ctype php7.3-xml php7.3-mbstring php7.3-gd php7.3-tokenizer php7.3-bcmath php7.3-curl php7.3-zip unzip php7.3-pdo php7.3-mysql php7.3-intl php7.3-fpm&#xA;&#xA;Install mail transport agent so that pixelfed can send confirmation emails.&#xA;sudo apt install postfix&#xA;In the dialog box that appears press Tab and then Enter to choose Ok and then choose Internet site from the list using the arrow keys on your keyboard and then press Enter to confirm. In the next page enter the name of your instance, e.g. myinstance.name.&#xA;&#xA;At some point you will probably need to monitor processes and free memory so install htop before you actually need it, at which point will probably be impossible to do the installation&#xA;sudo apt install htop&#xA;Configuring nginx&#xA;&#xA;I prefer to run nginx as a user I can log in to so now we will do that:&#xA;&#xA;Create a new user pixelfed&#xA;sudo useradd -m pixelfed&#xA;Set his default shell to bash&#xA;sudo chsh pixelfed -s /bin/bash&#xA;Edit apache nginx config so that it runs using that user&#xA;sudo micro /etc/nginx/nginx.conf&#xA;Find and replace user nginx; with user pixelfed;. Save (Ctrl+S) and close (Ctrl+Q) the file.&#xA;&#xA;Also we need to change the php-fpm user to pixelfed&#xA;sudo micro /etc/php/7.3/fpm/pool.d/www.conf&#xA;Find all occurences of www-data and change them to pixelfed (use kbdCtrl/kbd+kbdF/kbd). There are two on lines 23 and 24 also two on 47 and 48&#xA;&#xA;Change the web server root directory to the public directory of the pixelfed repository&#xA;sudo micro /etc/nginx/sites-available/default&#xA;Replace /var/www/html with /home/pixelfed/pixelfed/public.&#xA;&#xA;Being here, you should also uncomment the php directives&#xA;&#xA;        #location ~ \.php$ {&#xA;        #       include snippets/fastcgi-php.conf;&#xA;        #&#xA;        #       # With php-fpm (or other unix sockets):&#xA;        #       fastcgipass unix:/var/run/php/php7.0-fpm.sock;&#xA;        #       # With php-cgi (or other tcp sockets):&#xA;        #       fastcgipass 127.0.0.1:9000;&#xA;        #}&#xA;should become&#xA;        location ~ \.php$ {&#xA;               include snippets/fastcgi-php.conf;&#xA;        &#xA;               # With php-fpm (or other unix sockets):&#xA;               fastcgipass unix:/var/run/php/php7.-fpm.sock;&#xA;        #       # With php-cgi (or other tcp sockets):&#xA;        #       fastcgipass 127.0.0.1:9000;&#xA;        }&#xA;Notice that two of the # remain and that php7.0 became php7.3 &#xA;&#xA;Configuring php&#xA;&#xA;Change php max upload size (how large a file is allowed to be uploaded)&#xA;sudo micro /etc/php/7.3/apache2/php.ini&#xA;Search the file for uploadmaxfilesize and postmaxsize and change to 80M and 120M respectively. You can go larger and just configure pixelfed to limit the sizes but I think 80M is a reasonable size. You can also increase the memory limit to 512M or maybe half your vps&#39;s  RAM.&#xA;Save and close the file.&#xA;&#xA;Restart nginx and php-fpm&#xA;sudo systemctl restart nginx&#xA;sudo systemctl restart php7.3-fpm.service &#xA;Configuring MariaDB&#xA;&#xA;&lt;!--&#xA;Set a root password for your mariadb installation&#xA;&#xA;   sudo mysqlsecureinstallation&#xA;&#xA;The first question requires to enter the password for the root user of MariaDB, if you have set one, but we haven&#39;t, so press enter.&#xA;Then enter a secure password for your root user and make sure to keep it somewhere safe.&#xA;Follow the rest of the instructions and answer yes everywhere. &#xA;&#xA;This doesn&#39;t seem to be required on MariaDB 10.2&#xA;--  Log in to mysql as root&#xA;sudo mysql&#xA;Enter the mysql root password as you entered it above.&#xA;&#xA;Create a pixelfed database and user and give the user permissions. On the prompt that appears&#xA;    CREATE SCHEMA pixelfed;&#xA;    CREATE USER &#39;pixelfed&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;supersecretpassword&#39;;&#xA;    USE pixelfed;&#xA;    GRANT ALL PRIVILEGES ON pixelfed. TO &#39;pixelfed&#39;@&#39;localhost&#39;;&#xA;    FLUSH PRIVILEGES;&#xA;    EXIT;&#xA;Installing Pixelfed&#xA;&#xA;Log in as pixelfed&#xA;sudo su pixelfed&#xA;change to the home directory&#xA;cd&#xA;Get the code&#xA;git clone https://github.com/pixelfed/pixelfed.git&#xA;cd pixelfed&#xA;Configuration&#xA;&#xA;Copy the default configuration&#xA;cp .env.example .env&#xA;Edit the configuration&#xA;micro .env&#xA;Set your instance name and domain as you wish.&#xA;    APPNAME=&#34;PixelFed Test&#34;&#xA;    APPURL=http://myinstance.name&#xA;    ADMINDOMAIN=&#34;myinstance.name&#34;&#xA;    APPDOMAIN=&#34;myinstance.name&#34;&#xA;    SESSIONDOMAIN=&#34;myinstance.name&#34;&#xA;Set the username and password of MariaDB as you have configured them above. Find the following lines and complete the values after the =&#xA;    DBDATABASE=pixelfed&#xA;    DBUSERNAME=pixelfed&#xA;    DBPASSWORD=supersecretpassword&#xA;Set the mail server configuration. Replace myinstance.name with the name of your instance.&#xA;    MAILDRIVER=sendmail&#xA;    MAILHOST=localhost&#xA;    MAILPORT=2525&#xA;    MAILUSERNAME=null&#xA;    MAILPASSWORD=null&#xA;    MAILENCRYPTION=null&#xA;    MAILFROMADDRESS=&#34;pixelfed@myinstance.name&#34;&#xA;    MAILFROMNAME=&#34;myinstance.name&#34;&#xA;Set the federation flags to true if you want&#xA;    ACTIVITYPUB=false&#xA;    REMOTEFOLLOW=false&#xA;Save and close the file.&#xA;&#xA;Deploying&#xA;&#xA;Run the post deployment commands as outlined here&#xA;cd /home/pixelfed/pixelfed # Or wherever pixelfed is installed&#xA;composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader&#xA;php artisan key:generate&#xA;php artisan config:cache&#xA;php artisan route:cache&#xA;php artisan migrate --force&#xA;php artisan horizon:purge&#xA;Link the storage directory&#xA;php artisan storage:link&#xA;&#xA;Now we need to make sure horizon is always running. &#xA;&#xA;Systemd setup&#xA;&#xA;Exit the user shell&#xA;exit&#xA;now create a new systemd service &#xA;sudo micro /etc/systemd/system/pixelfed.service&#xA;with the following contents&#xA;[Unit]&#xA;Description=Pixelfed task queueing via Laravel Horizon&#xA;After=network.target&#xA;Requires=mariadb&#xA;Requires=php-fpm&#xA;Requires=redis&#xA;Requires=nginx&#xA;[Service]&#xA;Type=simple&#xA;ExecStart=/usr/bin/php /home/pixelfed/artisan horizon&#xA;User=pixelfed&#xA;Restart=on-failure&#xA;[Install]&#xA;WantedBy=multi-user.target&#xA;enable the service so that it starts automatically on each boot&#xA;sudo systemctl enable pixelfed&#xA;and start it&#xA;sudo systemctl start pixelfed&#xA;Launch!&#xA;&#xA;restart nginx&#xA;sudo systemctl restart nginx&#xA;&#xA;Let&#39;s encrypt and https&#xA;&#xA;Go to certbot website and follow the instructions there. I copied them here for easy access:&#xA;sudo apt-get install certbot python-certbot-nginx&#xA;sudo certbot --nginx&#xA;Follow the instructions from there.&#xA;&#xA;Certbot comes with a cronjob automating renewal so in theory you shouldn&#39;t need to do anything more at this time. Enjoy your pixelfed installation.&#xA;&#xA;Creating your first user and setting as adminstrator&#xA;&#xA;Go to the website (http://myinstance.name) and register a new account&#xA;Go back to your vps and log on to mysql again&#xA;mysql -u pixelfed -p&#xA;Give the supersecretpassword*&#xA;In the prompt that appears make yourself adminstrator&#xA;use pixelfed;&#xA;update users set isadmin=1 where id=1;&#xA;If you have trouble seeing the activation email you can activate yourself too&#xA;update users set emailverified_at=&#34;2019-02-12 10:25:32&#34; where id=1;&#xA;Final steps&#xA;&#xA;Now go to the website again and log in. You should be able to administer the instance.&#xA;&#xA;Happy posting!]]&gt;</description>
      <content:encoded><![CDATA[<p>This is a guide on how to install #pixelfed on ubuntu 18.04 since that is a distribution most probably to find on cheap VPS&#39;s.</p>

<h2 id="preparation">Preparation</h2>

<p>In most servers this stuff is pre-installed, but when you just install ubuntu server with no extra options they are missing. There&#39;s no harm trying, worst that can happen is to get an “already installed” message.</p>

<p>In some cases (minimal default installation) you will need to add the <code>add-apt-repository</code> command. I also had to install the <em>https transport</em> for apt (that is a program that allows apt to download over <em>https</em> instead of <em>http</em>) because some newer repositories require it. Do this now because sometimes an installation might fail halfway through if it&#39;s not installed and that&#39;s a tough situation to get out of.</p>

<pre><code>sudo apt install software-properties-common apt-transport-https
</code></pre>

<p>and the trash command so that you don&#39;t actually delete things permanently with <code>rm</code></p>

<pre><code>sudo apt install trash-cli
</code></pre>

<p>Then you can use <code>trash useless-filename-here</code> to delete stuff.</p>

<p>I like the <code>micro</code> editor because it uses the modern GUI editor conventions in the terminal (such as Ctrl+C, Ctrl+V for copy and paste).</p>

<blockquote><p>The second command adds micro to PATH for all users because for some reason /snap/bin is not in the
path for every user.</p></blockquote>

<pre><code>sudo snap install micro --classic
sudo sed -i &#39;s#&#34;$#:/snap/bin&#34;#&#39; /etc/environment
</code></pre>

<p>or if that doesn&#39;t work</p>

<pre><code>curl https://getmic.ro | bash
</code></pre>

<h2 id="installation-of-dependencies">Installation of dependencies</h2>

<p>First add php ppa&#39;s. This step adds newer php versions to this old ubuntu because <em>pixelfed</em> doesn&#39;t run with older ones.</p>

<pre><code>sudo add-apt-repository ppa:ondrej/php
</code></pre>

<p>(The ondrej apache ppa is not required but the ppa maintainer recommends adding it)</p>

<p>Then add mariadb (mysql-equivalent) repositories. The same goes here, <em>pixelfed</em> requires newer versions.</p>

<pre><code>sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository &#39;deb [arch=amd64,arm64,i386,ppc64el] http://ftp.cc.uoc.gr/mirrors/mariadb/repo/10.2/ubuntu xenial main&#39;
</code></pre>

<p>Refresh caches</p>

<pre><code>sudo apt update
</code></pre>

<p>Upgrade what can be upgraded</p>

<pre><code>sudo apt upgrade
</code></pre>

<p>Answer yes to the prompt</p>

<p>Install nginx</p>

<pre><code>sudo apt install nginx
</code></pre>

<p>Install php and mysql</p>

<pre><code>sudo apt install php7.3 mariadb-server
</code></pre>

<p>You might need to remove apache.</p>

<pre><code>sudo apt remove apache2
</code></pre>

<p>If it says it&#39;s not installed don&#39;t worry about it, all is well.</p>

<p>Install other required modules</p>

<pre><code>sudo apt install imagemagick composer redis-server jpegoptim optipng pngquant php7.3-xml php7.3-pdo php7.3-json php7.3-ctype php7.3-xml php7.3-mbstring php7.3-gd php7.3-tokenizer php7.3-bcmath php7.3-curl php7.3-zip unzip php7.3-pdo php7.3-mysql php7.3-intl php7.3-fpm
</code></pre>

<p>Install mail transport agent so that pixelfed can send confirmation emails.</p>

<pre><code>sudo apt install postfix
</code></pre>

<p>In the dialog box that appears press Tab and then Enter to choose Ok and then choose Internet site from the list using the arrow keys on your keyboard and then press Enter to confirm. In the next page enter the name of your instance, e.g. <em>myinstance.name</em>.</p>

<p>At some point you will probably need to monitor processes and free memory so install htop before you actually need it, at which point will probably be impossible to do the installation</p>

<pre><code>sudo apt install htop
</code></pre>

<h2 id="configuring-nginx">Configuring nginx</h2>

<p>I prefer to run nginx as a user I can log in to so now we will do that:</p>

<p>Create a new user <code>pixelfed</code></p>

<pre><code>sudo useradd -m pixelfed
</code></pre>

<p>Set his default shell to bash</p>

<pre><code>sudo chsh pixelfed -s /bin/bash
</code></pre>

<p>Edit apache nginx config so that it runs using that user</p>

<pre><code>sudo micro /etc/nginx/nginx.conf
</code></pre>

<p>Find and replace <code>user nginx;</code> with <code>user pixelfed;</code>. Save (Ctrl+S) and close (Ctrl+Q) the file.</p>

<p>Also we need to change the <code>php-fpm</code> user to <code>pixelfed</code></p>

<pre><code>sudo micro /etc/php/7.3/fpm/pool.d/www.conf
</code></pre>

<p>Find all occurences of <code>www-data</code> and change them to <code>pixelfed</code> (use Ctrl+F). There are two on lines 23 and 24 also two on 47 and 48</p>

<p>Change the web server root directory to the <strong>public</strong> directory of the pixelfed repository</p>

<pre><code>sudo micro /etc/nginx/sites-available/default
</code></pre>

<p>Replace <code>/var/www/html</code> with <code>/home/pixelfed/pixelfed/public</code>.</p>

<p>Being here, you should also uncomment the php directives</p>

<pre><code>        #location ~ \.php$ {
        #       include snippets/fastcgi-php.conf;
        #
        #       # With php-fpm (or other unix sockets):
        #       fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
        #       # With php-cgi (or other tcp sockets):
        #       fastcgi_pass 127.0.0.1:9000;
        #}
</code></pre>

<p>should become</p>

<pre><code>        location ~ \.php$ {
               include snippets/fastcgi-php.conf;
        
               # With php-fpm (or other unix sockets):
               fastcgi_pass unix:/var/run/php/php7.-fpm.sock;
        #       # With php-cgi (or other tcp sockets):
        #       fastcgi_pass 127.0.0.1:9000;
        }
</code></pre>

<p>Notice that two of the # remain and that <code>php7.0</code> became <code>php7.3</code></p>

<h2 id="configuring-php">Configuring php</h2>

<p>Change php max upload size (how large a file is allowed to be uploaded)</p>

<pre><code>sudo micro /etc/php/7.3/apache2/php.ini
</code></pre>

<p>Search the file for <code>upload_max_filesize</code> and <code>post_max_size</code> and change to 80M and 120M respectively. You can go larger and just configure pixelfed to limit the sizes but I think 80M is a reasonable size. You can also increase the memory limit to 512M or maybe half your vps&#39;s  RAM.
Save and close the file.</p>

<p>Restart nginx and php-fpm</p>

<pre><code>sudo systemctl restart nginx
sudo systemctl restart php7.3-fpm.service 
</code></pre>

<h2 id="configuring-mariadb">Configuring MariaDB</h2>



<p>Log in to mysql as root</p>

<pre><code>sudo mysql
</code></pre>

<p>Enter the mysql root password as you entered it above.</p>

<p>Create a pixelfed database and user and give the user permissions. On the prompt that appears</p>

<pre><code>    CREATE SCHEMA pixelfed;
    CREATE USER &#39;pixelfed&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;supersecretpassword&#39;;
    USE pixelfed;
    GRANT ALL PRIVILEGES ON pixelfed.* TO &#39;pixelfed&#39;@&#39;localhost&#39;;
    FLUSH PRIVILEGES;
    EXIT;
</code></pre>

<h2 id="installing-pixelfed">Installing Pixelfed</h2>

<p>Log in as <code>pixelfed</code></p>

<pre><code>sudo su pixelfed
</code></pre>

<p>change to the home directory</p>

<pre><code>cd
</code></pre>

<p>Get the code</p>

<pre><code>git clone https://github.com/pixelfed/pixelfed.git
cd pixelfed
</code></pre>

<h3 id="configuration">Configuration</h3>

<p>Copy the default configuration</p>

<pre><code>cp .env.example .env
</code></pre>

<p>Edit the configuration</p>

<pre><code>micro .env
</code></pre>

<p>Set your instance name and domain as you wish.</p>

<pre><code>    APP_NAME=&#34;PixelFed Test&#34;
    APP_URL=http://myinstance.name
    ADMIN_DOMAIN=&#34;myinstance.name&#34;
    APP_DOMAIN=&#34;myinstance.name&#34;
    SESSION_DOMAIN=&#34;myinstance.name&#34;
</code></pre>

<p>Set the username and password of MariaDB as you have configured them above. Find the following lines and complete the values after the <code>=</code></p>

<pre><code>    DB_DATABASE=pixelfed
    DB_USERNAME=pixelfed
    DB_PASSWORD=supersecretpassword
</code></pre>

<p>Set the mail server configuration. Replace <code>myinstance.name</code> with the name of your instance.</p>

<pre><code>    MAIL_DRIVER=sendmail
    MAIL_HOST=localhost
    MAIL_PORT=2525
    MAIL_USERNAME=null
    MAIL_PASSWORD=null
    MAIL_ENCRYPTION=null
    MAIL_FROM_ADDRESS=&#34;pixelfed@myinstance.name&#34;
    MAIL_FROM_NAME=&#34;myinstance.name&#34;
</code></pre>

<p>Set the federation flags to true if you want</p>

<pre><code>    ACTIVITY_PUB=false
    REMOTE_FOLLOW=false
</code></pre>

<p>Save and close the file.</p>

<h2 id="deploying">Deploying</h2>

<p>Run the post deployment commands as outlined <a href="https://docs.pixelfed.org/installing-pixelfed/installation.html#final-steps" rel="nofollow">here</a></p>

<pre><code>cd /home/pixelfed/pixelfed # Or wherever pixelfed is installed
composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader
php artisan key:generate
php artisan config:cache
php artisan route:cache
php artisan migrate --force
php artisan horizon:purge
</code></pre>

<p>Link the storage directory</p>

<pre><code>php artisan storage:link
</code></pre>

<p>Now we need to make sure horizon is always running.</p>

<h2 id="systemd-setup">Systemd setup</h2>

<p>Exit the user shell</p>

<pre><code>exit
</code></pre>

<p>now create a new <em>systemd</em> service</p>

<pre><code>sudo micro /etc/systemd/system/pixelfed.service
</code></pre>

<p>with the following contents</p>

<pre><code>[Unit]
Description=Pixelfed task queueing via Laravel Horizon
After=network.target
Requires=mariadb
Requires=php-fpm
Requires=redis
Requires=nginx
[Service]
Type=simple
ExecStart=/usr/bin/php /home/pixelfed/artisan horizon
User=pixelfed
Restart=on-failure
[Install]
WantedBy=multi-user.target
</code></pre>

<p>enable the service so that it starts automatically on each boot</p>

<pre><code>sudo systemctl enable pixelfed
</code></pre>

<p>and start it</p>

<pre><code>sudo systemctl start pixelfed
</code></pre>

<h2 id="launch">Launch!</h2>

<p>restart nginx</p>

<pre><code>sudo systemctl restart nginx
</code></pre>

<h2 id="let-s-encrypt-and-https">Let&#39;s encrypt and https</h2>

<p>Go to <a href="https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache" rel="nofollow">certbot website</a> and follow the instructions there. I copied them here for easy access:</p>

<pre><code>sudo apt-get install certbot python-certbot-nginx
sudo certbot --nginx
</code></pre>

<p>Follow the instructions from there.</p>

<p>Certbot comes with a cronjob automating renewal so in theory you shouldn&#39;t need to do anything more at this time. Enjoy your pixelfed installation.</p>

<h2 id="creating-your-first-user-and-setting-as-adminstrator">Creating your first user and setting as adminstrator</h2>

<p>Go to the website (<a href="http://myinstance.name" rel="nofollow">http://myinstance.name</a>) and register a new account
Go back to your vps and log on to mysql again</p>

<pre><code>mysql -u pixelfed -p
</code></pre>

<p>Give the <em>supersecretpassword</em>
In the prompt that appears make yourself adminstrator</p>

<pre><code>use pixelfed;
update users set is_admin=1 where id=1;
</code></pre>

<p>If you have trouble seeing the activation email you can activate yourself too</p>

<pre><code>update users set email_verified_at=&#34;2019-02-12 10:25:32&#34; where id=1;
</code></pre>

<h2 id="final-steps">Final steps</h2>

<p>Now go to the website again and log in. You should be able to administer the instance.</p>

<p>Happy posting!</p>
]]></content:encoded>
      <guid>http://mixt.qwazix.com/pixelfed-installation-on-ubuntu-18-04</guid>
      <pubDate>Thu, 07 Nov 2019 12:48:47 +0000</pubDate>
    </item>
  </channel>
</rss>