<aclass=""href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<liclass="toctree-l1">
<aclass=""href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>
<liclass="toctree-l1">
<aclass=""href="../dynamic_cacheing_nginx_reverse_proxy_for_pacman/">Dynamic Cacheing Nginx Reverse Proxy For Pacman</a>
</li>
<liclass="toctree-l1">
<aclass=""href="../freebsd_jails_on_freenas/">FreeBSD Jails on FreeNAS</a>
</li>
<liclass="toctree-l1">
<aclass=""href="../arch_redis_nspawn/">Quick Dirty Redis Nspawn Container on Arch Linux</a>
</li>
<liclass="toctree-l1">
<aclass=""href="../arch_postgresql_nspawn/">Quick Dirty Postgresql Nspawn Container on Arch Linux</a>
<h1id="selfoss-on-centos-7">Selfoss on Centos 7</h1>
<p>The target here is a very low resource vps running Centos7.
You can use mysql or postgresql, but performance is fine with sqlite database.
You'll need the epel repo in order to install python2-certbot-apache.</p>
<p><ahref="https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7">Here's a great guide for setting up apache with letsencrypt on Centos7</a>.</p>
<p>You'll want to install the following packages</p>
<ul>
<li>mod_ssl</li>
<li>python2-certbot-apache</li>
<li>php</li>
<li>php-gd</li>
<li>php-http</li>
<li>php-pdo</li>
<li>unzip</li>
<li>wget</li>
</ul>
<p><ahref="https://selfoss.aditu.de/">The documentation</a> explains how to set up
the config.ini and .htaccess files, RewriteEngine, RewriteBase,
database, and explains the apache modules that you
want enabled. Hint, use <code>apachectl -M</code>, <code>apachectl help</code>, etc.</p>
<p>You'll probably want to extract the
application to <code>/var/www/html/selfoss/</code> or similar, and then add a configuration.</p>
<ahref="../self_signed_certs/"class="btn btn-neutral"title="Self Signed Certs"><spanclass="icon icon-circle-arrow-left"></span> Previous</a>
</div>
<hr/>
<divrole="contentinfo">
<!-- Copyright etc -->
</div>
Built with <ahref="http://www.mkdocs.org">MkDocs</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.