Страница 1 из 1

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

Добавлено: 28 сен 2023, 23:21
ya
https://get.debian.org/images/archive/

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

live-config

после чего система автологинится под пользователем live-config

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

Добавлено: 29 сен 2023, 00:51
ya
По умолчанию ISO-образ, созданный из системы Debian Live, имеет 1 пользователя. Имя пользователя/пароль - user/live. Вы должны войти в систему под именем user/live, а затем выполнить команду sudo passwd root для создания пароля root.

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

Добавлено: 29 сен 2023, 01:24
ya

/etc/apt/sources.list

Добавлено: 29 сен 2023, 04:24
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

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

Добавлено: 29 сен 2023, 04:41
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

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

Добавлено: 04 мар 2024, 03:16
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

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

Добавлено: 12 мар 2024, 19:24
ya
Alpine Linux самый легковесный линукс

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

https://www.alpinelinux.org

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

root

setup-alpine

apk add пакет

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

Добавлено: 31 мар 2024, 17:26
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

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

Добавлено: 01 апр 2024, 16:37
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


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

Добавлено: 13 дек 2024, 11:20
ya