This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###aptly | |
| aptly mirror create -architectures=amd64 -keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg test https://mirror.yandex.ru/ubuntu noble main universe [nano] | |
| gpg --no-default-keyring --keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg --export | gpg --no-default-keyring --keyring trustedkeys.gpg --import | |
| aptly mirror update test | |
| desktop-file-utils | |
| aptly mirror show test | |
| aptly mirror show -with-packages test | |
| aptly package search '*' | |
| sudo rm /etc/alternatives/java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###docker common | |
| #ubuntu 22 | |
| apt-get reinstall docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | |
| #ubuntu 24 | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| sudo apt update && sudo apt install docker-ce | |
| sudo groupadd docker | |
| sudo usermod -aG docker adminlocal |