45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
Download act_runner binary
|
|
mv act_runner-0.3.0-linux-amd64 act_runner
|
|
chmod +x ./act_runner
|
|
./act_runner --version
|
|
./act_runner register
|
|
|
|
Git server: https.//git.italiadatacener.com
|
|
token: SiP2B1Wth0FwORkLrIX7WYhho78IVaW3ZppO9vrx
|
|
label: runner1:host
|
|
|
|
start:
|
|
nohup ./act_runner daemon &
|
|
|
|
|
|
Install node
|
|
sudo apt update
|
|
sudo apt upgrade -y
|
|
sudo apt install -y curl ca-certificates gnupg
|
|
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
|
|
sudo apt install -y nodejs
|
|
|
|
verifica
|
|
node -v
|
|
npm -v
|
|
|
|
Installa docker:
|
|
sudo apt update
|
|
sudo apt install ca-certificates curl
|
|
sudo install -m 0755 -d /etc/apt/keyrings
|
|
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
|
|
|
# Add the repository to Apt sources:
|
|
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
|
Types: deb
|
|
URIs: https://download.docker.com/linux/ubuntu
|
|
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
|
|
Components: stable
|
|
Signed-By: /etc/apt/keyrings/docker.asc
|
|
EOF
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|