Инструменты пользователя

Инструменты сайта

  • Показать страницу
  • История страницы
  • Ссылки сюда
  • Оставить на чай
  • Экспорт в PDF
  • Наверх

  • software:nas:configure_rsync_mirror

    Различия

    Показаны различия между двумя версиями страницы.

    Ссылка на это сравнение

    Предыдущая версия справа и слеваПредыдущая версия
    Следующая версия
    Предыдущая версия
    software:nas:configure_rsync_mirror [2024/07/30 07:30] – [Настраиваем Роутер] vladpolskiysoftware:nas:configure_rsync_mirror [2024/08/02 22:58] (текущий) – [Подключение репозитория на клиетских ПК] vladpolskiy
    Строка 335: Строка 335:
     </code> </code>
     {{:software:nas:rsync_mirror_dsm_57.png?|}} {{:software:nas:rsync_mirror_dsm_57.png?|}}
     +
     +<color #22b14c>Удалим подключенные репозитории на машине с Ubuntu 24.04, заменим их на наше зеркало и сохраним файл:</color>
     +<code>
     +deb http://192.168.1.20/ubuntu/ noble main restricted
     +deb http://192.168.1.20/ubuntu/ noble-updates main restricted
     +deb http://192.168.1.20/ubuntu/ noble universe
     +deb http://192.168.1.20/ubuntu/ noble-updates universe
     +</code>
     +
     +<details>
     +<summary><color #22b14c>См. запись полного файла sources.list для Ubuntu 24.04 LTS noble Jellyfish </color></summary>
     +<code>
     +#deb cdrom:[Ubuntu 24.04 LTS _noble Jellyfish_ - Release amd64 (20220419)]/ noble main restricted
     +
     +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     +# newer versions of the distribution.
     +deb http://192.168.1.20/ubuntu/ noble main restricted
     +# deb-src http://192.168.1.20/ubuntu/ noble main restricted
     +
     +## Major bug fix updates produced after the final release of the
     +## distribution.
     +deb http://192.168.1.20/ubuntu/ noble-updates main restricted
     +# deb-src http://192.168.1.20/ubuntu/ noble-updates main restricted
     +
     +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
     +## team. Also, please note that software in universe WILL NOT receive any
     +## review or updates from the Ubuntu security team.
     +deb http://192.168.1.20/ubuntu/ noble universe
     +# deb-src http://192.168.1.20/ubuntu/ noble universe
     +deb http://192.168.1.20/ubuntu/ noble-updates universe
     +# deb-src http://192.168.1.20/ubuntu/ noble-updates universe
     +
     +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
     +## team, and may not be under a free licence. Please satisfy yourself as to
     +## your rights to use the software. Also, please note that software in
     +## multiverse WILL NOT receive any review or updates from the Ubuntu
     +## security team.
     +deb http://192.168.1.20/ubuntu/ noble multiverse
     +deb http://192.168.1.20/ubuntu/ noble multiverse
     +# deb-src http://192.168.1.20/ubuntu/ noble multiverse
     +deb http://192.168.1.20/ubuntu/ noble-updates multiverse
     +# deb-src http://192.168.1.20/ubuntu/ noble-updates multiverse
     +
     +## N.B. software from this repository may not have been tested as
     +## extensively as that contained in the main release, although it includes
     +## newer versions of some applications which may provide useful features.
     +## Also, please note that software in backports WILL NOT receive any review
     +## or updates from the Ubuntu security team.
     +deb http://192.168.1.20/ubuntu/ noble-backports main restricted universe multiverse
     +# deb-src http://192.168.1.20/ubuntu/ noble-backports main restricted universe multiverse
     +
     +deb http://192.168.1.20/ubuntu noble-security main restricted
     +# deb-src http://192.168.1.20/ubuntu noble-security main restricted
     +deb http://192.168.1.20/ubuntu noble-security universe
     +# deb-src http://192.168.1.20/ubuntu noble-security universe
     +deb http://192.168.1.20/ubuntu noble-security multiverse
     +# deb-src http://192.168.1.20/ubuntu noble-security multiverse
     +
     +# This system was installed using small removable media
     +# (e.g. netinst, live or single CD). The matching "deb cdrom"
     +# entries were disabled at the end of the installation process.
     +# For information about how to configure apt package sources,
     +# see the sources.list(5) manual.
     +</code>
     +</details>
     +
     +{{:software:nas:rsync_mirror_dsm_84.png?|}}
     +<color #22b14c>Получим обновленные списки пакетов:</color>
     +<code>
     +sudo apt-get update
     +</code>
     +<color #22b14c>обновить список пакетов.</color>
     +sudo apt update
     +{{:software:nas:rsync_mirror_dsm_80.png?|}}
     +<color #22b14c>обновим пакеты</color>
     +<code>
     +sudo apt-get dist-upgrade
     +</code>
     +
     +{{:software:nas:rsync_mirror_dsm_83.png?|}}
     ====Создание скриптов автозапуска Rsync==== ====Создание скриптов автозапуска Rsync====
     <color #22b14c>В File Station домашней папки home создадим папку scripts</color> <color #22b14c>В File Station домашней папки home создадим папку scripts</color>
    Строка 364: Строка 444:
     <color #22b14c>На вкладке Настройки задачи Указываем отправлять сведения о запуски и свой адрес электронной почты, для получения отчетов и в окне Выполнить каманду вставляем следующую строку</color>  <color #22b14c>На вкладке Настройки задачи Указываем отправлять сведения о запуски и свой адрес электронной почты, для получения отчетов и в окне Выполнить каманду вставляем следующую строку</color> 
     <code> <code>
    -#!/bin/bash -x 
     bash /volume1/homes/VladPolskiy/scripts/gnu.sh bash /volume1/homes/VladPolskiy/scripts/gnu.sh
     </code> </code>
    software/nas/configure_rsync_mirror.1722313850.txt.gz · Последнее изменение: 2024/07/30 07:30 — vladpolskiy