User Tools

Site Tools


управление_по_в_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
управление_по_в_linux [2019/07/09 14:13]
val [Настройка репозитория]
управление_по_в_linux [2022/05/26 11:01]
val [Какие пакеты можно/нужно обновить]
Line 57: Line 57:
  
 === Debian 10 === === Debian 10 ===
 +
 +  * [[https://​www.debian.org/​mirror/​list|Мировые серверы-зеркала Debian]]
  
 <​code>​ <​code>​
 # cat /​etc/​apt/​sources.list # cat /​etc/​apt/​sources.list
 </​code><​code>​ </​code><​code>​
-deb http://​deb.debian.org/​debian/​ buster main contrib non-free +#deb http://​deb.debian.org/​debian/​ buster main contrib non-free 
-deb http://​deb.debian.org/​debian buster-updates main contrib non-free+#deb http://​deb.debian.org/​debian buster-updates main contrib non-free 
 + 
 +deb http://​ftp.ru.debian.org/​debian/​ buster main contrib non-free 
 +deb http://​ftp.ru.debian.org/​debian/​ buster-updates main contrib non-free 
 deb http://​security.debian.org/​ buster/​updates main contrib non-free deb http://​security.debian.org/​ buster/​updates main contrib non-free
  
Line 69: Line 75:
 #deb-src http://​security.debian.org/​ buster/​updates main contrib non-free #deb-src http://​security.debian.org/​ buster/​updates main contrib non-free
 </​code>​ </​code>​
-=== Debian 9 === 
  
-<​code>​ 
-# cat /​etc/​apt/​sources.list 
-</​code><​code>​ 
-deb http://​deb.debian.org/​debian/​ stretch main contrib non-free 
-deb http://​deb.debian.org/​debian stretch-updates main contrib non-free 
-deb http://​security.debian.org/​ stretch/​updates main contrib non-free 
- 
-#deb-src http://​deb.debian.org/​debian stretch main contrib non-free 
-#deb-src http://​deb.debian.org/​debian stretch-updates main contrib non-free 
-#deb-src http://​security.debian.org/​ stretch/​updates main contrib non-free 
-</​code>​ 
- 
-=== Ubuntu 16 === 
- 
-<​code>​ 
-# cat /​etc/​apt/​sources.list 
-</​code><​code>​ 
-deb http://​ru.archive.ubuntu.com/​ubuntu/​ xenial main restricted universe multiverse 
-deb http://​ru.archive.ubuntu.com/​ubuntu/​ xenial-updates main restricted universe multiverse 
-deb http://​security.ubuntu.com/​ubuntu xenial-security main restricted universe multiverse 
- 
-#deb-src http://​ru.archive.ubuntu.com/​ubuntu/​ xenial main restricted universe multiverse 
-#deb-src http://​ru.archive.ubuntu.com/​ubuntu/​ xenial-updates main restricted universe multiverse 
-#deb-src http://​security.ubuntu.com/​ubuntu xenial-security main restricted universe multiverse 
-</​code>​ 
  
 ==== Подключение сторонних репозиториев ==== ==== Подключение сторонних репозиториев ====
Line 124: Line 104:
 <​code>​ <​code>​
 # apt install clamav-daemon # apt install clamav-daemon
 +
 +# DEBIAN_FRONTEND=noninteractive apt -y install postfix
 </​code>​ </​code>​
  
Line 136: Line 118:
 <​code>​ <​code>​
 # apt purge snort # apt purge snort
 +</​code>​
 +
 +==== Отключение автоматических обновлений ====
 +
 +<​code>​
 +# apt purge unattended-upgrades
 </​code>​ </​code>​
  
Line 169: Line 157:
 </​code>​ </​code>​
  
 +==== Загрузка пакетов и зависимостей для offline установки ====
 +
 +  * [[https://​stackoverflow.com/​questions/​16919114/​run-sudo-apt-get-install-without-internet-connection|Run sudo apt-get install without internet connection]]
 +
 +<​code>​
 +# apt clean
 +
 +# apt install -d zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent
 +
 +# find /​var/​cache/​apt/​archives/​
 +
 +# cd /​var/​cache/​apt/​archives/​
 +</​code>​
 +
 +  * Сервис NFS [[Сервис NFS#​Установка,​ настройка и запуск сервиса]]
 +  * Сервис NFS [[Сервис NFS#​Установка nfs клиента]]
 +  * Сервис NFS [[Сервис NFS#​Установка ПО]]
 ==== Исправление состояния базы данных APT ==== ==== Исправление состояния базы данных APT ====
  
Line 176: Line 181:
 # apt -f install # apt -f install
  
 +# reboot
 # dpkg --configure -a # dpkg --configure -a
  
Line 197: Line 203:
 <​code>​ <​code>​
 # export http_proxy="​http://​gate.isp.un:​3128/"​ # export http_proxy="​http://​gate.isp.un:​3128/"​
 +
 +  в будущем,​ может понадобиться
 +# export https_proxy="​http://​gate.isp.un:​3128/"​
 </​code>​ </​code>​
  
Line 216: Line 225:
 # wget -O openfire-4.3.2-1.x86_64.rpm https://​www.igniterealtime.org/​downloadServlet?​filename=openfire/​openfire-4.3.2-1.x86_64.rpm # wget -O openfire-4.3.2-1.x86_64.rpm https://​www.igniterealtime.org/​downloadServlet?​filename=openfire/​openfire-4.3.2-1.x86_64.rpm
  
-rpm -i rpm -i openfire-4.3.2-1.x86_64.rpm+# rpm -i openfire-4.3.2-1.x86_64.rpm
 </​code>​ </​code>​
  
Line 364: Line 373:
 </​code>​ </​code>​
  
 +===== Docker =====
 +
 +  * [[Технология Docker]]
 +  * [[Сервис TACACS+]]
 +  * [[Сервис Grafana]]
 ===== Работа с исходными текстами ===== ===== Работа с исходными текстами =====
  
Line 372: Line 386:
 === Debian/​Ubuntu === === Debian/​Ubuntu ===
 <​code>​ <​code>​
-# apt install build-essential autoconf automake ​checkinstall+# apt install build-essential autoconf automake
 </​code>​ </​code>​
  
Line 384: Line 398:
 ==== Примеры сборки программ из исходных текстов ==== ==== Примеры сборки программ из исходных текстов ====
  
-  * [[Сервис SNORTSAM#​Сборка Snort с поддержкой Snortsam в Ubuntu]] 
   * [[Сервис Asterisk#​Сборка asterisk из исходных текстов]]   * [[Сервис Asterisk#​Сборка asterisk из исходных текстов]]
  
Line 450: Line 463:
  
 === Использование сервера Ubuntu === === Использование сервера Ubuntu ===
 +
 +  * [[https://​help.ubuntu.ru/​wiki/​apt-mirror|Создание зеркала репозиториев с помощью apt-mirror]]
 +
 <​code>​ <​code>​
 root@rep:~# apt-get install apt-mirror root@rep:~# apt-get install apt-mirror
управление_по_в_linux.txt · Last modified: 2024/02/19 10:49 by val