add new file docs/mastodon_on_arch.md

This commit is contained in:
Trent Palmer 2017-07-13 05:29:08 -07:00
parent 90ac906169
commit 42467ec6d4
15 changed files with 392 additions and 15 deletions

View File

@ -4,6 +4,7 @@ Obviously, the commit history will reflect the time when these documents are wri
* [Serve And Share Apps From Your Phone With Fdroid](serve_and_share_apps_from_your_phone_with_fdroid.md)
* [Nspawn Containers](nspawn.md)
* [Mastodon on Arch](mastodon_on_arch.md)
* [Debian Nspawn Container On Arch For Testing Apache Configurations](debian_nspawn_container_on_arch_for_testing_apache_configurations.md)
* [Dynamic Cacheing Nginx Reverse Proxy For Pacman](dynamic_cacheing_nginx_reverse_proxy_for_pacman.md)
* [Quick Dirty Redis Nspawn Container on Arch Linux](arch_redis_nspawn.md)

59
docs/mastodon_on_arch.md Normal file
View File

@ -0,0 +1,59 @@
# Some Observations About Installing Mastodon on Arch.
## Nginx
From the [Production Guide](https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md)
you can copy the example nginx.conf file to `/etc/nginx/sites-enabled/some_arbitrary.conf`,
and then add the following to `/etc/nginx/nginx.conf` in the http section,
this with a fresh install of nginx with the default configuration file.
```bash
# /etc/nginx/nginx.conf
http {
include sites-enabled/*;
}
```
## Installing the Dependancies
```bash
pacman -S certbot nginx libxml2 imagemagick ffmpeg git yarn npm python2 oidentd
```
```bash
# I'm guessing here
pacman -S libpqxx libxslt protobuf protobuf-c
```
* I'm assuming base-devel is installed
* python2 seems to be required to run `yarn install` command later on
* oidentd seems to be a usable replacement for pident
* libpqxx pulls in postgresql-libs
* file is already installed
* curl is already installed
* ruby-build and rbenv are installable from aur
* also postgresql and redis unless, those are in another container or whatever.
## Other Observations
I discovered that between `gem install bundler` and
`bundle install --deployment --without development test`,
you have to update your environment, with
`eval "$(rbenv init -)"`, i.e.
```bash
echo 'eval "$(rbenv init -)"' >> .bashrc
# and then
. ~/.bashrc
```
You have to update your environment more than once, during the
installation.
Presumably you don't ever want to delete the `~/live/Public/` directory
if that is where assets are being stored, but it seems ok to delete
`~/live/node_modules` and then rerun the `yarn install` command.
In `~/live/.env.production`, `SINGLE_USER_MODE=false` has to be set
to `false` until at least one user is created, or the web service won't
even start. (Also `chmod 755 ~/`)

View File

@ -6,6 +6,7 @@ pages:
- 'Home': index.md
- 'Serve And Share Apps From Your Phone With Fdroid': serve_and_share_apps_from_your_phone_with_fdroid.md
- 'Nspawn': nspawn.md
- 'Mastodon on Arch': mastodon_on_arch.md
- 'Debian Nspawn Container On Arch For Testing Apache Configurations': debian_nspawn_container_on_arch_for_testing_apache_configurations.md
- 'Dynamic Cacheing Nginx Reverse Proxy For Pacman': dynamic_cacheing_nginx_reverse_proxy_for_pacman.md
- 'Quick Dirty Redis Nspawn Container on Arch Linux': arch_redis_nspawn.md

View File

