base ubutnu installation

This commit is contained in:
djerom
2024-07-05 09:40:30 +05:00
parent 6eaca78a7a
commit a2f268c09a
10 changed files with 93 additions and 1 deletions

16
ubuntu/install-node.sh Normal file
View File

@@ -0,0 +1,16 @@
cd /srv
# install software
apt install nano wget curl docker.io docker-compose -y
# install keys
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/install-keys.sh | bash
# copy base services (traefik, agent)
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/traefik.yml
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/agent.yml
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/mysql.yml
# install updater
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/update.sh
echo "*/3 * * * * /srv/update.sh" >> /etc/crontabs/root