From 7e674fee88030bf30914177bbead8c89c39cdb63 Mon Sep 17 00:00:00 2001 From: Ivan Davydov Date: Wed, 28 May 2025 11:01:27 +0300 Subject: Add comment system, update the "Pubnix - ..." blogpost. --- .body_end.template | 0 .config | 2 +- .footer.template | 5 +++++ .md | 6 ------ .title.template | 2 +- pubnix----prosody--pam-.md | 13 ++++++------- sitemap.xml | 34 +++++++++++++++++----------------- 7 files changed, 30 insertions(+), 32 deletions(-) create mode 100644 .body_end.template delete mode 100644 .md diff --git a/.body_end.template b/.body_end.template new file mode 100644 index 0000000..e69de29 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_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 @@ + +
+ +
+

(c) Ivan Davydov 2025. Делайте с этим документом всё, что хотите!


Веб-сайт самохостера Lotigara сгенерирован при помощи Bashblog. Исходные коды этой версии Bashblog можно найти здесь.
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 @@

главная|main page

состояние|status

-

блог|blog

+

журнал|journal

файлы|files

программы|software

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. Установка Выполните эти команды:
+# Установить 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
 
@@ -72,9 +73,7 @@ http_file_share_expire_after = 60 * 60 * 24 * 31 * 1000 --измеряется В данном случае, лимит размера файла - это 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 @@ https://www.lotigara.ru/blog/all_tags.html -2025/05/17 +2025/05/28 https://www.lotigara.ru/blog/all_posts.html -2025/05/17 +2025/05/28 https://www.lotigara.ru/blog/index.html -2025/05/17 +2025/05/28 https://www.lotigara.ru/blog/tag_prosody.html -2025/05/17 +2025/05/28 https://www.lotigara.ru/blog/tag_pubnix.html -2025/05/17 +2025/05/28 https://www.lotigara.ru/blog/tag_xmpp.html -2025/05/17 +2025/05/28 -https://www.lotigara.ru/blog/tag_класс.html -2025/05/17 +https://www.lotigara.ru/blog/tag_7.html +2025/05/28 -https://www.lotigara.ru/blog/tag_7.html -2025/05/17 +https://www.lotigara.ru/blog/tag_класс.html +2025/05/28 https://www.lotigara.ru/blog/tag_разработка.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_изменённые.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_прошивки.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_keeneticos.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_wifi.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_openwrt.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/tag_wifi-roaming.html -2025/05/17 +2025/05/20 https://www.lotigara.ru/blog/pubnix----prosody--pam-.html -- cgit v1.2.3