Обновить memories
This commit is contained in:
parent
27bc360fe1
commit
1bdf6f7e97
13
memories
13
memories
@ -8,7 +8,6 @@ install "minimized server"
|
||||
|
||||
# apt-get -y update && apt-get -y upgrade
|
||||
|
||||
### apt install -y netplan.io isc-dhcp-client mc net-tools iputils-ping inetutils-traceroute htop ca-certificates apt-utils aptitude locales git
|
||||
# apt install -y mc net-tools iputils-ping inetutils-traceroute htop ca-certificates apt-utils aptitude locales git iproute2
|
||||
|
||||
### https://dondub.com/2021/07/udalenie-cloud-init-iz-ubuntu-server-21-04/
|
||||
@ -19,18 +18,22 @@ install "minimized server"
|
||||
|
||||
# shutdown -r now
|
||||
|
||||
# apt purge -y unattended-upgrades && rm -rf /var/log/unattended-upgrades && apt autoremove -y
|
||||
# apt-get -y remove unattended-upgrades && systemctl stop apt-daily.timer && systemctl disable apt-daily.timer && systemctl stop apt-daily-upgrade.timer && systemctl disable apt-daily-upgrade.timer && systemctl disable apt-daily.service && systemctl daemon-reload
|
||||
# sed -i -e 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
# sed -i -e 's/APT::Periodic::Unattended-Upgrade "1";/APT::Periodic::Unattended-Upgrade "0";/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
|
||||
# apt remove snapd -y && apt autoremove -y
|
||||
|
||||
# systemctl disable snapd.service && systemctl disable snapd.socket && systemctl disable snapd.seeded.service && systemctl mask snapd.service && rm -rf /var/cache/snapd/ && apt autoremove --purge snapd -y && rm -rf ~/snap
|
||||
# snap remove --purge snapd && apt-get -y remove snapd && apt-get -y autoremove
|
||||
|
||||
# apt install -y netplan.io isc-dhcp-client isc-dhcp-common mc net-tools iputils-ping inetutils-traceroute htop ca-certificates apt-utils aptitude locales git squashfs-tools tzdata fdisk gdisk
|
||||
|
||||
### ? systemctl disable snapd.service && systemctl disable snapd.socket && systemctl disable snapd.seeded.service && systemctl mask snapd.service && rm -rf /var/cache/snapd/ && apt autoremove --purge snapd -y && rm -rf ~/snap
|
||||
|
||||
# aptitude install console-cyrillic
|
||||
# dpkg-reconfigure locales
|
||||
select [392] ru_RU.UTF-8 UTF-8
|
||||
|
||||
# shutdown -r now
|
||||
|
||||
# mv /etc/netplan/50-cloud-init.yaml /etc/netplan/00-installer-config.yaml
|
||||
# This is the network config written by 'subiquity'
|
||||
network:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user