Skip to content

how to install Gitlab on Amazon Linux 2023 (x86) ?

0

Hi,

I automate gitlab installation on the ubuntu image but i need to swicth to Amazon Linux 2023 (x86).

I looked on the net, it is not clear if Gitlab may be installed on Amazon Linux 2023 (x86). I looked on re:post site : there is a lot's of questions about runners but not about Gitlab installation.

The first point is packages repositories, on ubuntu the reposotiries configuration has to be updated with the command "curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | bash"

Is there an similar command for Amazon Linux 2023 (x86) ?

asked 3 years ago2.4K views

2 Answers
0

Hello.

After installing by following the steps in the document below, I was able to confirm the login.
https://about.gitlab.com/install/#almalinux

sudo su -
dnf install postfix -y
systemctl enable postfix
systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="http://EC2 IP" dnf install -y gitlab-ee
cat /etc/gitlab/initial_root_password

gitlab

EXPERT

answered 3 years ago

EXPERT

reviewed 3 years ago

0

similar to gitlab-ee

refer: https://packages.gitlab.com/gitlab/gitlab-ce/install#bash-rpm

work fine on my site

dnf install -y policycoreutils-python-utils openssh-server openssh-clients perl
# postfix if you want
dnf install postfix
systemctl enable postfix
systemctl start postfix
# 

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

# search for the package, may check the version
dnf search gitlab
dnf info gitlab-ce.x86_64
#

EXTERNAL_URL="https://lalala.example.com" dnf install -y gitlab-ce

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.