@ -64,6 +64,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -64,6 +64,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -62,6 +62,11 @@
<a class="" href="../nspawn/">Nspawn</a>
</li>
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1 current">
<a class="current" href="./">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
@ -213,7 +218,7 @@ a2ensite default-ssl.conf ; systemctl reload apache2
<a href="../dynamic_cacheing_nginx_reverse_proxy_for_pacman/" class="btn btn-neutral float-right" title="Dynamic Cacheing Nginx Reverse Proxy For Pacman">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../nspawn/" class="btn btn-neutral" title="Nspawn"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../mastodon_on_arch/" class="btn btn-neutral" title="Mastodon on Arch"><span class="icon icon-circle-arrow-left"></span> Previous</a>
</div>
@ -239,7 +244,7 @@ a2ensite default-ssl.conf ; systemctl reload apache2
<span class="rst-current-version" data-toggle="rst-current-version">
<span><a href="../nspawn/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span><a href="../mastodon_on_arch/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../dynamic_cacheing_nginx_reverse_proxy_for_pacman/" style="color: #fcfcfc">Next &raquo;</a></span>

View File

@ -64,6 +64,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -76,6 +76,11 @@
<li class="toctree-l1">
<a class="" href="mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>
@ -137,6 +142,7 @@
<ul>
<li><a href="serve_and_share_apps_from_your_phone_with_fdroid/">Serve And Share Apps From Your Phone With Fdroid</a></li>
<li><a href="nspawn/">Nspawn Containers</a></li>
<li><a href="mastodon_on_arch/">Mastodon on Arch</a></li>
<li><a href="debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a></li>
<li><a href="dynamic_cacheing_nginx_reverse_proxy_for_pacman/">Dynamic Cacheing Nginx Reverse Proxy For Pacman</a></li>
<li><a href="arch_redis_nspawn/">Quick Dirty Redis Nspawn Container on Arch Linux</a></li>
@ -192,5 +198,5 @@
<!--
MkDocs version : 0.16.3
Build Date UTC : 2017-07-10 03:43:48
Build Date UTC : 2017-07-13 12:28:41
-->

View File

