Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия Следующая версия Следующая версия справа и слева | ||
управление_по_в_linux [2018/08/29 09:54] val [emerge] |
управление_по_в_linux [2020/10/15 08:57] val [Настройка на использование http_proxy] |
||
---|---|---|---|
Строка 56: | Строка 56: | ||
==== Настройка репозитория ==== | ==== Настройка репозитория ==== | ||
- | === Debian === | + | === 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/ stretch main contrib non-free | + | #deb http://deb.debian.org/debian/ buster main contrib non-free |
- | deb http://deb.debian.org/debian stretch-updates main contrib non-free | + | #deb http://deb.debian.org/debian buster-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 http://ftp.ru.debian.org/debian/ buster main contrib non-free |
- | #deb-src http://deb.debian.org/debian stretch-updates main contrib non-free | + | deb http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free |
- | #deb-src http://security.debian.org/ stretch/updates main contrib non-free | + | |
- | </code> | + | |
- | === Ubuntu === | + | deb http://security.debian.org/ buster/updates main contrib non-free |
- | <code> | + | #deb-src http://deb.debian.org/debian buster main contrib non-free |
- | # cat /etc/apt/sources.list | + | #deb-src http://deb.debian.org/debian buster-updates main contrib non-free |
- | </code><code> | + | #deb-src http://security.debian.org/ buster/updates main contrib non-free |
- | deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse | + | </code> |
- | 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> | ||
==== Подключение сторонних репозиториев ==== | ==== Подключение сторонних репозиториев ==== | ||
Строка 111: | Строка 104: | ||
<code> | <code> | ||
# apt install clamav-daemon | # apt install clamav-daemon | ||
+ | |||
+ | # DEBIAN_FRONTEND=noninteractive apt -y install postfix | ||
</code> | </code> | ||
Строка 163: | Строка 158: | ||
# apt -f install | # apt -f install | ||
+ | # reboot | ||
# dpkg --configure -a | # dpkg --configure -a | ||
Строка 184: | Строка 180: | ||
<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> | ||
Строка 201: | Строка 199: | ||
=== Установка пакета === | === Установка пакета === | ||
<code> | <code> | ||
- | # rpm -i LB/LBivoxcd-1.9-003-Linux_i386-20100119.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 openfire-4.3.2-1.x86_64.rpm | ||
</code> | </code> | ||
=== Содержимое установленного пакета === | === Содержимое установленного пакета === | ||
<code> | <code> | ||
- | # rpm -q -l luci-0.12.2-12.el5.centos.1 | + | # rpm -q -l openfire-4.3.2-1.x86_64 |
</code> | </code> | ||
Строка 216: | Строка 216: | ||
=== Содержимое архива пакета === | === Содержимое архива пакета === | ||
<code> | <code> | ||
- | # rpm -q -l -p LB/LBivoxcd-1.9-003-Linux_i386-20100119.rpm | + | # rpm -q -l -p openfire-4.3.2-1.x86_64.rpm |
</code> | </code> | ||
==== Использование менеджера пакетов YUM ==== | ==== Использование менеджера пакетов YUM ==== | ||
Строка 297: | Строка 297: | ||
=== Установка пакета === | === Установка пакета === | ||
<code> | <code> | ||
+ | # emerge lynx | ||
+ | |||
# emerge app-admin/sudo | # emerge app-admin/sudo | ||
</code> | </code> | ||
Строка 330: | Строка 332: | ||
<code> | <code> | ||
+ | # snap refresh | ||
+ | |||
$ snap search firefox | $ snap search firefox | ||
Строка 347: | Строка 351: | ||
===== Работа с исходными текстами ===== | ===== Работа с исходными текстами ===== | ||
- | [[http://help.ubuntu.ru/wiki/programs_installation]] | + | * [[http://help.ubuntu.ru/wiki/programs_installation|Компиляция и установка программ из исходников]] |
==== Установка пакетов для работы с исходными текстами ==== | ==== Установка пакетов для работы с исходными текстами ==== |