How to install GitLab Runner on Ubuntu Server?

411 views Asked by At

I have downloaded the package for the system:

curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb"

And then installed the package on my server(system), with this command:

dpkg -i gitlab-runner_<arch>.deb

When i run this command on my server i get this error:

bash: arch: No such file or directory

How can i solve this? (For what reason i get this?)

1

There are 1 answers

0
Chaman Bharti On

Replace ${arch} with any of the supported architectures, e.g. amd64, arm, arm64

e.g. amd64 for x86 arch base systems.

Your request should look like below.

curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb"

https://docs.gitlab.com/runner/install/linux-manually.html