главная|main page

состояние|status

журнал|journal

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Davydov <lotigara@lotigara.ru>2025-05-28 11:01:27 +0300
committerIvan Davydov <lotigara@lotigara.ru>2025-05-28 11:01:27 +0300
commit7e674fee88030bf30914177bbead8c89c39cdb63 (patch)
treeff8364763bada4e83b957cfb783f03cb2fbd0b95
parentcee82df558fd011bd64252c482f1c160c19ffc92 (diff)
Add comment system, update the "Pubnix - ..." blogpost.
-rw-r--r--.body_end.template0
-rw-r--r--.config2
-rw-r--r--.footer.template5
-rw-r--r--.md6
-rw-r--r--.title.template2
-rw-r--r--pubnix----prosody--pam-.md13
-rw-r--r--sitemap.xml34
7 files changed, 30 insertions, 32 deletions
diff --git a/.body_end.template b/.body_end.template
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.body_end.template
diff --git a/.config b/.config
index 3a9bcdd..280152a 100644
--- a/.config
+++ b/.config
@@ -83,7 +83,7 @@ footer_file=".footer.template"
# and before the actual blog content
body_begin_file=".body_begin.template"
# extra content to add just before we close </body>
-body_end_file=""
+body_end_file=".body_end.template"
# extra content to ONLY on the index page AFTER `body_begin_file` contents
# and before the actual content
body_begin_file_index=""
diff --git a/.footer.template b/.footer.template
index ca22778..aa18b46 100644
--- a/.footer.template
+++ b/.footer.template
@@ -1,3 +1,8 @@
+<script data-isso-css-url="https://www.lotigara.ru/css/isso.css" data-isso="//isso.lotigara.ru/" src="//isso.lotigara.ru/js/embed.min.js"></script>
+<section id="isso-thread">
+ <noscript>Javascript needs to be activated to view comments.</noscript>
+</section>
+
<div class="section_header section_header_last">
<p>(c) Ivan Davydov 2025. Делайте с этим документом всё, что хотите!</p><hr/>
<a href="https://www.lotigara.ru/blog">Веб-сайт самохостера Lotigara</a> сгенерирован при помощи <a href="https://github.com/jakimfett/bashblog">Bashblog</a>. Исходные коды этой версии Bashblog можно найти <a href="https://www.lotigara.ru/files/bashblog">здесь</a>.</div>
diff --git a/.md b/.md
deleted file mode 100644
index d4fd8eb..0000000
--- a/.md
+++ /dev/null
@@ -1,6 +0,0 @@
-Title on this line
-
-The rest of the text file is a **Markdown** blog post. The process will continue
-as soon as you exit your editor.
-
-Метки: keep-this-tag-format, tags-are-optional, beware-with-underscores-in-markdown, example
diff --git a/.title.template b/.title.template
index 5921699..ef21fee 100644
--- a/.title.template
+++ b/.title.template
@@ -4,7 +4,7 @@
<div class="floating_element">
<h4 style="display:inline"><a style="color:white" href="/">главная|main page</a></h4>
<h4 style="display:inline"><a style="color:white" href="/status.php">состояние|status</a></h4>
- <p style="display:inline">блог|blog</p>
+ <p style="display:inline">журнал|journal</p>
<h4 style="display:inline"><a style="color:white" href="/files">файлы|files</a></h4>
<h4 style="display:inline"><a style="color:white" href="https://git.lotigara.ru">программы|software</a></h4>
<label id="switch-label" for="theme-switch"></label>
diff --git a/pubnix----prosody--pam-.md b/pubnix----prosody--pam-.md
index b322dd8..8c6c695 100644
--- a/pubnix----prosody--pam-.md
+++ b/pubnix----prosody--pam-.md
@@ -21,19 +21,20 @@ Pubnix - Установка Prosody с PAM-авторизацией
# 1. Установка
Выполните эти команды:
<pre>
+# Установить Prosody
wget https://prosody.im/files/prosody.sources -O/etc/apt/sources.list.d/prosody.sources
apt update
apt install prosody lua5.4 liblua5.4-0 liblua5.4-dev luarocks certbot
-
+# Добавить привилегии демону Prosody
usermod -aG shadow prosody
usermod -aG ssl-cert prosody
-
+# Установить библиотеку для взаимодействия с POSIX-функциями
luarocks install luaposix
-
+# Собрать библиотеку дл/ PAM-аутентификации
git clone https://github.com/devurandom/lua-pam && cd lua-pam
make LUA_VERSION=5.4
cp pam.so /usr/lib/
-
+# Установить модуль для PAM-аутентификации
LUA_INCDIR=5.4 prosodyctl install --server=https://modules.prosody.im/rocks/ mod_auth_pam
</pre>
@@ -72,9 +73,7 @@ http_file_share_expire_after = 60 * 60 * 24 * 31 * 1000 --измеряется
</pre>
В данном случае, лимит размера файла - это 512 МиБ (0,5 ГиБ), а удаляться файлы будут через ~1000 лет.
Если требуется изменить какое-либо из этих свойств, смотрите комментарии (в Lua они начинаются с двух дефисов) и пробуйте изменять значения.
-
---
-
-В завершении статьи хочется обратить ваше внимание на то, что данная инструкция предоставляется БЕЗ каких-либо гарантий. Если при выполнении указаний из данной инструкции случилось что-то непредвиденное, вы можете обратиться ко мне, но не стоит ожидать какого-либо результата.
+В завершении статьи хочется обратить ваше внимание на то, что данная инструкция предоставляется БЕЗ каких-либо гарантий. Если при выполнении указаний из данной инструкции случилось что-то непредвиденное, вы можете обратиться ко мне, но не стоит ожидать какого-либо результата.
Метки: prosody, pubnix, xmpp, 7 класс
diff --git a/sitemap.xml b/sitemap.xml
index 84b512a..ecdbd6c 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2,63 +2,63 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.lotigara.ru/blog/all_tags.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/all_posts.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/index.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_prosody.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_pubnix.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_xmpp.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
-<loc>https://www.lotigara.ru/blog/tag_класс.html</loc>
-<lastmod>2025/05/17</lastmod>
+<loc>https://www.lotigara.ru/blog/tag_7.html</loc>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
-<loc>https://www.lotigara.ru/blog/tag_7.html</loc>
-<lastmod>2025/05/17</lastmod>
+<loc>https://www.lotigara.ru/blog/tag_класс.html</loc>
+<lastmod>2025/05/28</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_разработка.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_изменённые.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_прошивки.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_keeneticos.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_wifi.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_openwrt.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/tag_wifi-roaming.html</loc>
-<lastmod>2025/05/17</lastmod>
+<lastmod>2025/05/20</lastmod>
</url>
<url>
<loc>https://www.lotigara.ru/blog/pubnix----prosody--pam-.html</loc>