Обновить memories
This commit is contained in:
parent
a7f43527a4
commit
349b3448fb
6
memories
6
memories
@ -8,16 +8,12 @@ install "minimized server"
|
||||
*** on proxmox ***
|
||||
# apt-get install -y qemu-guest-agent && systemctl start qemu-guest-agent && systemctl enable qemu-guest-agent
|
||||
|
||||
### ? 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/
|
||||
# sed -i -e 's/datasource_list:/# datasource_list:/g' /etc/cloud/cloud.cfg.d/90_dpkg.cfg
|
||||
# echo "datasource_list: [ None ]" >> /etc/cloud/cloud.cfg.d/90_dpkg.cfg
|
||||
# dpkg-reconfigure cloud-init
|
||||
# apt purge -y cloud-init && rm -rf /etc/cloud/ && rm -rf /var/lib/cloud/
|
||||
|
||||
# shutdown -r now
|
||||
|
||||
# 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
|
||||
@ -28,6 +24,8 @@ install "minimized server"
|
||||
|
||||
### ? 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
|
||||
|
||||
# timedatectl set-timezone Europe/Moscow
|
||||
# apt -y install ntp
|
||||
# aptitude install console-cyrillic
|
||||
# dpkg-reconfigure locales
|
||||
select [392] ru_RU.UTF-8 UTF-8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user