Репозиторий debian

Ответить
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Репозиторий debian

Сообщение ya »

https://get.debian.org/images/archive/

добавив эту опцию в конец строки (опция live, экран grub, нажатие клавиши табуляции):

live-config

после чего система автологинится под пользователем live-config
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: Репозиторий debian

Сообщение ya »

По умолчанию ISO-образ, созданный из системы Debian Live, имеет 1 пользователя. Имя пользователя/пароль - user/live. Вы должны войти в систему под именем user/live, а затем выполнить команду sudo passwd root для создания пароля root.
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: Репозиторий debian

Сообщение ya »

ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

/etc/apt/sources.list

Сообщение ya »

/etc/apt/sources.list

Код: Выделить всё

deb http://www.debian-multimedia.org stretch main non-free
#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
deb-src http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: Репозиторий debian

Сообщение ya »

Код: Выделить всё

#deb http://www.debian-multimedia.org stretch main non-free

# Актуально для debian 9
#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
deb-src http://mirror.duocast.net/debian-archive/ stretch main non-free contrib

#mirror.nl.leaseweb.net/debian-archive/debian/
deb http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib
deb-src http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib

#mirror.nl.leaseweb.net/debian-archive/debian/
deb http://mirror.nl.leaseweb.net/debian-archive/debian-security stretch/updates stretch main non-free contrib
deb-src http://mirror.nl.leaseweb.net/debian-archive/debian-security stretch/updates stretch main non-free contrib
Последний раз редактировалось ya 04 мар 2024, 20:53, всего редактировалось 2 раза.
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: Репозиторий debian

Сообщение ya »

Архив всех версий Debian
https://cdimage.debian.org/images/archive/

Имена всех версий:
https://en.wikipedia.org/wiki/Debian_version_history

Информация об установленной оси:

Код: Выделить всё

lsb_release -a
Официальные облачные образы Debian
https://cloud.debian.org/images/cloud/

Установка через интернет
http://deb.debian.org/debian/dists/bullseye/main/installer-amd64

Прокси для apt

sudo vim /etc/apt/apt.conf.d/auto-apt-proxy.conf

Код: Выделить всё

//Acquire::http::Proxy-Auto-Detect "/usr/bin/auto-apt-proxy";
Acquire::http::proxy "http://10.10.1.20:8080/";
Acquire::https::proxy "https://10.10.1.20:8080/";
Acquire::ftp::proxy "ftp://10.10.1.20:8080/";
/etc/apt/sources
http://ftp.debian.org
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Alpine Linux самый легковесный линукс

Сообщение ya »

Alpine Linux самый легковесный линукс

https://www.youtube.com/watch?v=Tkp1qLfxeiQ

https://www.alpinelinux.org

https://www.alpinelinux.org/downloads/

root

setup-alpine

apk add пакет
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Репозиторий debian 11

Сообщение ya »

Репозиторий debian 11

Код: Выделить всё

echo 'deb http://mirror.nl.leaseweb.net/debian bullseye main contrib non-free' >> /etc/apt/sources.list
/etc/apt/sources.list

Код: Выделить всё

# deb cdrom:[Official Debian GNU/Linux Live 11.8.0 lxqt 2023-10-07T21:10]/ bullseye main

#deb cdrom:[Official Debian GNU/Linux Live 11.8.0 lxqt 2023-10-07T21:10]/ bullseye main

deb http://mirror.nl.leaseweb.net/debian/ bullseye main contrib
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye main contrib

deb http://security.debian.org/debian-security bullseye-security main contrib
deb-src http://security.debian.org/debian-security bullseye-security main contrib

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.nl.leaseweb.net/debian/ bullseye-updates main contrib
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye-updates main contrib

# 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.

# Drivers
deb http://ftp.nl.debian.org/debian bullseye main non-free


Базовые пакеты
apt install wget curl mc ssh sudo aptitude net-tools rsync original-awk htop sysstat proftpd

Покажет нагрузку на процессор в процентах:
mpstat 1 1 | grep -A 5 "%idle" | tail -n 1 | awk -F " " '{print 100 - $12"%"}'a

Добавляет пользователя в группу sudo
usermod -aG sudo имя_пользователя

Посмотреть в каких группах состоит пользователь
groups имя_пользователя

Добавить пользователю привилегий
echo '%имя_пользователя ALL=(ALL:ALL) ALL' >> /etc/sudoers

Проверить статус демона proftpd
systemctl status proftpd

Качалка wget
wget --no-check-certificate --progress=dot:mega -b -c -i wget.url.txt -P $HOME/Downloads -o $HOME/wget.log
Список того что нужно качнуть в файле wget.url.txt
https://get.debian.org/images/archive/11.9.0/amd64/iso-cd/debian-11.9.0-amd64-netinst.iso
Последний раз редактировалось ya 10 май 2024, 08:46, всего редактировалось 22 раза.
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Репозиторий debian 9

Сообщение ya »

Репозиторий debian 9

/etc/apt/sources.list

Код: Выделить всё

#

# deb cdrom:[Debian GNU/Linux 9.13.0 _Stretch_ - Official i386 NETINST 20200718-12:29]/ stretch main

# deb cdrom:[Debian GNU/Linux 9.13.0 _Stretch_ - Official i386 NETINST 20200718-12:29]/ stretch main

# deb http://deb.debian.org/debian/ stretch main non-free contrib
# deb-src http://deb.debian.org/debian/ stretch main non-free contrib

# deb http://security.debian.org/debian-security stretch/updates main non-free contrib
# deb-src http://security.debian.org/debian-security stretch/updates main non-free contrib

# stretch-updates, previously known as 'volatile'
# deb http://deb.debian.org/debian/ stretch-updates main non-free contrib
# deb-src http://deb.debian.org/debian/ stretch-updates main non-free contrib

#deb http://www.debian-multimedia.org stretch main non-free


#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
deb-src http://mirror.duocast.net/debian-archive/ stretch main non-free contrib

#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch-backports stretch main non-free contrib
#deb-src http://mirror.duocast.net/debian-archive/ stretch-backports  stretch main non-free contrib


#mirror.nl.leaseweb.net/debian-archive/debian/
deb http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib
deb-src http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib

#mirror.nl.leaseweb.net/debian-archive/debian/
#deb http://mirror.nl.leaseweb.net/debian-archive/debian-security/dists/ stretch/updates stretch main non-free contrib
#deb-src http://mirror.nl.leaseweb.net/debian-archive/debian-security/dists/ stretch/updates stretch main non-free contrib
#deb http://deb.debian.org/debian/ stretch contrib non-free

ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: Репозиторий debian

Сообщение ya »

Ответить