@ -0,0 +1,237 @@
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../img/favicon.ico">
<title>Mastodon on Arch - Trent Docs</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
<link rel="stylesheet" href="../css/highlight.css">
<script>
// Current page data
var mkdocs_page_name = "Mastodon on Arch";
var mkdocs_page_input_path = "mastodon_on_arch.md";
var mkdocs_page_url = "/mastodon_on_arch/";
</script>
<script src="../js/jquery-2.1.1.min.js"></script>
<script src="../js/modernizr-2.8.3.min.js"></script>
<script type="text/javascript" src="../js/highlight.pack.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
<a href=".." class="icon icon-home"> Trent Docs</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1">
<a class="" href="..">Home</a>
</li>
<li class="toctree-l1">
<a class="" href="../serve_and_share_apps_from_your_phone_with_fdroid/">Serve And Share Apps From Your Phone With Fdroid</a>
</li>
<li class="toctree-l1">
<a class="" href="../nspawn/">Nspawn</a>
</li>
<li class="toctree-l1 current">
<a class="current" href="./">Mastodon on Arch</a>
<ul class="subnav">
<li class="toctree-l2"><a href="#some-observations-about-installing-mastodon-on-arch">Some Observations About Installing Mastodon on Arch.</a></li>
<ul>
<li><a class="toctree-l3" href="#nginx">Nginx</a></li>
<li><a class="toctree-l3" href="#installing-the-dependancies">Installing the Dependancies</a></li>
<li><a class="toctree-l3" href="#other-observations">Other Observations</a></li>
</ul>
</ul>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>
<li class="toctree-l1">
<a class="" href="../dynamic_cacheing_nginx_reverse_proxy_for_pacman/">Dynamic Cacheing Nginx Reverse Proxy For Pacman</a>
</li>
<li class="toctree-l1">
<a class="" href="../arch_redis_nspawn/">Quick Dirty Redis Nspawn Container on Arch Linux</a>
</li>
<li class="toctree-l1">
<a class="" href="../arch_postgresql_nspawn/">Quick Dirty Postgresql Nspawn Container on Arch Linux</a>
</li>
<li class="toctree-l1">
<a class="" href="../self_signed_certs/">Self Signed Certs</a>
</li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="..">Trent Docs</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="..">Docs</a> &raquo;</li>
<li>Mastodon on Arch</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main">
<div class="section">
<h1 id="some-observations-about-installing-mastodon-on-arch">Some Observations About Installing Mastodon on Arch.</h1>
<h2 id="nginx">Nginx</h2>
<p>From the <a href="https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md">Production Guide</a>
you can copy the example nginx.conf file to <code>/etc/nginx/sites-enabled/some_arbitrary.conf</code>,
and then add the following to <code>/etc/nginx/nginx.conf</code> in the http section,
this with a fresh install of nginx with the default configuration file.</p>
<pre><code class="bash"># /etc/nginx/nginx.conf
http {
include sites-enabled/*;
}
</code></pre>
<h2 id="installing-the-dependancies">Installing the Dependancies</h2>
<pre><code class="bash">pacman -S certbot nginx libxml2 imagemagick ffmpeg git yarn npm python2 oidentd
</code></pre>
<pre><code class="bash"># I'm guessing here
pacman -S libpqxx libxslt protobuf protobuf-c
</code></pre>
<ul>
<li>I'm assuming base-devel is installed</li>
<li>python2 seems to be required to run <code>yarn install</code> command later on</li>
<li>oidentd seems to be a usable replacement for pident</li>
<li>libpqxx pulls in postgresql-libs</li>
<li>file is already installed</li>
<li>curl is already installed</li>
<li>ruby-build and rbenv are installable from aur</li>
<li>also postgresql and redis unless, those are in another container or whatever.</li>
</ul>
<h2 id="other-observations">Other Observations</h2>
<p>I discovered that between <code>gem install bundler</code> and<br />
<code>bundle install --deployment --without development test</code>,
you have to update your environment, with
<code>eval "$(rbenv init -)"</code>, i.e.</p>
<pre><code class="bash">echo 'eval &quot;$(rbenv init -)&quot;' &gt;&gt; .bashrc
# and then
. ~/.bashrc
</code></pre>
<p>You have to update your environment more than once, during the
installation.</p>
<p>Presumably you don't ever want to delete the <code>~/live/Public/</code> directory
if that is where assets are being stored, but it seems ok to delete
<code>~/live/node_modules</code> and then rerun the <code>yarn install</code> command.</p>
<p>In <code>~/live/.env.production</code>, <code>SINGLE_USER_MODE=false</code> has to be set
to <code>false</code> until at least one user is created, or the web service won't
even start. (Also <code>chmod 755 ~/</code>)</p>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/" class="btn btn-neutral float-right" title="Debian Nspawn Container On Arch For Testing Apache Configurations">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../nspawn/" class="btn btn-neutral" title="Nspawn"><span class="icon icon-circle-arrow-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
</div>
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
<span><a href="../nspawn/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
<script src="../js/theme.js"></script>
</body>
</html>

View File

@ -2,7 +2,7 @@
"docs": [
{
"location": "/",
"text": "Welcome to Trent Docs\n\n\nGit Repo For These Docs\n\n\nObviously, the commit history will reflect the time when these documents are written.\n\n\n\n\nServe And Share Apps From Your Phone With Fdroid\n\n\nNspawn Containers\n\n\nDebian Nspawn Container On Arch For Testing Apache Configurations\n\n\nDynamic Cacheing Nginx Reverse Proxy For Pacman\n\n\nQuick Dirty Redis Nspawn Container on Arch Linux\n\n\nQuick Dirty Postgresql Nspawn Container on Arch Linux\n\n\nSelf Signed Certs",
"text": "Welcome to Trent Docs\n\n\nGit Repo For These Docs\n\n\nObviously, the commit history will reflect the time when these documents are written.\n\n\n\n\nServe And Share Apps From Your Phone With Fdroid\n\n\nNspawn Containers\n\n\nMastodon on Arch\n\n\nDebian Nspawn Container On Arch For Testing Apache Configurations\n\n\nDynamic Cacheing Nginx Reverse Proxy For Pacman\n\n\nQuick Dirty Redis Nspawn Container on Arch Linux\n\n\nQuick Dirty Postgresql Nspawn Container on Arch Linux\n\n\nSelf Signed Certs",
"title": "Home"
},
{
@ -12,7 +12,7 @@
},
{
"location": "/#git-repo-for-these-docs",
"text": "Obviously, the commit history will reflect the time when these documents are written. Serve And Share Apps From Your Phone With Fdroid Nspawn Containers Debian Nspawn Container On Arch For Testing Apache Configurations Dynamic Cacheing Nginx Reverse Proxy For Pacman Quick Dirty Redis Nspawn Container on Arch Linux Quick Dirty Postgresql Nspawn Container on Arch Linux Self Signed Certs",
"text": "Obviously, the commit history will reflect the time when these documents are written. Serve And Share Apps From Your Phone With Fdroid Nspawn Containers Mastodon on Arch Debian Nspawn Container On Arch For Testing Apache Configurations Dynamic Cacheing Nginx Reverse Proxy For Pacman Quick Dirty Redis Nspawn Container on Arch Linux Quick Dirty Postgresql Nspawn Container on Arch Linux Self Signed Certs",
"title": "Git Repo For These Docs"
},
{
@ -180,6 +180,31 @@
"text": "You can start/stop nspawn containers with machinectl command. You can start nspawn containers with systemd-nspawn command. You can configure the systemd service for a container with @nspawn.service file override Or you can configure an nspawn container with a dot.nspawn file But in regards to the above list\nI have noticed differences in behaviour,\nin some scenarios, concerning file attributes\nfor bind mounts. Another curiosity: when you have nspawn containers natted on VirtualEthernet connections,\nthey might be able to ping each other at 10.x.y.z, but not resolve each other. But they might\nbe able to resolve each other if they are all connected to the same bridge interface or nspawn\nnetwork zone, but will randomly resolve each other in any of the 10.x.y.z, 169.x.y.z,\nor fe80::....:....:....%host (ipv6 local) spaces, which would complicate configuring the containers\nto talk to each other. But I intend to look into this some more.",
"title": "Final Observations"
},
{
"location": "/mastodon_on_arch/",
"text": "Some Observations About Installing Mastodon on Arch.\n\n\nNginx\n\n\nFrom the \nProduction Guide\n\nyou can copy the example nginx.conf file to \n/etc/nginx/sites-enabled/some_arbitrary.conf\n,\nand then add the following to \n/etc/nginx/nginx.conf\n in the http section,\nthis with a fresh install of nginx with the default configuration file.\n\n\n# /etc/nginx/nginx.conf \nhttp {\n include sites-enabled/*;\n}\n\n\n\n\nInstalling the Dependancies\n\n\npacman -S certbot nginx libxml2 imagemagick ffmpeg git yarn npm python2 oidentd\n\n\n\n\n# I'm guessing here\npacman -S libpqxx libxslt protobuf protobuf-c\n\n\n\n\n\n\nI'm assuming base-devel is installed\n\n\npython2 seems to be required to run \nyarn install\n command later on\n\n\noidentd seems to be a usable replacement for pident\n\n\nlibpqxx pulls in postgresql-libs\n\n\nfile is already installed\n\n\ncurl is already installed\n\n\nruby-build and rbenv are installable from aur\n\n\nalso postgresql and redis unless, those are in another container or whatever.\n\n\n\n\nOther Observations\n\n\nI discovered that between \ngem install bundler\n and\n\n\nbundle install --deployment --without development test\n,\nyou have to update your environment, with \n\neval \"$(rbenv init -)\"\n, i.e.\n\n\necho 'eval \"$(rbenv init -)\"' >> .bashrc\n# and then\n. ~/.bashrc\n\n\n\n\nYou have to update your environment more than once, during the\ninstallation.\n\n\nPresumably you don't ever want to delete the \n~/live/Public/\n directory\nif that is where assets are being stored, but it seems ok to delete \n\n~/live/node_modules\n and then rerun the \nyarn install\n command.\n\n\nIn \n~/live/.env.production\n, \nSINGLE_USER_MODE=false\n has to be set\nto \nfalse\n until at least one user is created, or the web service won't \neven start. (Also \nchmod 755 ~/\n)",
"title": "Mastodon on Arch"
},
{
"location": "/mastodon_on_arch/#some-observations-about-installing-mastodon-on-arch",
"text": "",
"title": "Some Observations About Installing Mastodon on Arch."
},
{
"location": "/mastodon_on_arch/#nginx",
"text": "From the Production Guide \nyou can copy the example nginx.conf file to /etc/nginx/sites-enabled/some_arbitrary.conf ,\nand then add the following to /etc/nginx/nginx.conf in the http section,\nthis with a fresh install of nginx with the default configuration file. # /etc/nginx/nginx.conf \nhttp {\n include sites-enabled/*;\n}",
"title": "Nginx"
},
{
"location": "/mastodon_on_arch/#installing-the-dependancies",
"text": "pacman -S certbot nginx libxml2 imagemagick ffmpeg git yarn npm python2 oidentd # I'm guessing here\npacman -S libpqxx libxslt protobuf protobuf-c I'm assuming base-devel is installed python2 seems to be required to run yarn install command later on oidentd seems to be a usable replacement for pident libpqxx pulls in postgresql-libs file is already installed curl is already installed ruby-build and rbenv are installable from aur also postgresql and redis unless, those are in another container or whatever.",
"title": "Installing the Dependancies"
},
{
"location": "/mastodon_on_arch/#other-observations",
"text": "I discovered that between gem install bundler and bundle install --deployment --without development test ,\nyou have to update your environment, with eval \"$(rbenv init -)\" , i.e. echo 'eval \"$(rbenv init -)\"' >> .bashrc\n# and then\n. ~/.bashrc You have to update your environment more than once, during the\ninstallation. Presumably you don't ever want to delete the ~/live/Public/ directory\nif that is where assets are being stored, but it seems ok to delete ~/live/node_modules and then rerun the yarn install command. In ~/live/.env.production , SINGLE_USER_MODE=false has to be set\nto false until at least one user is created, or the web service won't \neven start. (Also chmod 755 ~/ )",
"title": "Other Observations"
},
{
"location": "/debian_nspawn_container_on_arch_for_testing_apache_configurations/",
"text": "Debian Nspawn Container On Arch For Testing Apache Configurations\n\n\nBegin by exporting the environmental variable for your squid cacheing \nproxy. If you're deboostrapping Debian file systems, the best way to\nspeed this up is with squid.\n\n\nThe ArchWiki page for nspawn containers has a\n\nDebian/Ubuntu subsection\n\nObviously you're going to want to install debootstrap and debian-archive-keyring.\n\n\n# to create a Stretch Container\ncd /var/lib/machines \nmkdir <container name> \ndeboostrap stretch <container name>\n\n\n\n\nAfter some experimentation, perhaps this is the best time to write\nthe intended hostname into the container, and write any\napt-cacher or apt-cacher-ng proxies into /etc/apt/apt.conf \non the container.\n\n\ncp apt.conf /etc/apt/apt.conf \necho \"<hostname>\" > /var/lib/machines/<container name>/etc/hostname\n\n\n\n\nAnd then start the container, and set the root password.\n\n\n# boot in interactive mode\nsystemd-nspawn -D <container name>\n# set the passwd and logout\npassword \nlogout \n\n\n\n\nNow we can boot the container in non-interactive mode, either\nfrom the command line or using nspawn files. In either case \ndouble check that the your bind mounts have the correct permissions \nfrom inside the container.\n\n\n# for instance attached to a bridge interface br0 \nsystemd-nspawn -b -D <container name> --network-bridge=br0\n# or if you've set up a package cache \nsystemd-nspawn -b -D <container name> --network-bridge=br0 --bind=/var/cache/apt/archives\n\n\n\n\nAlternately, if you use an nspawn file, then you can use a command \nsimilar to the following to start it, you'll first need to \nboot the container from the command line and install dbus,\nbecause \nmachinectl shell\n and \nmachinectl login\n won't work \nwithout dbus. In this case use the following sequence of commands.\n\n\n# start the container and login as root\nsystemd-nspawn -b -D <container name> --network-bridge=br0 \n# bring up networking so you can install dbus\nsystemctl enable/start systemd-networkd\n# this is also a good time to install and configure locale\napt install dbus locales \n# to configure locale \ndpkg-reconfigure locales \npoweroff\n\n\n\n\nAfter this you can start the container with systemd, when \nusing an nspawn file.\n\n\nsystemctl start systemd-nspawn@<container name>\n\n\n\n\n# /etc/systemd/nspawn/<container name>.spawn \n[Files] \n# Bind=/var/cache/apt/archives \n\n[Network] \nbridge=br0 \n\n\n\n\nYou can use tasksel to install a web-server.\n\n\n# apache2 will immediately be listening on port 80\ntasksel install web-server\n# enable mod ssl\na2enmod ssl ; systemctl restart apache2\n# enable the default ssl test page \na2ensite default-ssl.conf ; systemctl reload apache2\n\n\n\n\nYou'll be up and running with the default self-signed certs.",

View File

@ -86,6 +86,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>
@ -290,7 +295,7 @@ to talk to each other. But I intend to look into this some more.</p>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/" class="btn btn-neutral float-right" title="Debian Nspawn Container On Arch For Testing Apache Configurations">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../mastodon_on_arch/" class="btn btn-neutral float-right" title="Mastodon on Arch">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../serve_and_share_apps_from_your_phone_with_fdroid/" class="btn btn-neutral" title="Serve And Share Apps From Your Phone With Fdroid"><span class="icon icon-circle-arrow-left"></span> Previous</a>
@ -322,7 +327,7 @@ to talk to each other. But I intend to look into this some more.</p>
<span><a href="../serve_and_share_apps_from_your_phone_with_fdroid/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/" style="color: #fcfcfc">Next &raquo;</a></span>
<span style="margin-left: 15px"><a href="../mastodon_on_arch/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>

View File

@ -60,6 +60,11 @@
<li class="toctree-l1">
<a class="" href="mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -64,6 +64,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -98,6 +98,11 @@
<li class="toctree-l1">
<a class="" href="../mastodon_on_arch/">Mastodon on Arch</a>
</li>
<li class="toctree-l1">
<a class="" href="../debian_nspawn_container_on_arch_for_testing_apache_configurations/">Debian Nspawn Container On Arch For Testing Apache Configurations</a>
</li>

View File

@ -4,7 +4,7 @@
<url>
<loc>/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -12,7 +12,7 @@
<url>
<loc>/serve_and_share_apps_from_your_phone_with_fdroid/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -20,7 +20,15 @@
<url>
<loc>/nspawn/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/mastodon_on_arch/</loc>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -28,7 +36,7 @@
<url>
<loc>/debian_nspawn_container_on_arch_for_testing_apache_configurations/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -36,7 +44,7 @@
<url>
<loc>/dynamic_cacheing_nginx_reverse_proxy_for_pacman/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -44,7 +52,7 @@
<url>
<loc>/arch_redis_nspawn/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -52,7 +60,7 @@
<url>
<loc>/arch_postgresql_nspawn/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>
@ -60,7 +68,7 @@
<url>
<loc>/self_signed_certs/</loc>
<lastmod>2017-07-09</lastmod>
<lastmod>2017-07-13</lastmod>
<changefreq>daily</changefreq>
</url>